Home > database >  EF link Oracle in add and delete all no problem, perform DLL abnormal transaction times
EF link Oracle in add and delete all no problem, perform DLL abnormal transaction times

Time:09-19

C # development of C/S application EF link Oracle in add and delete all no problem, the execute transaction times DLL abnormal
Specific exception:

System. Data. The Entity. The Core. EntityException: provider based on the Open failure, - & gt; System. TypeInitializationException: "OracleInternal. MTS. DTCPSPEManager" of type initializers cause abnormal, - & gt; System. IO. FileNotFoundException: failed to load file or assembly "Oracle ManagedDataAccessDTC, Version=4.122.1.0, Culture=neutral, PublicKeyToken=89 b483f429c47342" or one of its dependencies, the System cannot find the specified file,
In the System. Reflection. RuntimeAssembly. _nLoad (AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& StackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
In the System. Reflection. RuntimeAssembly. NLoad (AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& StackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
In the System. Reflection. RuntimeAssembly. InternalLoadAssemblyName (AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& StackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
In the System. Reflection. RuntimeAssembly. InternalLoad (String assemblyString, Evidence assemblySecurity, StackCrawlMark& StackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
In the System. Reflection. RuntimeAssembly. InternalLoad (String assemblyString, Evidence assemblySecurity, StackCrawlMark& StackMark, Boolean forIntrospection)
In the System. Reflection. The Assembly. The Load (String assemblyString)
In OracleInternal. MTS. DTCPSPEManager.. Cctor ()

CodePudding user response:

Oracle. ManagedDataAccess. DLL version with app. Config version of this program other computers running normally

CodePudding user response:

In AsAXZX shaft

CodePudding user response:

Is under the Windows? Look at the services Distributed Transaction Coordinator whether to start
  • Related