Forums/Support/Technical FAQ

Running .NET Programs from a Server

Robert Inch
posted this on July 24, 2011 07:03

Please note that we highly recommend that the software be installed on each workstation rather than run from a server. But as long as the required Microsoft?.Net Framework 2.0 (or required system files for Map Worksheet Factory) is installed on each workstation, the programs will run from a server (though with reported issues involving saved settings). However, the best solution is to use Group Policy on Windows Server to automatically install the software to each computer in your network or to a particular group of users. See Deploying Software with Group Policy for more information.

Step 1: Setting up Shared Folders

You must have both File and Printer Sharing for Microsoft Networks installed, and have the program files you wish to run from the server already on the server before continuing. You can either install the program to the server and share the program directory under Program Files or you can extract all of the program files to a directory of your choice on the server. Click here for instructions on extracting the application files.

After the software is installed to the server, open up My Computer.

Browse to the folder where you installed the software. By default this folder is located in

C:\Program Files\Schoolhouse Technologies\

Right click on the program folder and from the context menu click on Sharing and Security...

Check the Share this folder on the network checkbox, and give the folder an appropriate Share name.

Click the OK button.

Folder Properties - Sharing and Security

Step 2: Adjusting the .NET Security Level

Please note that on each workstation you must have the Microsoft .NET Framework 2.0?installed before being able to continue.

From each individual workstation that is going to run the software, open the Microsoft .NET Framework 2.0 Configuration dialog from under Administrative Tools.

The .NET Configuration dialog should appear.

Within the dialog, in the left pane, click on the Runtime Security Policy. Now in the right pane, scroll down and click on Adjust Zone Security.

.NET Configuration dialog

The Security Adjustment Wizard should now be visible.

When you are asked to "Choose the type of changes you would like to make," select the first option: Make changes to this computer.

Click the Next button.

Click on the Local Intranet icon, and then move the slider below it all the way to the top (Full Trust).

Security Adjustment Wizard

Click the Next button.

Complete the wizard by clicking the Finish button and closing the .Net Configuration?dialog.

Step 3: Confirmation

You should now be able to run the program from a server on a workstation. To verify that everything is correct, from a workstation open the Run dialog and type in

\\ServerName\SharedFolderName\ProgramExecutable.exe

noting that ServerName is the name of the server, SharedFolderName is the name that you gave to the shared folder on the server, and ProgramExecutable is the executable file in the program directory.

For example: \\SanJose\Vocab3\VocabularyWF3.exe

Click OK to run the program.

Once you know the program runs you are free to create a shortcut to the program file so users of the workstation can easily access it

 
Topic is closed for comments