Application fails to load from network drive with PolicyException

  • Thread starter Thread starter Maksim Chepel
  • Start date Start date
M

Maksim Chepel

In my app I use some COM objects and as long as this app is on local C drive
it loads fine. As soon as I copy the app to a mapped network drive it fails
to load with "System.Security.Policy.PolicyException: Required permissions
cannot be acquired."
Why would that happen?
 
O! Ok! I see! Is it possible to adjust these automaticaly like during
instalation?


You can either run your code from local computer zone or use Microsoft .Net
Framework Wizards or Configuration (from Administrative Tools) to raise
trust for your assembly.

-Valery

http://www.harper.no/valery
 
Back
Top