Cannot read configuration file due to insufficient permissions
Posted
by
mike
on Stack Overflow
See other posts from Stack Overflow
or by mike
Published on 2012-01-20T09:39:24Z
Indexed on
2012/11/09
23:00 UTC
Read the original article
Hit count: 330
Okay, I realize there are many questions relating to this error, I have read several questions and answers without resolving my problem.
I have a MVC site that I'm trying to debug on local IIS web server. I check the option to use local IIS in the project properties and I've created a virtual directory in IIS.
The error I get in Visual Studio is:
Unable to start debugging on web server.
In IIS i try browse the site but get the error:
Cannot read configuration file due to insufficient permissions
Config File \?\C:\Users\Mike\Documents\Visual Studio 2010\Projects\MvcApplication1\MvcApplication1\web.config
I've set permissions for the pool identity on the web.config and whole project folder.
I've tried localsystem identity, no luck!
Please help me resolve this. I've spent several hours trying to fix this.
© Stack Overflow or respective owner