好的,我試圖把我的asp.net網站到我的大學的網絡服務器,但我訪問網頁時,我得到以下問題:觀看現場
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 13: </connectionStrings>
Line 14: <system.web>
Line 15: <roleManager enabled="true" />
Line 16: <authentication mode="Forms" />
Line 17: <compilation debug="false" targetFramework="4.0" />
Source File: F:\users\1010033\co5027\web.config Line: 15
我不能得到這個一切工作。我認爲這與我在Visual Studio中設置的用戶安全性和角色有關,但我不知道如何解決問題。請記住,我無法使用國際空間站,因爲這是大學設立的。
我在根文件夾中有一個名爲AdminSecured
的文件夾中存在第二個web.config
文件,該文件夾包含所有受保護的頁面。
任何想法?