Answer by Dinesh Rajan for Cannot read configuration file due to insufficient...
In my case, I was trying to host pages from a mapped drive (subst). The issue is that the subst was run under my account and the IIS user is not able to see the same drive
View ArticleAnswer by Bogdan Mates for Cannot read configuration file due to insufficient...
I had the same issue and after doing all the stuff written here as answers, it still reproduced.The second half of the issue was the fact that .NET was turned off under "Turn Windows features on or off"
View ArticleAnswer by Kurt Van den Branden for Cannot read configuration file due to...
Make the file accessible to the IIS_IUSRS group. Right click your web.config, expand properties, and under security tab, add IIS_IUSRS. Give the group read/write access. When the group is NOT...
View ArticleAnswer by zwitterion for Cannot read configuration file due to insufficient...
I had the same problem when I tried to share the site root folder with another user. Some folder lost the permission.So I followed the steps to add permission to IIS_IUSRS group as suggested by Afshin...
View ArticleAnswer by Kat for Cannot read configuration file due to insufficient permissions
I had this error message that turned out to be due to my physical folder being located on a network drive as opposed to the local drive. It seems the permissions on such drives by default can be...
View ArticleAnswer by Syed Umar Ahmed for Cannot read configuration file due to...
check if the file is not marked as read-only, despite of the IIS_IUSRS permission it will display the same message.
View ArticleAnswer by gbs for Cannot read configuration file due to insufficient permissions
Had this issue with a Virtual Application. All the permissions were set. IIS_IUSRS, AppPoolIdentity and then gave full access to Everyone. Nothing worked. Restarted apppool, site and IIS but No...
View ArticleAnswer by Carlos for Cannot read configuration file due to insufficient...
When you grant permissions to IIS_IUSRS you should check that in the IIS/Authentication section of your Web Application, the Anonymous Authentication Credentials uses Application Pool Identity and not...
View ArticleAnswer by jshoaf for Cannot read configuration file due to insufficient...
Changing the Process Model Identity to LocalSystem fixed this issue for me. You can find this setting if you right click on the application pool and chose "Advanced Settings". I'm running IIS 7.5.
View ArticleAnswer by Rafael Emshoff for Cannot read configuration file due to...
For me the error turned up during Debugging on my local machine and turned out to be related to the base web.config, which is initiated by the .NET Framework when compiling the website. My...
View ArticleAnswer by Earl for Cannot read configuration file due to insufficient...
I was receiving the "Cannot read configuration file due to insufficient permissions" as well. Turns out the ISAPI and CGI Restrictions in IIS for both ASP.NET 4.0 32bit and 64bit was set to deny....
View ArticleAnswer by rob for Cannot read configuration file due to insufficient permissions
We had a website running with a specific identity in the apppool, only after giving that user read access to the folder containing the web.config would it work.We tracked this down after adding the...
View ArticleAnswer by coberlin for Cannot read configuration file due to insufficient...
I needed to add permissions to IUSR (in addition to ISS-IUSRS, as others have suggested).(See...
View ArticleAnswer by amd for Cannot read configuration file due to insufficient permissions
Editor's note: Doing what this answer says is DANGEROUS! The LocalSystem account is a ...Completely trusted account, more so than the administrator account. There is nothing on a single box that this...
View ArticleAnswer by Sniipe for Cannot read configuration file due to insufficient...
I used subst to create a mapping from D: to C: in order to keep the same setup as other developers in the team. This also gave me same errors as described. Removing this fixed it for me.
View ArticleAnswer by Jarrod for Cannot read configuration file due to insufficient...
I had what appeared to be the same permissions issue on the web.config file.However, my problem was caused by IIS failing to load the config file because it contained URL rewrite rules and I hadn't...
View ArticleAnswer by Quinny for Cannot read configuration file due to insufficient...
Go to the parent folder, right-click and select Properties. Select the Security tab, edit the permissions and Add. Click on Advanced and the Find Now. Select IIS_IUSRS and click OK and OK again. Make...
View ArticleAnswer by Luis for Cannot read configuration file due to insufficient...
For some reason your web.config is set as read only. Uncheck the readonly option of web.config file.
View ArticleAnswer by Afshin Gh for Cannot read configuration file due to insufficient...
There is no problem with your web.config. Your web site runs under a process. In iis you can define the identity of that process. The identity that your web site's application pool runs as (Network...
View ArticleAnswer by Erik Funkenbusch for Cannot read configuration file due to...
You don't have to change anything in your web.config.The problem is file system permissions. Your file permissions do not allow the IIS_IUSRS user to access web.config (or probably any of the files)....
View Article