【发布时间】:2011-06-06 23:23:18
【问题描述】:
我刚刚将我的 asp.net mvc-2 网站部署到服务器(使用 dotnetpanel)。但是得到这个错误
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
我需要什么设置?它基于 dotnetpanel 的托管服务器。
【问题讨论】:
-
添加 index.html 文件解决了我的问题
-
如果问题发生在开发时该怎么办。从 Visual Studio 运行应用程序时。 如何解决这个问题?我正在运行 ASP.NET MVC 应用程序