Question: How can I install my new SSW Software (Powered by .Net) in my networked office? Can I just install it on one machine, and all the other machines run the application from there?
When you attempt to start an application which resides on another machine, you will get a SecurityException error:
System.Security.SecurityException' occured in mscorlib.dll
Additional information: Request for the permission of type System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
This is functionality built into the .Net framework for security reasons.
You have two options when installing the software on your network:
- Install the software on each machine. Each machine must meet the requirements of the software being installed.
- Install on a terminal server machine, and all the other machines can terminal service in to use the software. (This may depend on the software you are installing).
Unfortunately, you will not be able to install the software on a single machine if you don't have terminal services available on it. This is by design from Microsoft.
Technical note: you may choose to increase the assembly trust on the client side so that no security issue would be raised, but this is not recommended.