HTTP Error 403.503 - Forbidden IIS 10

pookie picture pookie · Jul 10, 2016 · Viewed 11.6k times · Source

I know this has been asked a thousand times... but I am still having problems, despite two days of trying!

This is running locally. Even my localhost is giving me a 403!

My setup:

  • Windows 10 Pro
  • IIS 10

Every site in IIS greets me with the old favourite 'HTTP Error 403.503 - Forbidden' error. I have fiddled with Application Pool settings, restarted, re-registered (aspnet_regiis -i), used 'run as administrator', added IUSER to security and gave full control, created a fresh MVC application in Visual Studio 2015 and added the site to IIS... I've tried everything I can think of!

Does anyone have a suggestion for me, before I delete Windows?

Answer

jbooker picture jbooker · Jan 26, 2017

I was getting "HTTP Error 403.503 - Forbidden" as well with detailsModule IpRestrictionModule Notification BeginRequest Handler ExtensionlessUrlHandler-Integrated-4.0 Error Code 0x80070005

The fix for me was to go to IIS, click on site, click on IP Address and Domain Restrictions, clicking 'Edit Feature Settings', the selecting 'Allow' (instead of deny)