Using Main(Environment.GetCommandLineArgs()) from network drive
Posted on 2008-10-28
I have a program that looks for any comand line switches on the compiled exe. Everything works fine as long as I run the program from one of my local drives When I try to run the program from one of my network drives I get the error inside a Microsoft .net framework box that says "Application attempted to perform an operation not allowd by the security policy. to grant this application the required permission, contact your systm administrator, or use the Microsoft .NET Framework Configuration Tool. If you click continue, the application will ignore this error and teempt to continue. If you click quit, the applicaion will close immediately.
Request for the permission of type 'system.security.persmissions.environmentpermission, mscorlib, version=220.127.116.11, culture=neutral, publickeytoken=b77a5c561934e089'
Any help on fixing this problem would be greatly appreciated.