ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.IIS Error: The Web server is configured to not list the contents of this directoryHi @aspvijay04,<br />Please try the following<br /><br /><a href = 'link(Threads/188198/HTTP-Error-40314---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</a><br /><br />It might help you.<br /><br />Cheers Andrea.https://www.aspforums.net:443/Threads/490324/IIS-Error-The-Web-server-is-configured-to-not-list-the-contents-of-this-directory/https://www.aspforums.net:443/Threads/490324/IIS-Error-The-Web-server-is-configured-to-not-list-the-contents-of-this-directory/Mon, 25 Dec 2017 12:25:59 GMTIIS Error: The Web server is configured to not list the contents of this directory<p>Just try it by following below steps to solve the issue.</p> <p>1.Open up IIS Manager.</p> <p>2.Add the website by right clicking on "Default website" and choose "Add application".</p> <p>3.Enter any name as alias type and the load that website in the physical path and click OK.</p> <p>4.Then go to the Features View of that Loaded Website and double click on the "Directory Browsing".</p> <p>5.Click on "Actions" work space and change the "Disable" state to "Enable" state.</p> <p>6.Then Refresh the Default Website.</p> <p>7.Open the Visual Studio and go to that website. it will ask for reload , then click "yes".</p> <p>8.it will add the following code in the web.config file.</p> <pre class="brush: html"> &lt;system.webServer&gt; &lt;directoryBrowse enabled=&#34;true&#34; /&gt; &lt;/system.webServer&gt;</pre> <p>9.Now run and see the error will disappear.</p> <p>-------------------------------------------------------------------------------------------------------------------------------------------------------------------</p> <p> <strong>Or try by below methods.</strong></p> <div class="post-text"> <p>This problem occurs because the Web site does not have the <strong>Directory Browsing</strong> feature enabled, and the default document is not configured. To resolve this problem, use one of the following methods. To resolve this problem, follow the steps in Method 1 as mentioned in the <a href="https://support.microsoft.com/en-us/kb/942062">MS Support page</a> and it&rsquo;s the recommended method.</p> <p>Method 1: Enable the Directory Browsing feature in IIS (Recommended)</p> <ol> <li>Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.</li> <li>In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.</li> <li>In the Features view, double-click Directory Browsing.</li> <li>In the Actions pane, click Enable.</li> </ol> <p>If that does not work for, you might be having different problem than just a Directory listing issue. So follow the below step,</p> <p>Method 2: Add a default document</p> <p>To resolve this problem, follow these steps:</p> <ul> <li>Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.</li> <li>In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.</li> <li>In the Features view, double-click Default Document.</li> <li>In the Actions pane, click Enable.</li> <li>In the File Name box, type the name of the default document, and then click OK.</li> </ul> <p>Method 3: Enable the Directory Browsing feature in IIS Express</p> <p>Note This method is for the web developers who experience the issue when they use IIS Express.</p> <p>Follow these steps:</p> <ul> <li>Open a command prompt, and then go to the IIS Express folder on your computer. For example, go to the following folder in a command prompt: <strong>C:\Program Files\IIS Express</strong></li> <li>Type the following command, and then press Enter:</li> </ul> <p><strong>appcmd set config /section:system.webServer/directoryBrowse /enabled:true</strong></p> </div> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/490324/IIS-Error-The-Web-server-is-configured-to-not-list-the-contents-of-this-directory/https://www.aspforums.net:443/Threads/490324/IIS-Error-The-Web-server-is-configured-to-not-list-the-contents-of-this-directory/Mon, 25 Dec 2017 23:20:20 GMT