deploying small app w/ sql server connection
I made a small data entry program (1 form) that has a few SQL connections to our SQL Server. I hard-coded in the login and pass to the server and on the server side gave the login read / write access to the database. I then built the project and moved the .exe file to a network folder.
The problem now is when the users launch the app they get the following error:
"request for the permission of the type System.Data.SqlClient.SqlClientPermission, System.Data, Version-1.0.5000.0, Culture=neutral, Publickey Token=.......... failed."
HELP!?
Re: deploying small app w/ sql server connection
You probably only copied the EXE file.... you also need to copy over the dlls in there, and any client using the app must have the .NET Framework installed.
Tg
Re: deploying small app w/ sql server connection
If you plan to run the App from the NetWork, then must add some trusty to the App or some NameSpace Objet will raise some security error.
You may do so, with the "Configuration .NET Wizards" form the control panel
I think there other way to do so, but i don't know more about it ... :rolleyes:
Hope this will help ...... :afrog:
Re: deploying small app w/ sql server connection
I dont see any dll files in the project folder.
:confused:
Re: deploying small app w/ sql server connection
Quote:
Originally Posted by Zakary
You may do so, with the "Configuration .NET Wizards" form the control panel
I think there other way to do so, but i don't know more about it ... :rolleyes:
Hope this will help ...... :afrog:
i found info about the "Configuration .NET Wizards" on microsofts site but i dont want to run around to building to each computer that needs access to this app....
Re: deploying small app w/ sql server connection
I've search the forum and fall on these tread, it might help ...
http://www.vbforums.com/showthread.php?t=338047&highlight=Deployment
http://www.vbforums.com/showthread.p...cation+network
http://www.vbforums.com/showthread.p...cation+network
Many person have this "problem" and not much solution about this :sick:
Probably on Google you'll find some solution :rolleyes: