Home All Groups Group Topic Archive Search About

my form cannot from from network

Author
16 Mar 2006 10:38 AM
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

Author
16 Mar 2006 12:23 PM
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
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

Show quoteHide quote
"Lynn" <moley_c***@yahoo.com.au> wrote in message
news:1142505533.656649.189670@j33g2000cwa.googlegroups.com...
> 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
>
Author
16 Mar 2006 12:47 PM
Lynn
is there any alternative other than changing the system settings?
i am looking for something which i can do in my codes
Author
19 Mar 2006 7:09 AM
JonJon
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.