Search code examples
htmlasp.netmaster-pages

asp.net master page displays the list of my folder


Firstly I was encountering appcmd set config problem, as it's shown below imageenter image description here

I run this code-appcmd set config /section:system.webServer/directoryBrowse /enabled:true - in the command prompt and the problem is solved, however now this page pops up. I can not truly run my application, could you help me to solve this problem? enter image description here


Solution

  • I solved the problem by setting the web.form.page as an start page, otherwise it displays the folder of the project.