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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I run just the EXE file from the network drive?

Status
Not open for further replies.

santosh1

Programmer
Apr 26, 2002
201
US
For my app, I created the .NET Exe file which runs fine in local machine.
But while trying to run from the network drive, it throws an error.
Can I run just the EXE file from the network drive?
What is the process if I want to run it from the network drive?
Thanks. S.

Error msg:


The application attempted to perfrom an operation not allowed by the
security policy. The operation required the SecurityException. To grant
this application the required permission please contact your system
administrator, or use the Microsoft.NET security policy administration
too.

Request failed.

************Exception Text************
Sytem.Security.SecurityException: Request failed.
at dbLogin.Connect
at System.Windows.Forms.Control.OnClick(EventArgs e)
....
....

 
I saw this one on MSDN when I was starting out with .NET. However, before I got anything working, our project requirements changed, so I never actually got it to work. Search MSDN for it... something to do with .NET security and an ASPNET account... and I remember it sent me to

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\mscorcfg

to change something.

HTH
Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top