Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid

Before everyone reads this, I just want to say that i know that there are related threads out there, but I have either tried them or do not understand. With that being said here goes nothing...

I am trying to get a MVC Web App running in my IIS. Unfortunately, I am absolutely stuck on this error:

HTTP Error 500.19 - Internal Server Error

The Request page cannot be accessed becasue the related configuration data for 
the page is invalid.

Module: IIS Web Core
Notification: BeginRequest
Handler: Not yet determined
Error Code: 0x80070005
Config Error: Cannot read configuration file due to insufficient permissions
Config File: \foo\web.config
Request URL: http://localhost/WEBAPP
Logon Method: Not yet determined
Logon User: Not yet determined

Config Source
-1:
0:

I am not quite sure what else to do. I have also tried giving read permission to the web.config file and that did not seem to work.

If anyone has any information or would be able to help me work through this it would be much appreciated. Thanks!

like image 567
scapegoat17 Avatar asked Sep 04 '13 17:09

scapegoat17


3 Answers

On this MSDN blog: Troubleshooting HTTP 500.19 Errors in IIS 7 in scenario 8 for error code 0x80070005 (E_ACCESSDENIED - General access denied error) it says:

Grant Read permission to the IIS_IUSRS group ...

.... the worker process identity (and/or the IIS_IUSRS group) needs at least Read access to the directory so that it can check for a web.config file in that directory.

like image 23
rene Avatar answered Oct 07 '22 00:10

rene


In my case I needed to install the IIS URL rewrite module 2.0 because it is being used in the web.config and this was the first time running site on new machine.

like image 193
Josh D Avatar answered Oct 06 '22 22:10

Josh D


Please follow these step

  1. Go to Control Panel
  2. Go to Programs and Features
  3. Turn Window Feature on or off
  4. Go to Internet Information Service node
  5. Follow World wide web Services
  6. Then Please Check Application Development Feature
  7. Then Please check all Node Specially Asp or Application Framework Like Asp.net 3.5 or ASP.NET 4.5 whatever you have
like image 21
Amit Yadav Avatar answered Oct 06 '22 22:10

Amit Yadav