A default document is not configured for the requested URL, and directory browsing is not enabled on the server

前端 未结 12 893
时光说笑
时光说笑 2020-12-13 03:37

I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But getting this error

A default document is not configured for the requested          


        
12条回答
  •  半阙折子戏
    2020-12-13 04:15

    In my case, I had to install the Microsoft.Owin.Host.SystemWeb package.

    I was getting the same message as you did, but then noticed I couldn't even hit a breakpoint in Startup.cs which then let me to this SO thread.

提交回复
热议问题