0
當我將一個vb項目在本地計算機上運行的Visual Studio 2010運行到服務器時出現錯誤。我將如何精確解決它?當從本地主機到服務器進行項目時的配置錯誤
Configuration Error
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 24: ASP.NET to identify an incoming user.
Line 25: -->
Line 26: <authentication mode="Windows" />
Line 27: <!--
Line 28: The <customErrors> section enables configuration
如果我們運行的本地服務器上的項目,然後其在服務器 – 2012-09-14 06:40:05
創建虛擬目錄中沒有,你可以使用所需的內置服務器(卡西尼)在VS.但是最好在一個儘可能相似的環境中進行開發,以最終生產。 – IrishChieftain 2012-09-14 13:44:13