.net app from shared folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have created a .net app that runs properly from a local dir (C:\AppFolder)
but crashes when run from a network drive (R:\AppFolder).

Can someone tell me what the scoop is with that?
 
You need to give some sort of trust to code from outside of the running
computer. In .NET all code from outside running computer is considered
unsafe be default. Go to "Control panel"->"Administrative Tools"->"MS .NET
1.0<1.1> Configuration" to set proper trust level to that network share will
solve this easily.
 
You need to adjust the security.

Open the Control Panel
Open Administrative tools
Open Microsoft .Net Framework 1.1 Wizards
Click Adjust .Net Security
click Next
Select Local Intranet
Change the level of trust to Full
click next
click Finish

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
 
Back
Top