Knowledge Base - Technical Articles


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

Article ID: 40406
Software:  ArcGIS for Server 10.1
Platforms:  Windows XP, Server 2003, Server 2008, Windows 7

Error Message

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

"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: -show me-

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

5. If ArcGISWebAdaptorAppPool is not listed as a user on the Security tab, click the Edit button.

6. Click Add.

7. Click the Locations button.

8. Select the item that represents the name of the computer and click OK.

9. In the box at the bottom, enter 'IIS APPPOOL\ArcGISWebAdaptorAppPool' without the single quotes and click the Check Names button. Click OK.

10. Give 'Full Control' permissions to ArcGISWebAdaptorAppPool.

11. Click Apply and OK to all dialogs.

12. Open the Web Adaptor configuration page again and try registering the GIS Server machine.




• Instructions for Windows XP and Windows Server 2003: -show me-

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.

4. Click the Security tab.

5. 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

6. If Network Service is not listed as a user on the Security tab, click the Edit button.

7. Click Add.

8. Click the Locations button.

9. Select the item that represents the name of the computer and click OK.

10. In the box at the bottom, enter 'Network Service' without the single quotes and click the Check Names button. Click OK.

11. Give 'Full Control' permissions to Network Service.

12. Click Apply and OK to all dialogs.

13. Open the Web Adaptor configuration page again and try registering the GIS Server machine.



    Related Information


    Created: 6/27/2012
    Last Modified: 7/9/2012

    Article Rating: (3)
    If you would like to post a comment, please login

    Comments

    By littleyan - 03/18/2013 8:06 PM

    Great article! It helped a lot!

    Exactly what I needed, and it worked fine.

    Rating:

    By NidanSki - 08/21/2012 11:32 PM

    Great article! It helped a lot!

    This article resolved this problem for me on Windows 7 and Windows Server 2008 R2 :-).

    Rating:

    By harley - 08/17/2012 6:55 PM

    The article is incorrect or the solution didn’t work.

    If I didn't have the experience with 9.x that i have, this would have thrown for a loop. the identity issue is right, but you must create the account which will have the access.. or the group who will have the access... the 9.3 articles shoule be used to improve on this discussion. as DOD types are trying to apply IA measures against this install please update asap.

    Rating: