.net app from shared folder

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?
 
N

Norman Yuan

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.
 
E

Eric Moreau

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)
 

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