Asp.net MVC4 on IIS 6 - Page not found

3

I am having problems publishing an ASP.NET MVC4 application to an IIS 6. The settings appear to be correct, but the browser displays "404 error."

Has anyone ever been through this?

    
asked by anonymous 26.02.2014 / 20:54

2 answers

3

Go into application configuration in your virtual directory and insert a wildcard (Application COnfiguration> Mappings> Wildcard application) pointing to the following DLL (check the version of your .NET (4 or 2)

c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll

Remember to uncheck the "verify file exists" option.

    
26.02.2014 / 21:07
1

I just posted a question / answer in this regard , see if that works out for you!

Basically, it's a problem with UrlRewrite. Add this to your web.config in <system.webServer> :

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
    
26.02.2014 / 20:58