我已经建立了一个网络托管软件,所以我可以将我的网站放在上面。但是我遇到了这个问题应用程序"我的网站"中的服务器错误:
**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:inetpubwebhostingindustri2mywebsite.sewwwIndex.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 有一个发布,我正在使用它。但是遇到了这个问题。
以下是需要检查的几点:
- 托管服务提供商是否运行正确版本的 ASP.Net
- 是否支持剃须刀
- 实际文件存在于您设置的路径上,请尝试在其中放置一个普通的HTML文件,看看是否可以点击它