Asp.net MVC4 on IIS 6 - Page not found

Asked

Viewed 343 times

3

I’m having trouble publishing an ASP.NET MVC4 application on an IIS 6. The settings seem to be correct, but the browser shows "error 404".

Someone’s been through it?

2 answers

3


Go to application Configuration in your virtual directory and enter a "wildcard" (Application Configuration > Mappings > Wildcard application) pointing to the following DLL (check your . net (4 or 2)

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

Remember to uncheck "Verify file exists".

inserir a descrição da imagem aqui

  • you have the option to answer your own question already in the creation of it... Get used to creating so when you have this aspect more of "wiki"! Anyway, thanks for sharing.

  • Thanks for the tip!

1

I just posted a question/answer in this sense, see if it resolves 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>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.