Visual Studio 2013でカスタムコードなしで基本的なHTML Lightswitchアプリケーションを作成しました。LightswitchアプリケーションがIISにデプロイされたときに 'Oracle.ManagedDataAccessDTC'を見つけることができません
私はIISでサーバーにアプリケーションをデプロイしました。作成したURLをナビゲートするとアプリケーションが読み込まれますが、アプリケーションが通常はOracleの値リストを表示する前に "EnlistTransactionで基になるプロバイダが失敗しました"データベース。
次のエラーを見つけるためにstacktraceを実行しました。アプリでは、Oracleデータ・アクセス・クライアント(Oracle.ManagedDataAccessDTC)発見されていないように見えます:ローカルODAC 12cをリリース4(12.1.0.2)インストーラを使用して
[Microsoft.LightSwitch.DataService][Application:Error]
[LightSwitchServiceApplication.P167:CON_APP_TAXes] An exception has occurred:
Microsoft.LightSwitch.DataServiceOperationException: The underlying provider
failed on EnlistTransaction. ---> System.Data.EntityException: The underlying
provider failed on EnlistTransaction. --->
System.TypeInitializationException: The type initializer for
'OracleInternal.MTS.DTCPSPEManager' threw an exception. --->
System.IO.FileNotFoundException: Could not load file or assembly
'Oracle.ManagedDataAccessDTC, Version=4.121.2.0, Culture=neutral,
PublicKeyToken=89b483f429c47342' or one of its dependencies. The system
cannot find the file specified.
私は私のマシン上でのOracle Data AccessクライアントをインストールしていますOracle.ManagedDataAccessDTCが含まれます。
マシンとサーバーに同じバージョンのOracle.ManagedDataAccessDTCがインストールされていることを確認しました。