Wednesday, May 29, 2013

How to Solve HTTP Error 403.14- Forbidden in ASP.NET

5 comments
In this article we will study How to fix Error 403.14: The web server is configured not to list the contents of this directory, when running the asp.net site using IIS. I got this error when trying to view the content of Image folder inside the browser as shown in the picture below:

Http error 403.14 in iis






 Now let us find out how I solved this error. If you got the same error while running online site then ask your hosting providers for the setting I mentioned here.

Steps to Solve/Fix HTTP Error 403.14- Forbidden:"The web server is configured not to list the contents of this directory"

Step 1: Select the Site For which the HTTP Error is produced in IIS and then click on Directory Browsing as shown in the image below:

Directory Browsing in IIS


Step 2: In the Directory Browsing Window in IIS click on Enable in Actions on the right side as shown in the diagram below:

Enable Directory Browsing in IIS

Step 3: Now Directory Browsing is enabled for your asp.net website, just restart the web application in IIS and Browse the site in your browser and see the result. My final output after following above steps is shown below. Now I can view the images inside the image folder without getting the HTTP Error-403.14.

Directory Browsing enabled

5 comments:

  1. very nice it worked for me :)

    ReplyDelete
  2. I have same error. What to do next?

    ReplyDelete
  3. Hi Poonam,
    can you please elaborate the error which your are getting or share the screen shot so I can guide you further.
    Thanks,

    ReplyDelete
  4. I'm getting the same 403.14 error when running locally in VS2013 this project: http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

    ReplyDelete