2012-03-27 1 views
0

난 내 대학의 웹 서버에 내 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에서 설정 한 사용자 보안 및 역할과 관련이 있다고 추측하지만 문제를 해결하기 위해 무엇을해야하는지에 대해서는 잘 모릅니다. ISS에 대한 액세스 권한이 없다는 것을 명심하십시오. ISS는 대학에서 모두 설정 한 것입니다.

모든 보안 페이지를 보유하고있는 내 루트 폴더에 AdminSecured이라는 폴더에 두 번째 web.config 파일이 있습니다.

아이디어가 있으십니까?

답변

0

호스트의 제어판에서 가상 디렉터리를 설정해야합니다.

0

IIS에서 응용 프로그램으로 사이트를 설정하지 않았거나 루트에 두 개의 web.config가있는 경우에만이 기능을 보았습니다.