This problem occurs for one of the following reasons:
- You're using IIS on a computer that is running Windows. Additionally,
you configure the website to use Universal Naming Convention (UNC)
pass-through authentication to access a remote UNC share.
- The IIS_IUSRS group doesn't have the appropriate permissions for the
ApplicationHost.config file, the Web.config file, or the virtual or
application directories of IIS.
Resolution
Use one of the following methods:
- Don't configure the website to use UNC pass-through authentication to
access the remote UNC share. Instead, specify a user account that has
the appropriate permissions to access the remote UNC share.
- Grant the Read permission to the IIS_IUSRS group for the
ApplicationHost.config or Web.config file. To do it, follow these
steps:
1.In Windows Explorer, locate the folder that contains the ApplicationHost.config file that is associated with the website, or locate the virtual directories or the application directories that contain the Web.config file that is associated with the website.
Note
The Web.config file may not be in the virtual directories or the
application directories in IIS. Even in this situation, you have to
follow these steps.
2.Right-click the folder that contains the ApplicationHost.config file, or right-click the virtual or application directories that may contain the Web.config file.
3.Select Properties.
4.Select the Security tab, and then Select Edit.
5.Select Add.
6.In the Enter the object names to select box, type <computername>
\IIS_IUSRS, select Check Names, and then select OK.
Note
<Computername>
is a placeholder for the computer name.
7.Select the Read check box, and then select OK.
8.In the Properties dialog box for the folder, select OK.