Biztalk Adapter pack Oracle, System.BadImageFormatException

Ken Van Booven 1 Reputation point
2022-01-21T20:28:58.597+00:00

I've been working to upgrade a biztalk 2013 r2 instance to Biztalk 2016 running on Windows Server 2016. When configuring the oracle sent ports using the wcf-custom adapter I receive the following error.

System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Oracle.DataAccess.Client.OpsInit.CheckVersionCompatibility(String version)
at Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()
--- End of inner exception stack trace ---
at Oracle.DataAccess.Client.OracleConnection..ctor()
at Microsoft.Adapters.OracleDB.OracleDBBinding.Initialize()
at Microsoft.Adapters.OracleDB.OracleDBBinding.CreateBindingElements()
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient2.InitializeValues(IBaseMessage message) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient2..ctor(IBaseMessage message, WcfTransmitter2 transmitter) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfTransmitter2.GetClientFromCache(String spid, IBaseMessage mess

I have attempted to install variations of the following ODAC. I've installed the 121010 with 32bit and 64 bit versions, the 121021 with 32 and 64 bit versions, and both.

ODAC121010Xcopy_32bit
ODAC121010Xcopy_x64
ODAC121021Xcopy_32bit
ODAC121021Xcopy_x64

Can anyone help me get this configured correctly to work with BizTalk 2016?

BizTalk Server
BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
390 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.