Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

I Have MVC 5 Application now i would like to install his Application on Server 2012 R2, then i got the Error "Cannot read configuration file due to insufficient permissions in IIS 8.5"

I serach lot but never get the proper Answer.

same application Run on Windows 2010 and 2007.

Please help me about the Same.

Regards,
Sandip Patil

What I have tried:

Cannot read configuration file due to insufficient permissions in IIS 8.5
Posted
Updated 10-Oct-17 6:36am

1 solution

Putting that error message into Google returns thousands of hits with the solution. There are also a list of identical questions on the right-hand side of this page.
  1. Log in to the server;
  2. Open Windows Explorer, and locate the folder where you have deployed your application;
  3. Right-click on the folder and select "Properties";
  4. Select the "Security" tab, and click "Edit...";
  5. Click "Add...";
  6. Enter "IIS_IUSRS" (without the quotes), and click "Check Names";
  7. Once the group name has resolved, click "OK" three times";

You should now be able to browse to your application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900