非推奨の認証モジュールが原因で発生した Commerce Server のサーバー エラー


解説

デプロイ後に、システムで「/CSharpSite」アプリケーション メッセージのサーバー エラーが発生する場合があります。 この問題は、以下の廃止された認証方法のいずれかを使用することによって発生します:

エラーの詳細は以下のとおりです:

Server Error in '/CSharpSite' Application.
--------------------------------------------------------------------------------
AuthManager(CommerceServer): Error reading Commerce Server administration database. Site name: 'CSharpSite' Auth resource property: 's_AuthManager_EncryptionKey' HRESULT: 0x800A0CC1 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: AuthManager(CommerceServer): Error reading Commerce Server administration database. Site name: 'CSharpSite' Auth resource property: 's_AuthManager_EncryptionKey' HRESULT: 0x800A0CC1

この問題は、Commerce Server 10.0 以降のバージョンで発生します。

解決策

この問題を解決するには、以下の手順を実行してください:

  1. 可能であれば、web.config から HttpModule を削除します。
  2. .Net認証やoAuthなどの別の認証方法にアップグレードします。