ASP.NET routing on IIS 6

Peter picture Peter · May 1, 2009 · Viewed 10.1k times · Source

I have created a basic site using ASP.NET routing according to Mike Ormond's example "Using ASP.NET routing Independent of MVC". This works fine on my local machine running the built-in web server.

However, when I deploy it to my server (Windows Server 2003, IIS 6, ASP.NET 3.5 SP1) it just shows a 404 error.

I have read somewhere that I am meant to set up wildcard routing. How can I do this?

What other configuration changes needs to be done to make it work on my server?

Answer

Johnno Nolan picture Johnno Nolan · May 1, 2009

You will find some good information on Steve Sanderson’s blog post "Deploying ASP.NET MVC to IIS 6."