This problem occurs for one of the following reasons:
You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a remote Universal Naming Convention (UNC) share.
The IIS_IUSRS group does not have the appropriate permissions for the ApplicationHost.config file or for the Web.config file.
To resolve this problem, use one of the following methods.
Method 1
Do not configure the Web site to use UNC Passthrough authentication to access the remote UNC share. Instead, specify a user account that has the appropriate permissions to access the remote UNC share.
Method 2
Grant the Read permission to the IIS_IUSRS group for the ApplicationHost.config file or for the Web.config file. To do this, follow these steps:
In Windows Explorer, locate the ApplicationHost.config file that is associated with the Web site, or locate the Web.config file that is associated with the Web site.
Right-click the ApplicationHost.config file, or right-click the Web.config file.
Click Properties.
Click the Security tab, and then click
Edit.
Click Add.
In the Enter the object names to select box, type
computername\IIS_IUSRS, click
Check Names, and then click OK. Note Computername is a placeholder for the computer name.
Click to select the Read check box, and then click
OK.
In the ApplicationHost.config Properties dialog box or in the
Web.config Properties dialog box, click
OK.
ramyajp
Member
11 Points
30 Posts
Error in Service while running from IIS
Jul 11, 2012 06:11 AM|LINK
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
<div id="details-left">I am trying to run my service from IIS (local machine) .. I am getting this above error..
Also its displaying
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: Error in Service while running from IIS
Jul 11, 2012 09:15 AM|LINK
please check this
http://forums.asp.net/t/1115232.aspx
http://forums.iis.net/t/1073585.aspx
http://forums.iis.net/t/1150799.aspx
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Error in Service while running from IIS
Jul 13, 2012 05:19 AM|LINK
HI
This problem occurs for one of the following reasons:
To resolve this problem, use one of the following methods.
Method 1
Do not configure the Web site to use UNC Passthrough authentication to access the remote UNC share. Instead, specify a user account that has the appropriate permissions to access the remote UNC share.
Method 2
Grant the Read permission to the IIS_IUSRS group for the ApplicationHost.config file or for the Web.config file. To do this, follow these steps:
Note Computername is a placeholder for the computer name.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
gnoix
Member
232 Points
48 Posts
Re: Error in Service while running from IIS
Jul 18, 2012 03:49 AM|LINK
Based on the error message, you should note this line :
So please make sure that your web.config file has been granted with IIS_IUSRS and NETWORK SERVICE user.
ASP.NET Hosting & Windows Hosting Expert