Deploying ASP.Net MVC on IIS6, why am I getting 404 after enabling group mapping?

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

Why is that? In fact, without including this, I get 403 (forbidden), unless it permits access to the directory (listing). But why am I getting 404 with display turned on? Is there anything else to make it work? I added Index.aspx on the Documents tab in IIS properties, but that doesn’t change anything.

This is a very simple application, I did not modify the global.asax file at all. But I got it working on another server a few months ago, without changing it, and I don’t remember anything else.

+3
source share
1 answer

Decision:

ASP.Net 4 was banned in IIS. To fix this, go to the Web Services Extensions section and enable it. Thanks Brian Flynn on this.

+4
source

Source: https://habr.com/ru/post/1766954/


All Articles