FIX: "Start element 'SQLSTATEMENT' expected" logged for a SQLEXECUTE operation from BizTalk Adapter 3.0 for Oracle Database


Note This article applies to Microsoft BizTalk Adapter 3.0 for Oracle Database in the Microsoft BizTalk Adapter Pack 2.0.
SYMPTOMS
Consider the following scenario:
  • You install Microsoft BizTalk Adapter Pack 2.0 on a computer that is running Microsoft BizTalk Server 2006 R2 or Microsoft BizTalk Server 2009.
  • You create a BizTalk application that uses Microsoft BizTalk Adapter 3.0 for Oracle Database (also known as the Oracle Database adapter) to perform a SQLEXECUTE operation on an Oracle database.
  • A request is received by the BizTalk application.
In this scenario, the adapter of the application does not process the request correctly. Additionally, an event entry that resembles the following is logged in the Application log:
Event Type: Warning
Event Source: BizTalk Server 2009
Event Category: BizTalk Server 2009
Event ID: 5743
Description:
The adapter failed to transmit message going to send port "<send port>" with URL "<URL>". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Xml.XmlException: Start element 'SQLSTATEMENT' expected. Found element 'ns0:SQLSTATEMENT' from namespace 'http://Microsoft.LobServices.OracleDB/2007/03/SQLEXECUTE'.
CAUSE
This issue occurs because of an error in BizTalk Adapter 3.0 for Oracle Database.
RESOLUTION

Cumulative update information


A specific hotfix is available to resolve this issue. This hotfix is available individually and is included in Cumulative Update 1 for BizTalk Adapter Pack 2.0.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2444952 Cumulative update package 1 for BizTalk Adapter Pack 2.0


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


Prerequisites

To apply this hotfix, you must have Microsoft BizTalk Adapter Pack 2.0 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of BizTalk Adapter Pack 2.0
File nameFile versionFile sizeDateTimePlatform
Microsoft.adapters.oracledb.dll3.5.5311.0395,12820-Sep-201008:33x86
For all supported x64-based versions of BizTalk Adapter Pack 2.0
File nameFile versionFile sizeDateTimePlatform
Microsoft.adapters.oracledb.dll3.5.5311.0386,93621-Sep-201011:41x64


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
To perform an SQLEXECUTE operation on an Oracle database, you have to create a schema for the SQLEXECUTE operation by using the Consume Adapter Service BizTalk project add-in.

This issue usually occurs when you select the SQLEXECUTE schema as the destination schema in the BizTalk mapper to create the requests. The request that is created by the mapper contains a series of node numbers such as ns0, ns1, and ns2. For example, the request resembles the following:

<ns0:SQLEXECUTE xmlns:ns0="http://Microsoft.LobServices.OracleDB/2007/03/SQLEXECUTE"><ns0:SQLSTATEMENT>ExampleSQLSTATEMENT</ns0:SQLSTATEMENT>...</ns0:SQLEXECUTE>

REFERENCES
For more information about how to perform an SQLEXECUTE operation by using BizTalk Server, visit the following Microsoft Developer Network (MSDN) website:

For more information about how to generate a schema by using the Consume Adapter Service add-in, visit the following MSDN website:

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
bap2.0, cu1fix
Properties

Article ID: 2413183 - Last Review: 12/08/2010 18:04:00 - Revision: 1.0

  • kbbtsadapters kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced KB2413183
Feedback