안녕하십니까, IIS를 통해 내 웹 사이트를 게시 할 때 아래에서 볼 수있는 것처럼이 오류 코드가 표시됩니다. 나 좀 도와 줄 수있어? IIS에서 웹 사이트 게시 오류
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 27: </assemblies>
Line 28: </compilation>
Line 29: <authentication mode="Forms">
Line 30: <forms loginUrl="~/Account/LogOn" timeout="2880" />
Line 31: </authentication>
Source File: C:\Users\furkan\Desktop\WebCity\webcity\web.config Line: 29
그때 나는 응용 프로그램 내 루트 사전을 변환하지만 난 당신이 어딘가에 서브 디렉토리에 여러 web.configs이있는 경우
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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source Error:
Line 17: <system.web>
Line 18: <httpRuntime requestValidationMode="2.0" />
Line 19: <compilation debug="true" targetFramework="4.0">
Line 20: <assemblies>
Line 21: <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Source File: C:\Users\furkan\Desktop\WebCity\WebCity\web.config Line: 19
이 지금은 다른 문제이다 설치해야합니다. 첫 번째 문제는 귀하의 사이트가 애플리케이션이 아니라는 것입니다. 이제 Asp.Net 4.0이 설치되어 있지 않거나 Asp.Net 2.0을 사용하도록 IIS에 응용 프로그램이 구성되어 있습니다. 내 대답을 편집 할게. – JcFx