Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXE not running on Network Drive

Status
Not open for further replies.

pasu

Programmer
Aug 9, 2003
17
US
Hi:

I create an C# window application which read data from a SQL server. It runs on my pc, but when I deploy it to a network drive and run the application, it is giving me the
An exception "System.Security.SecurityException" has occurred....
error message. Anyone has any idea?

Patrick
 
Maybe the user that the program is running in context under doesn't have the rights to perform the task?

----------------------------------------

TWljcm8kb2Z0J3MgIzEgRmFuIQ==
 
A Network drive is not a trusted source. .Net is big on permissions and trusted sources. I'm not sure if there's an easy way around this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top