繁体   English   中英

应用程序“我的网站”中的服务器错误

[英]Server Error in Application “My web site”

我已经建立了一个虚拟主机托管服务,因此可以将我的网站放到上面。 但是我在应用程序“我的网站”中遇到了此服务器错误:

**Detailed Error Information**
Module  IIS Web Core
Notification    MapRequestHandler
Handler StaticFile
Error Code  0x80070002
Requested URL   http://mywebsite.se:80/Index.cshtml?aspxerrorpath=/
Physical Path   E:\inetpub\webhosting\industri2\mywebsite.se\www\Index.cshtml
Logon Method    Anonymous
Logon User  Anonymous
**Most likely causes:**
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

较早时,我遇到了这个问题CustomErrors mode=“RemoteOnly”但我现在将其关闭。 然后出现此问题: server error in application 我正在使用mvc,而ms web dev 2010有一个发布并且正在使用它。 但是遇到了这个问题。

这里有几件事要检查:

  1. 托管服务提供商是否在运行正确版本的ASP.Net?
  2. 是否支持剃须刀
  3. 实际文件存在于您设置的路径上,请尝试在其中放置普通的HTML文件,以查看是否可以将其击中

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM