HTTP Error 403.14 - Forbidden - The Web server is configured to not list the contents of this directory
- Aindriu
- 2013-09-24 12:03
- 8
I just created a new empty website in Visual Studio 2012 and clicked on run (i.e view in browser) and I get this error :
HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.
I went into IIS and clicked on Directory browsing and then ensured that Directory browsing was enabled but I still get this error. I can't figure it out ?
The website project I just created is not listed in Default web sites in IIS Manager which I thought was odd.
How do I get rid of this error ?
8 Answers
Go to cmd and type this:
for x64 O.S: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
for x32 O.S: %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
This will install the right version and IIS will understand the MVC directory browsing
the web server is configured to not list the contents of this directory. web api, The Web server is configured to not list the contents of this directory. Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server. The Web server is configured to not list the contents of this directory. Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
Sadjad Khazaie
2015-12-24 13:37
There can be multiple reasons for the issue. One that worked for me on IIS 8.5 was as follow
Steps
- Type "turn windows features on or off" in search.
- Click on "Add Roles and features" in Server Manager.
- In Wizard scroll down to the Web server and select : Web Server -> Application Development. Select all except CGI from the list as shown in the screen shot

- Finally hit next and Install.
- Restart IIS
Your website may start working.
http error 403.14, When you visit the Web site in a Web browser, you may receive an error message that resembles the following: Server Error in Application " application name " HTTP Error 403.14 - Forbidden When you visit the Web site in a Web browser, you may receive an error message that resembles the following: Server Error in Application " application name " HTTP Error 403.14 - Forbidden
satish suthar
2016-05-23 14:37
Try to add the following settings to web.config file.
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
directory browsing is not enabled on the server., About Directory Browsing. Directory Browsing mode allows us to create a web site that enables users to download files directly from the IIS Website with any need to use HTML code any other code to enable file download and browse folder and files. By default, each site has the Directory Browsing option as I’ll show you below. Enable. To enable Directory Browsing on IIS 10, Open the IIS console and navigate to the Web Site and click on Directory Browsing About Directory Browsing. Directory Browsing mode allows us to create a web site that enables users to download files directly from the IIS Website with any need to use HTML code any other code to enable file download and browse folder and files. By default, each site has the Directory Browsing option as I’ll show you below. Enable. To enable Directory Browsing on IIS 10, Open the IIS console and navigate to the Web Site and click on Directory Browsing
Litisqe Kumar
2015-10-08 12:38
Set a start page.
When I had this problem, I went into the solution explorer, found the page I wanted to see first (in my case "Home.aspx), right clicked on it and selected "Set As Start Page." This fixed my issue (which sounded really similar to yours). This was in Visual Studio 2012 Professional and I ran it in Firefox.
http error 403.14, HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.
joshmcode
2016-08-15 15:21
I just pasted this code snippet inside web.config file and the error was solved.
<system.webServer>
<directoryBrowse enabled="true" />
</system.webServer>
angular http error 403.14, I am having problems getting one of my Angular routes to work in my application. Basically I have an MVC application that also uses a couple of SPAs. The MVC routing is as follows; namespace IMR I am having problems getting one of my Angular routes to work in my application. Basically I have an MVC application that also uses a couple of SPAs. The MVC routing is as follows; namespace IMR
Chamila Maddumage
2019-03-19 04:10
Empty website template creates an ASP.NET website that includes a Web.config file but no other files. Means you have not any default page to show on browse or run.
This error message simply means that you did not setup and configure the default document properly on your IIS.
Once this is configured, the error message will go away.
http error 403.18, HTTP Error 403.18 - Forbidden The specified request cannot be processed in the application pool that is configured for this resource on the Web server. HTTP Error 403.18 - Forbidden The specified request cannot be processed in the application pool that is configured for this resource on the Web server.
Sain Pradeep
2013-09-24 12:28
I have one quick remedy for this. In fact I got this error because I had not set my web page as start page. When I did my web page(html /aspx) as set start page as shown below I got this error corrected.
I don't know whether this solution will help others.
http error 403.14, I am facing an error of "HTTP Error 403.14 – Forbidden" Web server is configured to not list the contents of this directory. Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server. on VS 2012 with ISS 8.8 c# asp.net-mvc asp.net-mvc-4 I am facing an error of "HTTP Error 403.14 – Forbidden" Web server is configured to not list the contents of this directory. Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server. on VS 2012 with ISS 8.8 c# asp.net-mvc asp.net-mvc-4
Rinoy Ashokan
2017-09-03 04:51

keep this into your web config file then rename the add value="yourwebformname.aspx"
<system.webServer> <defaultDocument> <files> <add value="insertion.aspx" /> </files> </defaultDocument> <directoryBrowse enabled="false" /> </system.webServer>else
<system.webServer> <directoryBrowse enabled="true" /> </system.webServer>HTTP Error 403.14 - Forbidden, Description of HRESULT : The Web server is configured to not list the contents of this directory. Resolution. For end-users. If you HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. I went into IIS and clicked on Directory
user3943211
2016-05-05 11:21