ERROR

Application Error: Access to the path 'C:\Inetpub\wwwroot\arcgis\WebAdaptor.config' is denied

Last Published: September 9, 2020

Error Message

After entering values in the configuration page for the IIS Web Adaptor and clicking the Configure button, the following error is returned:

"Application Error: Access to the path ‘C:\Inetpub\wwwroot\arcgis\WebAdaptor.config’ is denied."

Cause

When the IIS Web Adaptor is installed, it creates a new application pool in IIS called ArcGISWebAdaptorAppPool. The setup is failing to give the identity of this application pool the necessary permissions to the WebAdaptor.config file that is referenced in the error message.

Solution or Workaround

The steps for solving this problem are slightly different depending on the operating system.

Instructions for Windows 7, Windows Server 2008 and Windows Server 2008 R2

  1. Navigate to C:\inetpub\wwwroot\arcgis or the location referenced in the error message.
  2. Right-click the WebAdaptor.config file and click Properties.
  3. Click the Security tab.
  4. Check whether the setup program has given the ArcGISWebAdaptorAppPool account permissions to write to the Webadaptor.config file
[O-Image] Web Adaptor Security Tab
  1. If ArcGISWebAdaptorAppPool is not listed as a user on the Security tab, click the Edit button.
  2. Click Add.
  3. Click the Locations button.
  4. Select the item that represents the name of the computer and click OK.
  5. In the box at the bottom, enter 'IIS APPPOOL\ArcGISWebAdaptorAppPool' without the single quotes and click the Check Names button. Click OK.
  6. Give 'Full Control' permissions to ArcGISWebAdaptorAppPool.
  7. Click Apply and OK to all dialogs.
  8. Open the Web Adaptor configuration page again and try registering the GIS Server machine.

Instructions for Windows XP and Windows Server 2003

  1. Navigate to C:\inetpub\wwwroot\arcgis or the location referenced in the error message.
  2. Right-click the WebAdaptor.config file and click Properties.
  3. Click the Security tab.
  4. Check whether the setup program has given the Network Service account permissions to write to the WebAdaptor.config file.
[O-Image] WebAdaptor config permissions in IIS 6
  1. If Network Service is not listed as a user on the Security tab, click the Edit button.
  2. Click Add.
  3. Click the Locations button.
  4. Select the item that represents the name of the computer and click OK.
  5. In the box at the bottom, enter Network Service and click the Check Names button. Click OK.
  6. Give Full Control permissions to Network Service.
  7. Click Apply and OK to all dialogs.
  8. Open the Web Adaptor configuration page again and try registering the GIS Server machine.


 

    Article ID:000011606

    Software:
    • ArcGIS Server

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic