2017-01-07 6 views
0

私はKentico 6インスタンスを持っています。残念ながら、私はKentico 5.5のWebパーツをインポートしました。再コンパイルした後、次のエラーメッセージが表示されます。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

Webサイトを再び動作させるにはどうしたらいいですか?

答えて

1

Kentico 6は新しいマクロリゾルバとイベントハンドラを追加し、Compatibility55.csファイルは新しいエンジンを古いカスタマイズ方法に接続します。このようなカスタマイズがない場合は、Compatibility55.csファイルを削除して、カスタマイズした場合はアップグレード前のCMSCustom.csファイルを復元できます。

関連する問題