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:
To enable browsing do:
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:
- Open console (cmd.exe)
- Change directory to C:\Program Files\IIS Express
- Type appcmd set config /section:system.webServer/directo
ryBrowse /enabled:true to enable browsing.
Comments