2017-01-07 6 views
0

나는 Kentico 6 인스턴스가 있습니다. 아쉽게도 Kentico 5.5 용 웹 파트를 가져 왔습니다. 다시 컴파일하면 다음과 같은 오류 메시지가 나타납니다.Kentico 6.0 오류 CS0103

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0103: The name 'CMSCustom' does not exist in the current context

Source Error: Line 31: { Line 32: // Init custom methods Line 33: CMSCustom.Init(); Line 34: Line 35: // System events Source File: c:\inetpub\wwwroot\KenticoCMS\App_Code\Global\CMS\Compatibility55.cs Line: 33

웹 사이트를 다시 작동 시키려면 어떻게해야합니까?

답변

1

Kentico 6에는 새로운 매크로 분석기 및 이벤트 처리기가 추가되었으며 Compatibility55.cs 파일은 새 엔진을 이전 사용자 지정 방식에 연결합니다. 이러한 사용자 지정이없는 경우 Compatibility55.cs 파일을 제거하고 사용자 지정이 있으면 업그레이드 전에 있던 CMSCustom.cs 파일을 복원 할 수 있습니다.

관련 문제