Today I was trying to run a simple web service that I had deployed on IIS, I kept getting the following error message while opening the web service with a browser.

HTTP Error 403.14 – Forbidden

Web server is configured to not list the contents of this directory

enter image description here


Here is what I did to get it working !

Step 1 : Open the IIS

Step 2 : Find the “Directory Browsing” option in the feature view of the web service application.

enter image description here

Step 3 : As seen in the screenshot below, enable the “Directory Browsing” option

enter image description here

Step 4 : Test again. It should work now. (worked for me atleast :P) Hope this helps you too :)