The post HTTP Error 403.14 : The Web server is configured to not list the contents of this directory appeared first on CRM Kitchen.
]]>HTTP Error 403.14 – Forbidden
The Web server is configured to not list the contents of this directory.
When you add a new web site without default application pool, IIS set default .NET Framework 2 version for your site. So you have to change your application pool’s framework version.
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>
or
<system.webServer> <directoryBrowse enabled="true" /> </system.webServer>
Note This method is for the web developers who experience the issue when they use IIS Express.
To do this, follow these steps:
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:
C:\Program Files\IIS Express
Type the following command, and then press Enter:
appcmd set config /section:directoryBrowse /enabled:true
For more information about the appcmd command, view How to use AppCmd.exe.
source : https://support.microsoft.com/en-us/kb/942062
The post HTTP Error 403.14 : The Web server is configured to not list the contents of this directory appeared first on CRM Kitchen.
]]>