IIS 7 and Above
How to Fix “HTTP Error 403.14 – Forbidden The Web server is configure...
Last post Feb 10, 2014 01:31 AM by Pengzhen Song - MSFT
Feb 08, 2014 04:21 AM|ambujsaxena|LINK
This is one of the most common issue that developed faces when they start the New Website published with IIS or IIS Express.
I searched internet a lot to find the exact issue and the solution that I found is to enable "Directory Listing" for the web site, similar guidance will be shown on the error page itself, but it is not recommended for security reasons.
So to fix this issue, the easiest and best way is to add the default page or document that IIS should look while you click on browse or F5 from Visual Studio.
1. Open IIS (Type InetMgr)
2. Go to the WebSite you are facing the issue
3. Click on Default Document Button, you will find it on the right side tab in IIS.
4. You can see a list of default documents, but your default page (aspx file) is not mentioned here and that is causing the issue.
5. Add your file here. (For example: Login.aspx)
You can also add the following entry into the web.config:
<add value="Login.aspx" />
<directoryBrowse enabled="false" />
Now run the website again .. and yes .. that will work now.
Feb 10, 2014 01:31 AM|Pengzhen Song - MSFT|LINK
We are happy that your issue has been resolved. ANd thanks for sharing solution with us:
enable "Directory Listing" for the web site or Set default document