views:

61

answers:

2

Hi all,

I have this ASP.NET MVC app that I've deployed on IIS6/Win2003 as a virtual directory, and I get a 404 error even after enabling wildcard mapping for aspnet_isapi.dll (as explained everywhere like http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/).

Why so? In fact, without enabling this, I get a 403 (forbidden), unless authorizing directory access (listing). But why do I get a 404 with mapping enabled? Is there something else to do to get it working? I have added Index.aspx in the Documents tab in IIS properties, but that doesn't change anything.

That's a very simple app, I have not modified the global.asax file at all. But I got it working on another server a few month ago without modifying it either, and I don't recall doing anything else.

Help, anyone?


Solution: ASP.Net 4 was prohibited in IIS. To correct this, go to Web Services Extensions and allow it. Thanks to Brian Flynn on this one.

A: 

Have you recycled the Application Pool that the site is running under? I've had this problem and recycling the app pool solved it for me.

Mark B
nope, that doesn't change a thing. I usually restart the app pool after every change to be sure.
Antoine
A: 

Solved, see edits.

Antoine