Why does IIS 7 return a 500 when I access an HTML page?

Posted by Out Into Space on Server Fault See other posts from Server Fault or by Out Into Space
Published on 2010-06-17T19:12:09Z Indexed on 2010/06/17 19:24 UTC
Read the original article Hit count: 163

Filed under:
|

IIS 7 returns a 500 server error when I request an HTML page with this structure:

<html>
<head>
<title>Test Page</title>
</head>
<body>
Some text
</body> 
</html>

It works just fine the first time I access it, but subsequent attempts cause the error.

If I remove the HTML tags, the error doesn't occur:

<body>
Some text 
</body>

It seems very odd that the presence of the HTML tag would cause it to blow up.

Any ideas?

© Server Fault or respective owner

Related posts about iis7

Related posts about html