Run Execute File on Network

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Environment: VS 2003 Enterprise edition
My local machine: Running Windows XP
Server: 10 base T - T3
Permissions given to exe file: Admin Rights

If I copy to the network or, change the project property
path, of a local application execute file (release
version) compiled on my local machine and run that exe
file on the network I get security exceptions and illegal
errors.

How do I get my local Windows application to execute and
run on my network?


Steve
 
In "Administrative Tools" there is a .NET Framework configuration tool. You
can use that to grant permissions to your assembly's strong name, or the
network location. You can also use caspol.exe to do this from a command
line.

-Michael
MVP
 
Your Response appreciated

I went to the Control Panel- Administrators Tools (AT) and
using the .Net Framework 1.1 Wizard - Trust Assembly, then
identifying the execute file on the network resulted in
the application working fine on my machine. However it
doesn't execute on other machines.

How do I get the application to execute on other machines?

You mentioned granting permission to a network location.
Does this mean I can somehow grant users to run the
application (exe) in that particular network directory
(i.e. one step) or, do I have to go to each individual
machine and run the wizard? Any steps in performing this
procedure appreciated?

It appears all network users have the 1.1. Framework
installed in the AT.

Steve
 
Each machine will need its security policy modified. You can do it manually
with the wizard, or use caspol.exe to automate it. But still, you will need
this to be done on each machine.

-mike
MVP
 
Back
Top