Cruise Control.Net (ccnet) installer does not add webdashboard as a virtual directory under iis7. If you want to use webdashboard then you have to manually add it as an application.
After you adding it as an application you may get some errors because of Managed Pipeline Mode of your Application Pool settings. By default iis7 will configure your site with DefaultAppPool which has Integrated Managed Pipeline Mode. You have to chage your webdashboard's ApplicationPool's Managed Pipeline Mode to Classic in order to make it work properly.
If you want to keep default settings (Integrated Managed Pipeline Mode), then you have to add following settings in your webdashboard's web.config file. This configuration will work both in iis6 and iis7.
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers accessPolicy="Read, Write, Script, Execute">
<add name="ccnetAspxHandler" verb="*" path="*.aspx" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,
ThoughtWorks.CruiseControl.WebDashboard" />
<add name="ccnetXmlHandler" verb="*" path="*.xml" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,
ThoughtWorks.CruiseControl.WebDashboard" />
</handlers>
</system.webServer>
2 comments:
I get a 404 when I click on one of my projects. Do you know why is that? I didn't have that issue on IIS 6.
Are you getting 404 for only one specific project or in all projects? Can you provide the details of your problem?
Post a Comment