How To: Manually copy and configure an instance of ArcGIS Server Manager for a non-default web site
Instructions provided describe how to manually configure an instance of ArcGIS Server Manager. Either the ArcGIS Server installation or the AddInstance utility can be used to create the initial instance to be modified. The AddInstance utility is included with the ArcGIS Server product in <ArcGIS Install>\DotNet.
Warning: The following instructions involve modifying a registry value. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary. ESRI cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.
Install or create, using the AddInstance utility, an ArcGIS Server Manager instance in the root folder of the default IIS web site.
Copy the folder of the ArcGIS instance to the root physical folder of another IIS web site.
• For example, copy the 'ArcGIS' folder in c:\inetpub\wwwroot to c:\website1. The c:\website1 folder is the root for a non-default IIS Web site.
• If the IIS web site is on another machine, the ArcGIS Server Web Application Developer Framework Runtime feature must be installed.
In IIS Manager, delete each of the virtual directories under the instance folder. Once this is done, delete the instance folder from IIS Manager.
In IIS Manager, create a new web site pointing to the new non-default IIS web site. The port must be changed for this web site.
• For example, point to the c:\website1 folder (created in Step 2) as the root for a non-default IIS web site.
• For example, copy the ESRI folder from C:\arcgis\DotNet\VirtualRootDir\aspnet_client to C:\website1\aspnet_client.
In IIS Manager, configure the Keyhole Markup Language (KML), Manager, Services, and Web Map Service (WMS) sub-directories contained in the new instance as applications.
a) In IIS Manager, under the ArcGIS instance folder, open the Manager directory. b) Select Properties. c) Under Application Settings, click the Create button. d) Confirm that Execute Permissions are set to Scripts Only. e) Click Apply and OK.
Repeat this process for all directories (except SDK)
Add the .AGSX and .* extension mappings to the Services and Rest folder or virtual directory.
Use the following steps to navigate to the correct dialog box:
a) Open IIS Manager. b) Open the default web site. c) Open the ArcGIS instance directory. d) Right-click the Services directory and select Properties. e) Click the Virtual Directory tab. f) Click the Configuration button. g) Click the Mappings tab.
• On Windows 2003, .AGSX is added to the top in the Application extensions section, and .* is added on the bottom in the Wildcard application maps section. • On other operating systems, they are both added in the Application Mappings section.
Note: Use the screenshots below as a guide.
Windows 2003 Server:
When manually adding the mappings, confirm the following:
b) Set the Verbs option to 'Limit to' and enter the following in the following values:
c) Make sure the 'Verify that file exists' option is unchecked.
The dialog box should be configured as follows:
Click OK and Apply to all of the dialog boxes that are open in IIS Manager.
Note: If Manager is to be used to create web mapping applications on a web site that is not the default or operates on a port other than 80, each web mapping application must be configured as an application in IIS Manager. Use these steps to configure each application:
a) In IIS Manager, under the web site on which Manager was used to create a web application, right-click on the new web application directory, and select Properties. b) Under Application Settings, click the Create button. c) Confirm that Execute Permissions are set to Scripts Only. d) Click Apply and OK.
Use one of the following options to restart IIS:
• Open a command prompt and enter 'iisreset'.
• Open the Services explorer dialog box (Start > Control Panel > Administrative Tools > Services). Stop the 'IIS Admin' and 'World Wide Web Publishing' services. Start both services.