Company logo
SearchMapHome
 
Creating Virtual Directories for a Web Application in IIS on the Target Machine
To save objects such as graphics and journaling objects, you must create virtual directories for the web application that you created. You must create the following virtual directories present under the path …\GMSProjects\GMSMainProject\_tmpGMSWebSite in IIS on the target machine under the …\Systems\[System Name] folder of the web application.
devices
documents
graphics
libraries
profiles
EM virtual directory, if the EM is installed for example Scripting
shared
Additionally you must also create the Help virtual directory under the web application in IIS. You must also copy the Help folder from the …\MainProject (from source) to the web application folder on the target machine.
The following procedure explains how to create all the virtual directories for the newly created web application:
You are on the target machine and you have successfully imported the web application in IIS.
1.
Open the Internet Information Services (IIS) Manager.
2.
Select the web application that you have imported and right-click, and select Add Virtual Directory.
The Add Virtual Directory dialog box displays.
3.
In the dialog box, provide the following information:
a. Alias as Systems for creating the Systems virtual directory.
b. Physical Path as the local path of the Distribution folder of the web application on the target machine for example …\[Web application name]\Distribution.
4.
Click Connect as.
The Connect As window opens.
5.
In the Connect As window, select Specific User and click Set.
The Set Credentials window opens.
6.
In the Set Credentials window, do the following:
a. Enter a user name (domain user credential with which you have shared the project, virtual directories and the user should be a member of the IIS_IUSRS group).
b. Enter a password and confirm it.
7.
Click OK.
8.
Click OK in the Connect As dialog box.
9.
In the Add Virtual Directory dialog box, click Test Settings to open the Test Connection dialog box.
10.
Ensure that both results—Authentication and Authorization—are successful and the message The specified user credentials are valid displays in the Details section.
11.
Click Close to close the Test Connection dialog box.
12.
Click OK to close the Add Virtual Directory dialog box.
The devices virtual directory is added under the Web Application node in IIS.
13.
Repeat Steps 3 through 12 to add the virtual directory [System Name], for example System1 under the Systems virtual directory.
14.
Next, Repeat the Steps 3 through 12 to create the virtual directories: documents, graphics, libraries, profiles, and shared under the [System Name] virtual directory. Provide the Alias as the exact name of the virtual directory and Physical Path as the shared path of the source machine where the virtual directories are present, for example,
\\[Machine Name]\[Project Name]\devices.
The documents, graphics, libraries, profiles, and shared virtual directories are created under the Systems\[System Name] node in IIS on the target machine.
NOTE:
For working with projects in distribution, that is If the project to which the web application is linked is in distribution with other projects then you must add the system names of the projects in distribution under the Systems virtual directory (on target machine). Furthermore, under each of the system names you need to add the same virtual directories present under the path …\GMSProjects\GMSMainProject\_tmpGMSWebSite. The path for these should be the shared path of these individual project directories on the source machine with the shared user.
Further information
Create a ClickOnce Virtual Directory