ASP.NET MVC Page Won't Load and says “The resource cannot be found”

前端 未结 21 1720
猫巷女王i
猫巷女王i 2020-12-09 14:51

I am having a problem where I try to open my ASP.NET MVC application but I get the ASP.NET error page which says this:

Server Error in \'/\' Applicati

21条回答
  •  攒了一身酷
    2020-12-09 15:31

    Suppose source code copy from other places.

    Sometime, if you use Virtual Directory in your application url like:

    http://localhost:50385/myapp/#/
    

    No route will pick up the request.

    solution:

    Explicitly click the button 'create a virtual directory' in your project file.

提交回复
热议问题