我目前正在考慮devloping一個ASP.NET網站。我在我的開發機器上配置了IIS7以及我的服務器。ASP.net部署
我已經將開發文件複製到我的開發機器上的本地IIS服務器上,並且這種工作正常,沒有任何問題。
然而,當我在VS2010通過FTP上傳的ASP.NET應用程序,以我的網站mydomain.com/myasp
它顯示它說的錯誤:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
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 34: ASP.NET to identify an incoming user. Line 35: --> Line 36: Line 37: section enables configuration
我已經轉換目錄IIS內的應用程序,但它仍然會出現這個錯誤。
你可以提供任何幫助將是巨大的感謝
發佈截圖或確切的措辭? – 2011-04-09 02:43:56
看看這個問題:http://stackoverflow.com/questions/470136/configuring-an-asp-net-application-in-iis。你說你創建了一個應用程序,你是否僅將執行權限設置爲腳本? – rsbarro 2011-04-09 03:01:25