How to solve exception “File does not exist”?

前端 未结 6 1652
攒了一身酷
攒了一身酷 2020-12-08 22:03

I have a basic ASP.NET MVC2 site which logs a single \"File does not exist\" error every time a view (not partial views) is loaded. I am pretty sure this is because I am ref

6条回答
  •  情歌与酒
    2020-12-08 22:21

    in my case it was a missing default home page i.e default.aspx that was the culprit.

    So adding the default.aspx file solved the problem.

    However, this project does not require a default page as it's not a user facing project.

    It's was more of a middleware app to interface legacy systems over the web.

提交回复
热议问题