ASP.NET MVC5 The webserver is not configured for the requested URL, and directory browsing is not enabled on the server

后端 未结 5 466
终归单人心
终归单人心 2021-01-05 16:46

I have an issue with loading the pages from a MVC5 application.

I have this software installed and used:

  • Windows 10
  • Visual Studio Enterpris
5条回答
  •  一生所求
    2021-01-05 17:07

    This is a quick solution for quick app testing purposes and not intended for solving the root cause - not MVC:

    • Errors when the ASP.NET application starts at http://localhost:port#/

    • Works when the url changed to http://localhost:45269/HTMLPageName.html

提交回复
热议问题