views:

53

answers:

1

I have a Map Route "Catch All", "{*catchall}", new {controller = "Error", action="NotFound"} which doesn't get executed. This Map Route is preceded by two more routes for Error and NotFound. My local environment gets executed just fine. However, another development machine doesn't and I am getting default 404 error page from inetpub. Can you please help me solve this issue? I have IIS 7.0

A: 

Have you modified IIS appropriately to handle mvc routing?

Here are the steps to get it to execute on IIS 5 and 6. You'll also want to check to see if you have the correct .net run time dlls on the other development machine to execute the MVC. this is assuming you're not using IIS 7, as I don't know how that is configured to run MVC.

http://haacked.com/archive/0001/01/01/asp.net-mvc-on-iis-6-walkthrough.aspx

Kevin
I am using IIS 7.0. I have also tried to Customer Error section in the web configuration file with status code of 404 to be redirected to Controller in the web config which I did earlier which didn't work as well
Ed