my form cannot from from network

  • Thread starter Thread starter Lynn
  • Start date Start date
L

Lynn

Hi,
I have created a form from vb.net. It runs well if i copy it to
computer's local drive. But when i run it from network drive it gives
this error:

Application has generated an exception that could not be handled.
Process id=0xc3c (3132), Thread id=0xe84(3716)

how can i know what is went wrong?
thanks
 
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
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/
 
is there any alternative other than changing the system settings?
i am looking for something which i can do in my codes
 
you must setup the permission for local intranet for it to work but you
could always set it up in your code by calling caspol with the relavent
commandline parameters.
 

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

Back
Top