I am trying to run the Cruise Control.net web dashboard on a Windows Server 2003 machine with IIS6 and I am running into the following error when I go to the default landing page for the dashboard:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The format of the file 'ThoughtWorks.CruiseControl.WebDashboard' is invalid.
Line 8: Line 9: Line 10: Line 11: Line 12:
Source File: C:\CruiseControl\Application\webdashboard\web.config
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ThoughtWorks.CruiseControl.WebDashboard' could not be loaded.
=== Pre-bind state information === LOG: DisplayName = ThoughtWorks.CruiseControl.WebDashboard (Partial) LOG: Appbase = file:///C:/CruiseControl/Application/webdashboard LOG: Initial
PrivatePath = bin Calling assembly : (Unknown).
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: ThoughtWorks.CruiseControl.WebDashboard LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/cruisecontrol/c8c373af/413fb329/ThoughtWorks.CruiseControl.WebDashboard.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/cruisecontrol/c8c373af/413fb329/ThoughtWorks.CruiseControl.WebDashboard/ThoughtWorks.CruiseControl.WebDashboard.DLL. LOG: Attempting download of new URL file:///C:/CruiseControl/Application/webdashboard/bin/ThoughtWorks.CruiseControl.WebDashboard.DLL.
As you can see, the error says the issue is line 8, 9, 10, 11, 12 from web.config - which looks like this:
<system.web> <httpHandlers> <add verb="*" path="*.aspx" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,ThoughtWorks.CruiseControl.WebDashboard"/> <add verb="*" path="*.xml" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,ThoughtWorks.CruiseControl.WebDashboard"/> </httpHandlers>
So, this same exact config works without any modification in IIS7 or IIS7.5 on Windows 7 or Windows Server 2008. I am guessing the root cause is some declaration that is not understood by IIS6 - but I am not sure.
Anyone know how I can re-structure my web.config file so I can run Cruise Control.NET in IIS6?
I should also mention that I have not added any ISAPI filters or anything to my IIS6 config. I am not sure if I need to register the dll's with IIS6 or not.