security

  • Thread starter Thread starter MikeJ
  • Start date Start date
M

MikeJ

Request for Permission of type
"System.Sercurity.Permission, mscorlib, version=0.0.0.0, =neutral,
publickeytoken=

i get the above error when i start a c# .exe from a network drive....
what causes this
thanks
MJ
 
"code access security"

The security context is different depending on where the code comes
from (local computer / intranet / internet / etc)

If you want to run code from a network drive, you must (either of):
a: sign the code for instance as a ClickOnce deployment, and run the
".application" instead of the ".exe"
b: use caspol.exe (or the mmc add-in) to trust the app, perhaps via
the UNC, perhaps via the SNK, etc

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top