Reputation: 1147
I have the same problem like this : 403 Forbidden when Deploying asp.net 4.0 MVC 3 site to IIS 7
I'm in the same configuration. When i work on my computer and i heat F5
, it's ok, the website is visible with this url : localhost:8754
But when i try to go on it by the network, i've a 403
error.
I'm running under IIS7
with and my pool application is 4.0
.
My website is the example create by VS2012
. I don't change anything on it.
Upvotes: 2
Views: 2356
Reputation: 792
add this to your web.config
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"></modules>
<handlers>
<remove name="UrlRoutingHandler"/>
</handlers>
</system.webServer>
http://www.iis.net/learn/get-started/introduction-to-iis/iis-modules-overview#Precondition
Upvotes: 1