Sunday, September 01, 2013

Enable directory browsing for IIS 8 Server Express

Visual Studio Express 2012 for Web Update 3 comes with IIS 8 Server Express. By default, the server is configured not to list directory contents for security reasons. But since I am using it for development purposes, security is not my main concern but speed of development.

When trying to browse a directory, you may get this error message:

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

To enable browsing do:
  1. Open console (cmd.exe)
  2. Change directory to C:\Program Files\IIS Express
  3. Type appcmd set config /section:system.webServer/directo
    ryBrowse /enabled:true
    to enable browsing.

4 comments:

chris hawkes said...

thanks

chris hawkes said...

Thanks

Anonymous said...

thanks man

Anonymous said...

it wokrs

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...