Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 558
lostinplace Avatar asked Oct 04 '12 20:10

lostinplace


1 Answers

Maybe:

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

OR

  • ASP.NET MVC on IIS 7.5
  • ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden
  • Can't run ASP.NET MVC 2 web app on IIS 7.5
like image 80
webdeveloper Avatar answered Oct 21 '22 11:10

webdeveloper