Security Error

M

Michael C

I just noticed something else odd. When I run my apps locally, they run
fine; but the same app copied to and run from a mapped network drive gives
me security errors. Anyone know what's going on with that?

Thanks,
Michael C
 
N

Nicholas Paldino [.NET/C# MVP]

Michael,

This is correct. Anything that does not reside natively on your machine
is not considered to be fully trusted, and is given a restricted permission
set to run under. In order to get around this, you will have to go to the
..NET administration tool, and change the security set that is asigned to the
machines that you are getting the assembly from, or the assembly itself.

Hope this helps.
 
M

Michael C

Thanks again Nicholas. That clears that right up. I noticed it starts
running, but dies when I try to access the Win32 API. Argh. Can you point
me to an article on changing the assembly to fix this? I may end up needing
to run this from network shares.

Thanks,
Michael C.
 

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

Top