.net form run on server

erik rooijmans

New member
Joined
Mar 13, 2008
Messages
1
Programming Experience
Beginner
Hi all,

I have created a simple windows form.
This forms has an webbrowser object and 1 button.
This webbrowser object calls a html page located on the server.

I have created this form with Vb.net express 2005.
Whenever I run the compiled executable locally on my PC there are no problems.
However when I copy the executable on a network share and run it from there it gives me an error like : system.invalidoperationexception.

I don't have a clue what is going on.

Anybody with some hints?

Thanks,

Erik
 
.Net Framework does not allow applications to run from untrusted locations like file shares. You have to use the .Net Framework Configuration tool (Control Panel > Administrative) to trust either the location or the assembly or a strong name. An alternative to the configuration dialog is to use the Caspol.exe commandline tool.
 
Back
Top