Cruisecontrol.NET and IIS7 static file handler issue

I am trying to run Cruisecontrol.NET with a Server 2008 / IIS7 server and when I try to navigate to the control panel I get the following error: HTTP Error 404.17 - Not Found The requested content looks like a script and will not be served by a static file handler.

I am a bit lost in IIS7, so this might be something pretty simple. They ( do some funny things with the http handlers in the web.config file that might be related to the problem:


Anyone have pointers?


source to share

3 answers

Is Control Panel installed as an application in IIS?

I haven't used IIS7, but I know that in IIS6, you need to enable the application and assign it to the application pool before you can run the ASPX code.

EDIT: This works in IIS6.

Open the IISAdmin tool on the web server. Expand the websites folder. Find the virtual directory (directories?) For CruiseControl. Right click it and look at properties. In the catalog tab, create a new application and give it a suitable name. Enable the application to run "scripting only". Assign it to the application pool (you can create a new one only for this application - refer to the help documentation for that). You may also need to change your ASP.NET version. You can do this in the ASP.NET tab - select either v1.1 or v2.0 depending on what CruiseControl is required.



In Vista, navigate to Windows Features in Control Panel. there is a section for IIS and you will find scripting settings under IIS 6 compatibility



I had the same problem when I installed CCNET 1.5 under Windows 7 / IIS 7.5

You need to set up an application pool for the ccnet site. Under "Basic Application Pool Settings" set "Managed Pipeline Mode" to "Integrated".



All Articles