Permissions on Share Drives

P

Patrick

Hi

I've an application, that access the file system. This works fine on my
local machine. When I copy it to the share, it does not work anymore, and
throws my a fileIOPermissionException.

Question

a) Is there a way, when I start my application, to request that permissions?
if yes, how?
b) Is there a way to trust to all applications on our intranet?

Thanks
Patrick
 
D

DancnDude

Hi Patrick,
Here's the way that you trust an assembly. I've gotten it to work this way,
but I'm sorry that I don't know your answers on how to trust entire
intranets. Perhaps someone else can answer that for you.

Go to Start-->Control Panel-->Administrative Tools-->Microsoft .NET
Framework Wizards
*NOTE there is a Microsoft .NET Framework Wizards for v1.0 and v1.1 of the
framework. They are completely separate.

Click on the "Trust an Assembly" Wizard and run through the steps to give
your computer access to the executable on the network.

Hope this helps!
Mike
 

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