O! Ok! I see! Is it possible to adjust these automaticaly like during
instalation?
"Valery Pryamikov" <Va****@nospam.harper.no> wrote in message
news:eP*************@tk2msftngp13.phx.gbl...
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
"Maksim Chepel" <ma****@datacap.com> wrote in message
news:eT**************@tk2msftngp13.phx.gbl...
So what to do?
"Valery Pryamikov" <Va****@nospam.harper.no> wrote in message
news:uz**************@TK2MSFTNGP12.phx.gbl...
Because when you run it from the mapped drive, your code is assigned to
local intranet code group which is not allowed to call unmanaged code.
-Valery.
http://www.harper.no/valery
"Maksim Chepel" <ma****@datacap.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... 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?