ASP.NET MVC2 部署到服务器
嘿,我创建了一个默认的 MVC2 项目,只是为了看看是否可以让它在 MochaHost 托管的网站上运行。不幸的是,它似乎没有显示页面,而只是显示目录。
以前有人遇到过这个问题吗?或者知道可能有帮助的教程?
Hey I created a default MVC2 project just to see if i could get it to run on my site hosted by MochaHost. Unfortunately it doesn't seem to display the page instead it just displays the directory.
Has anybody had this problem before? Or know of a tutorial that may help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否向 MochaHost 确认过它们是否在 IIS6 上运行?我建议向他们开一张票,了解他们的环境中有什么。
以下是使用 IIS6 部署 MVC 的教程: http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/
您也可以尝试禁用目录浏览以便您知道是否存在真正的问题。
Did you confirm with MochaHost if they are running on IIS6? I suggest open a ticket with them and understand what they have in the environment.
Here is a tutorial for deploying MVC with IIS6: http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/
You can also try disabling the directory browsing so that you know if there is a real problem.