Create an application pool to improve system performance

The following steps outline how to configure the ArcGIS Web services and REST applications to run in a separate IIS application pool with the identity of the ArcGIS Web services user and how to disable per request impersonation.

These instructions assume that the ArcGIS Web services account is called ArcGISWebServices (the default specified in the ArcGIS Server post installation utility). Modify this account name as appropriate for the system being used.

  1. Create a new IIS Application Pool and set its identity to the ArcGIS Web services account:
    1. Open Internet Information Services (IIS) Manager, and navigate through the tree structure to the Application Pools folder.
    2. Right-click the Application Pools folder, and click New > Application Pool.
    3. Give the application pool an ID, such as, ArcGIS Server Services Application Pool, and select to continue with the default settings.
    4. Right-click the new application pool, and click Properties.
    5. Click the Identity tab, and select Configurable.
    6. Enter the name and password of the ArcGIS Web services account that was specified during the ArcGIS Server post installation process. Click OK.
    7. Re-enter the password to confirm, and click OK.
  2. Add the ArcGIS Web services account to the IIS_WPG local operating system group:
    1. From Windows Control Panel > Administrative Tools, open the Computer Management window.
    2. Expand the System Tools group, and expand the Local Users and Groups within it. Click Groups.
    3. In the right side of the window, right-click the IIS_WPG group, and select Properties.
    4. In the IIS_WPG Properties dialog box, click Add.
    5. In the Select Users dialog box, change From this location, if necessary, to the location that contains the user account for the ArcGIS Web services (ArcGISWebServices). If the account is on the local computer, the location should be the local machine name.
    6. Type the account name into the Enter the objects names to select box, click Check Names, or click Advanced, Find Now, select the user, and click OK to return to the Select Users dialog box.
    7. Click OK on the two dialog boxes to save the settings. Close the Computer Management window.
  3. Grant the ArcGIS Web services account permissions to the IIS metabase:
  4. Grant Modify permissions to the ArcGIS Web services account for the C:\Windows\Temp directory:
    1. Open Windows Explorer, and navigate to the C:\Windows\Temp directory.
    2. Right-click C:\Windows\Temp, and select Properties.
    3. In the Properties dialog box, click the Security tab.
    4. In the Security dialog box, click Add. This opens the Select Users dialog box.
    5. In the Select Users dialog box, change the From this location, if necessary, to the location of the ArcGIS Web services account, and type the ArcGIS Web services account name in the lower box (or browse to it with the Advanced button). Click OK to return to the Properties dialog box.
    6. In the Properties dialog box, make sure the ArcGIS Web services user is highlighted, and, in the Allow column, check the Modify box.
    7. Click OK to save and close the Properties dialog box. Windows Explorer may also be closed.
  5. Set the ArcGIS Web services application to not use impersonation:
    1. Use Visual Studio or a text editor to open the web.config file in the C:\Inetpub\wwwroot\ArcGIS\Servicesfolder (the ArcGIS Services folder may have been installed at a different location).
    2. In the web.config file, change the value for the Impersonate key to false:
      <appSettings>
      <add key="ServiceInfoRefreshTimeInSeconds" value="10" />
      <add key="GCInterval" value="10" />
      <add key="Impersonate" value="false" />
      </appSettings>

      If the Impersonate key does not exist, add it by inserting the <add> element, and set the key attribute to "Impersonate" and the value attribute to "false" as shown above.

    3. Save the web.config file.
  6. Set the ArcGIS REST application to not use impersonation:
    1. Use Visual Studio or a text editor to open the rest.config file in the C:\Inetput\wwwroot\ArcGIS\REST folder (the ArcGIS REST folder may have been installed at a different location).
    2. In the rest.config file, change the value for the Impersonate key to false:
      <?xml version="1.0" encoding="utf-8"?>
      <Config xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      ...
      ...
      <Impersonate>false</Impersonate>
      </Config>

      If the Impersonate key does not exist, add it by inserting the <Impersonate> element, and set the value to "false" as shown above.

    3. Save the rest.config file.
  7. Add the ArcGIS Web services and REST applications to the newly created application pool:
    1. Open the Internet Information Services (IIS) Manager from Control Panel > Administrative Tools.
    2. Expand the local computer node, the Web sites node, the Default Web site node, and the ArcGIS node.
    3. In the ArcGIS node, right-click Services, and select Properties. The Properties dialog box opens for Services.
    4. In the Virtual Directory tab, select the Application pool drop-down list, and select the application pool created in step 1 above.
    5. Click OK to save and close the Properties dialog box.
    6. Repeat steps c through e for the REST application.
    7. Close IIS Manager.
  8. Restart the ArcGIS Server Object Manager (SOM) service:
    1. Open the Services panel from Control Panel > Administrative Tools.
    2. Right-click the ArcGIS Server Object Manager service and select Restart.
    3. Close the Services window.

Return to the instructions for Deploying the ArcGIS Data Appliance