Visual Studio 2010 Service Pack 1 is hot off the presses and it includes a great new feature, IIS Express. IIS Express is a step up from the old Cassini web server that had previously been included with Visual Studio since the 2005 edition. You can read more about IIS Express at Scott Guthrie’s blog.
To switch your Kentico project to use this new feature, you just need to go to the Visual Studio top menu after your solution is loaded, and click Website –> Use IIS Express.
From there you can debug the solution as normal. If you need any help with setting up a Kentico project for debugging check out my post about it. The project should start compiling normally and your default browser should pop up pointed your localhost. This request should now be served up through IIS Express and you should see the IIS Express logo appear in your system tray.
Sure enough that all worked for me, and after the default project loaded I was presented with a nice new shiny………error message.
Hmm that seemed odd to me. But as it turns out there is an HttpModule in the system.web node that IIS Express doesn’t like.