Andrew
Andrew

Reputation: 6394

IIS Error 403.14 - Forbidden

I am facing a problem with IIS and ASP.net. I reinstalled the IIS because it wasn't showing the "Default Website" and after that I reinstalled ASP. Now I am facing the error you see below. I should mention that it was working before the IIS reinstallation and the reason I reinstalled it was because I needed to edit the bindings and there was no "Default Website".

enter image description here

Upvotes: 2

Views: 3268

Answers (2)

Andrew
Andrew

Reputation: 6394

After two days, I finally managed to solve this. What I did to fix it was to make sure that runAllManagedModulesForAllRequests="true" is present in Web.config. This fixed the issue.

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

Upvotes: 1

mikey
mikey

Reputation: 5160

I just noticed that you're using MVC. You'll need to ensure your routing is set up right and is actually executing.

ASP MVC in IIS 7 results in: HTTP Error 403.14 - Forbidden

ASP.NET MVC Routing Overview

Upvotes: 1

Related Questions