簡體   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