Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

<title>Test Page</title>
Some text

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:

Some text 

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

The HTML doesn't blow up if I rename the file to .aspx.

Any ideas?

share|improve this question
Timely question. Just ran into the same problem! – Howard Pinsley Jun 17 '10 at 22:08

Not sure but I would check the Application Pool, we have had an issue before at my company where code was causing an error and the App pool would just shut down, nothing short of restarting the box/changing code would make things any better.

share|improve this answer

The event log (either Application or System) should contain details about any errors that are occurring in IIS.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.