oracle Microsoft.ServiceModel.Channels.Common.MetadataException:OperationId的元数据解析失败

1hdlvixo  于 2023-05-28  发布在  Oracle
关注(0)|答案(1)|浏览(109)

从BizTalk 2016迁移到BizTalk 2020。
我们有一个发送端口WCF-Custom来执行Oracle过程,但在我们使用BizTalk 2020的新安装中,我们收到以下错误:

Microsoft.ServiceModel.Channels.Common.MetadataException: Metadata resolution failed for OperationId: "http://Microsoft.LobServices.OracleDB/2007/03/BTS/Package/PKG_BTS_PROC/PROCEDUREX". ---> System.NullReferenceException: Object reference not set to an instance of an object.

发送端口具有UseAmbientTransaction = True、Use Transaction = True和enableBizTalkCompatibilityMode = True。
BizTalk 2016中的相同发送端口运行良好,但在BizTalk 2020的新版本中,我们得到了此堆栈跟踪的先前错误:

at Oracle.DataAccess.Client.OracleLogicalTransaction..ctor(OracleConnection connection, Byte[] ltxid)
   at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable, OracleLogicalTransaction m_OracleLogicalTransaction)
   at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src, OracleLogicalTransaction m_oracleLogicalTransaction)
   at Oracle.DataAccess.Client.OracleConnectionOCP.Open(OracleConnection con)
   at Oracle.DataAccess.Client.OracleConnection.Open()
   at Microsoft.Adapters.OracleCommon.OracleCommonConnectionWrapper..ctor(String connectionString, OracleCommonExecutionHelper executionHelper)
   at Microsoft.Adapters.OracleDB.OracleDBConnection.OpenConnection(OracleCommonExecutionHelper executionHelper)

我们在安装过程中是否遗漏了什么?

2eafrhcq

2eafrhcq1#

Oracle目标版本出现问题。
我们将Oracle客户端更新到版本19,而该数据库是版本10。
错误描述不太准确:-(

相关问题