DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

Cannot read configuration file due to insufficient permissions - HTTP Error 500.19 - Internal Server Error

By Ashok Nalam on 17 Jan 2021 | Category: ASP.NET | Tagged: iis ASP.NET web-config 
  Discuss Add Comment   |  
Add rating Rate this resource   

Issue

After setting up the web App code on my local machine today, I got an error like  “Cannot read configuration file due to insufficient permissions - HTTP Error 500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid."
 
Web App Error - Cannot read configuration file due to insufficient permissions
Fig 1: Web App Error - Cannot read configuration file due to insufficient permissions

Resolution: 

It resolved when we add read access to IIS_IUSRS group on web app folder. 
 
Also, make sure iis features are on under “Application Development feature” from “Turn Windows Features on or Off”

Set Read access to IIS_IUSRS on Web App folder
Fig 2: Set Read access to IIS_IUSRS on Web App folder

References:

  Discuss Add Comment    
Add rating Rate this resource   
About the Contributor
Member Since : 10 Dec 2012
Member Points (Level) : 9526  (Professional)
Location : INDIA
Home Page : http://dotnetmirror.com
About : I am admin of this site.
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (2)
 
1. By ZAP on 12 Aug 2023

 
2. By ZAP on 12 Aug 2023

 
cheap jordans|wholesale air max|wholesale jordans|wholesale jewelry|wholesale jerseys