Open topic with navigation
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.
- Create a new IIS Application Pool and set its identity to the ArcGIS Web services account:
- Open Internet Information Services (IIS) Manager, and navigate through the tree structure to the
Application Pools folder.
- Right-click the Application Pools folder, and click New > Application Pool.
- Give the application pool an ID, such as, ArcGIS Server Services Application Pool, and select to continue with the default settings.
- Right-click the new application pool, and click Properties.
- Click the Identity tab, and select Configurable.
- Enter the name and password of the ArcGIS Web services account that was specified during the ArcGIS Server post installation process. Click OK.
- Re-enter the password to confirm, and click OK.
- Add the ArcGIS Web services account to the IIS_WPG local operating system group:
- From Windows Control Panel > Administrative Tools, open the Computer Management window.
- Expand the System Tools group, and expand the Local Users and Groups within it. Click Groups.
- In the right side of the window, right-click the IIS_WPG group, and select Properties.
- In the IIS_WPG Properties dialog box, click Add.
- 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.
- 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.
- Click OK on the two dialog boxes to save the settings. Close the Computer Management window.
- Grant the ArcGIS Web services account permissions to the IIS metabase:
- Open a .NET command prompt from Start > (All) Programs > Microsoft .NET Framework SDK v2.0 > SDK Command Prompt.
- Type the following command at the prompt, substituting the ArcGIS Web services account name as appropriate:
aspnet_regiis -ga ArcGISWebServices
- To close the .NET command prompt, type "exit" (do not include the quotes), and press Enter.
- From Start > Run, type "cmd" (do not include the quotes) in the Open text box, and click OK to open a cmd window.
- Type the following commands at the prompt, substituting the ArcGIS Web services account name as appropriate:
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
aspnet_regiis -ga ArcGISWebServices
- To close the command window, type "exit" (do not include the quotes), and press Enter.
- Grant Modify permissions to the ArcGIS Web services account for the C:\Windows\Temp directory:
- Open Windows Explorer, and navigate to the C:\Windows\Temp directory.
- Right-click C:\Windows\Temp, and select Properties.
- In the Properties dialog box, click the Security tab.
- In the Security dialog box, click Add. This opens the Select Users dialog box.
- 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.
- In the Properties dialog box, make sure the ArcGIS Web services user is highlighted, and, in the Allow column,
check the Modify box.
- Click OK to save and close the Properties dialog box. Windows Explorer may also be closed.
- Set the ArcGIS Web services application to not use impersonation:
- 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).
- 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.
- Save the web.config file.
- Set the ArcGIS REST application to not use impersonation:
- 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).
- 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.
- Save the rest.config file.
- Add the ArcGIS Web services and REST applications to the newly created application pool:
- Open the Internet Information Services (IIS) Manager from Control
Panel > Administrative Tools.
- Expand the local computer node, the Web sites node, the Default Web site node, and the ArcGIS node.
- In the ArcGIS node, right-click Services, and select Properties. The Properties dialog box opens for Services.
- In the Virtual Directory tab, select the Application pool drop-down list, and select the application pool created in
step 1 above.
- Click OK to save and close the Properties dialog box.
- Repeat steps c through e for the REST application.
- Close IIS Manager.
- Restart the ArcGIS Server Object Manager (SOM) service:
- Open the Services panel from Control Panel > Administrative Tools.
- Right-click the ArcGIS Server Object Manager service and select Restart.
- Close the Services window.
Return to the instructions for Deploying the ArcGIS Data Appliance