This article applies to the following products:
-
Microsoft BizTalk Adapter Pack 2010
-
Microsoft BizTalk Adapter Pack 2013
Symptoms
Assume that you have a WCF-based Oracle send port on a Microsoft BizTalk Adapter for Oracle database. Additionally, assume that some Oracle package variables and trigger operations are being used on the Oracle server. In this situation, the trigger operations may fail, and you receive an error message that resembles the following:
A message sent to adapter "<AdapterName>" on send port "<SendPortName>" with URI "<URI> is suspended.
Error details: Microsoft.ServiceModel.Channels.Common.TargetSystemException: ORA-01400: cannot insert NULL into ("".""."") ORA-06512: at line 2 ---> Oracle.DataAccess.Client.OracleException: ORA-01400: cannot insert NULL into ("".""."") ORA-06512: at line 2 at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck) at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery() at Microsoft.Adapters.OracleCommon.OracleCommonUtils.ExecuteNonQuery(OracleCommand command, OracleCommonExecutionHelper executionHelper) --- End of inner exception stack trace ---Cause
The issue occurs because the session state is reinitialized when the adapter acquires a connection.
Resolution
To resolve this issue, install this fix and disable connection pooling in the send port properties.
Cumulative update package information
For BizTalk Adapter Pack 2013
The hotfix that resolves this issue is included in cumulative update package 1 for BizTalk Adapter Pack 2013.
For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:2892600 Cumulative update package 1 for BizTalk Adapter Pack 2013
For BizTalk Adapter Pack 2010
The hotfix that resolves this issue is included in cumulative update package 3 for BizTalk Adapter Pack 2010.
For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:2617150 Cumulative update package 3 for BizTalk Adapter Pack 2010
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixesFor more information about connection pooling configuration, go to the following MSDN website:
More Information
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.