lostinplace
lostinplace

Reputation: 1518

IIS not running ASP.NET MVC application

I have deployed an asp.net MVC application to my IIS7 server. When I attempt to browse the dafault route I get the message

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

It's clear to me that it is not loading/processing the global.asax, but I have no idea why. I've deployed another MVC application to this same location/app pool and it works fine.

Does anyone have any idea how to debug a problem like this?

Upvotes: 15

Views: 42920

Answers (2)

opewix
opewix

Reputation: 5083

I've tried a lot, and finally one checkbox did the trick

enter image description here

Upvotes: 23

webdeveloper
webdeveloper

Reputation: 17288

Maybe:

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/> 
</system.webServer>

OR

Upvotes: 21

Related Questions