IIS 7 Access to the path ‘c:\windows\system32\inetsrv\’ is denied


If you encountered an error related to:

Access to the path ‘c:\windows\system32\inetsrv\<filename>’ is denied.

It means that the credential wherein your site or webservice is running doesn’t have permission to that folder.

Steps below describes how to fix it:

1. Browse to the directory -> %windir%\System32

2. Right Click on the inetsrv folder and select Properties

3. Click the Security Tab -> Click Advance Button

4. Select the Owner Tab and click Edit Button, Select Administrators group and Click Apply.

5. Run the command prompt as Administrator and type:

 cacls %windir%\system32\inetsrv /G <Insert Identity here where App pool is running>:F

Ex: cacls %windir%\system32\inetsrv /G RPAULO\WCFServiceUser:F

 

Advertisements

6 thoughts on “IIS 7 Access to the path ‘c:\windows\system32\inetsrv\’ is denied

  1. milind

    hi
    I am getting error “Access to the path ‘c:\windows\system32\inetsrv\6523077984YNNDPF’ is denied.” so please let me know what is “RPAULO” and “WCFServiceUser”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s