Bootstrap FreeKB - Visual Studio - Resolve "HTTP Error 403.14"
Visual Studio - Resolve "HTTP Error 403.14"

Updated:   |  Visual Studio articles

Let's say this error occurs when navigating to http://www.example.com/, this means directory browsing is disabled in IIS, and there is no default page. 

Follow these steps to determine the default pages:

  1. In IIS Manager, expand the root folder, expand Sites, and select the website in question
  2. In the middle, select Default Document. Typically, IIS will list the folowing default documents:
    • Default.htm
    • Default.asp
    • index.htm
    • index.html
    • iisstart.htm
    • default.aspx
    • index.php (if PHP is enabled)
  3. Click the back arrow key once to return to the main page of IIS. On the right, select Explore. This will open the directory where the HTML, CSS, ASP.Net, JS and PHP files are stored.
  4. Ensure the directory contains one of the files that matches one of the default documents.

Note: I prefer to use Notepad++ to create a simple index.html default document.

 

Follow these directions to enable directory browsing. Typically, directory browsing is not enabled. This is typically only enabled for troubleshooting purposes.

  1. In IIS Manager, expand the root folder, expand Sites, and select the website in question
  2. In the middle, select Directory Browsing
  3. On the right, select Open Feature
  4. On the right, select Enable

 

If this error appears when attempting to preview a website from Visual Studio, this means you have not yet added a .html or .aspx page in Visual Studio. Do the following to resolve this issue.

  1. In Visual Studio, press Ctrl + Shift + A (or select Add > New Item)
  2. In the Add New Item dailog box, select HTML Web Page and click Add



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ff5e87 in the box below so that we can be sure you are a human.