When running debugging, often encounter the need to start directory browsing problem, try to modify the directory permissions to find or not, finally follow the relevant instructions to configure the fix:
The first method:
Use CMD to enter the directory in IIS Express, beat command: Appcmd set config/section:system.webserver/directorybrowse/enabled:true
The second method: Add the file name directly after the address, for example: Http://localhost:24807/Handler1.ashx
The third method: part of the vs2010,vs2012 is available, and the vs2013 does not seem to work. WebApplication the properties in the-web-Select Use Visual Studio Development Server, click OK.
The fourth method:
Double-click Web. config to add a few words inside <configuration> and </configuration> to enable directory browsing.
<system.webServer>
<directorybrowseenabled= "true"/>
</system.webServer>
Directory browsing without restarting the server
IIS Express Enable directory browsing