[英]What does this ASP.NET web.config error mean?
我有一個簡單的asp.net項目。 我將其放在主機上,但現在出現以下錯誤:
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error can
be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 37: ASP.NET to identify an incoming user.
Line 38: -->
Line 39: <authentication mode="Windows" />
Line 40: <customErrors mode="Off"/>
Line 41: <pages>
在服務器上為其創建虛擬目錄-如錯誤消息所示。
我遇到了同樣的錯誤,但是通過更改應用程序池解決了..嘗試更改應用程序池..如此,我將其從默認應用程序池更改為經典.net應用程序池。 希望你覺得它有用。
點擊此鏈接,這是此http://geekswithblogs.net/ranganh/archive/2005/04/25/37609.aspx的解決方法
嘗試更改< authentication mode="None" />
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.