Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Package variable trigger operations fail when you use BizTalk Adapter for Oracle Database to connect to an Oracle Database


View products that this article applies to.

This article applies to the following products:
  • Microsoft BizTalk Adapter Pack 2010
  • Microsoft BizTalk Adapter Pack 2013

↑ Back to the top


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 ---

↑ Back to the top


Cause

The issue occurs because the session state is reinitialized when the adapter acquires a connection.

↑ Back to the top


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


↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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 hotfixes
For more information about connection pooling configuration, go to the following MSDN website:

↑ Back to the top


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.

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbbtsadapters, kb

↑ Back to the top

Article Info
Article ID : 2845542
Revision : 3
Created on : 9/11/2018
Published on : 9/11/2018
Exists online : False
Views : 227