Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS HTTP Error 500.19

Tags:

asp.net

iis

I have installed IIS on my computer for the first time (until now I have worked with the express version), but it's not working properly. When I try to hit a page, it returns this error, which I do not know how to resolve:

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \?\D:\2008\abcd.Website\web.config
Requested URL http : // localhost:80/abcd.Website

Physical Path D:\2008\ManagerAnticriza.Website
Logon Method Not yet determined
Logon User Not yet determined

Can anyone help me? Is there a way I need to configure IIS after installing it?

like image 359
user1482442 Avatar asked Jul 03 '12 06:07

user1482442


People also ask

How do you fix HTTP Error 500.19 Internal server Error the requested page Cannot be accessed because the related configuration data for the page is invalid?

config file or the Web. config file contains a malformed XML element. In this case, part of the config file is referencing the URL Rewrite module, which is missing. Resolving this issue may require you to delete the malformed XML element from the ApplicationHost.

What causes server Error in '/' Application?

The “Server error in '/' application” can occur if there is a typo in the file extension, for example a file or URL that references test. htl instead of test. html. If the file name is correct, then you may need to add the MIME typeto the server.

Why do I keep getting error 500?

The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request. This error is usually returned by the server when no other error code is suitable.


2 Answers

This issue took me the best part of a day to figure out, as I had the exact same code working on another machine in the office.

It turns out that I was missing some features in IIS, and that the web.config I had carried down was looking for these features. I was missing both authentication features and the URL Rewrite module, and as a result IIS believed my web.config was malformed.

There are similar answers across the Internet that mention the URL Rewrite module, so I'd look there first.

like image 51
Mike B Avatar answered Sep 19 '22 22:09

Mike B


installing iis rewrite module helped me here.

The requested page cannot be accessed because the related configuration data for the page is invalid error

-Naval

like image 28
indolentdeveloper Avatar answered Sep 20 '22 22:09

indolentdeveloper