Permissions on Share Drives

  • Thread starter Thread starter Patrick
  • Start date Start date
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
 
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
 
Back
Top