Thursday 11 June 2009

Installing CruiseControl.NET on IIS 7

Something I came across today that I thought might be useful for someone to know.  If you install CruiseControl.NET under IIS 7 you will likely get a 500 error when you open the dashboard for the first time something like this:

HTTP Error 500.23 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

 

This is because the managed pipeline needs to be reverted to classic rather than the default for IIS 7.  It’s easy to do, just right click the virtual directory, choose manage application and advanced settings.  Change the Application Pool from DefaultAppPool (or whatever else it is for your default website) to Classic .NET AppPool and you’ll be right as reign.

No comments: