run .net application from remote machine

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

Guest

hello,
i need to run an application from a remote machine in the same intranet. But
everytime i do something like

"\\server\app\aplication.exe" i get a clr error.

How can i do this? i can't install the application on every machine...

this was not a problem with vb6.

thanks!!!

:-)
 
You have to run the .NET Framework configuration tool on each machine
(it is under administrative tools when the framework is installed) and grant
the appropriate permissions for your app based on a characteristic of that
binary (hash, strong name, location).
 
DarthSidious said:
hello,
i need to run an application from a remote machine in the same intranet.
But
everytime i do something like

"\\server\app\aplication.exe" i get a clr error.

Your application requires a trust level higher then the default granted to a
network located executable. Use caspol to elevate the trust level for the
intranet, e.g.
%windir%\Microsoft.Net\Framework\v2.0.50727\caspol -cg 1.2 FullTrust

On Vista you must run as admin. If IE7 is installed then you may need to add
server to local intranet in Tools / Options.
 
A slightly different option; in 2.0, look into ClickOnce deployment.
This allows you to package it into a ".application", which can include
trust demands and suitable evidence via a certificate. This solves
your trust issues, while also providing effortless deployment and
upgrade options, even onto managed (locked down) desktops.

Marc
 

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