Monday, August 27, 2007

IIS 7.0 Gives HTTP 500 Internal Server Error for all Requests--The Answer is in the Pipeline

Our company runs a variety of applications based on the ASP.NET 2.0 Framework. Our standard environment is to run these apps on Windows Server 2003 machines with IIS 6.0, but I'm a bit more bleeding edge and chose to install Vista, and thus IIS 7.0, the last time I rebuilt my machine. I have encountered a few issues here and there, but perhaps the most frustrating was the HTTP 500 Internal Server Error I would get every time I hit the site on my Vista machine.

It turns out that my problem was in the Managed Pipeline Mode. We are using a variety of Handlers and Listeners to support logging and error tracing and they were not working in Integrated mode. Switching to Classic fixed it right up, though.

Sweet! Now on to the next challenge.

No comments: