FIX: Event ID: 5743 when you use the BizTalk Adapter for Oracle Database to submit native SQL parameterized INSERT commands to an Oracle database table (918854)



The information in this article applies to:

  • Microsoft BizTalk Adapter for Oracle Database

SYMPTOMS

When you use the Microsoft BizTalk Adapter for Oracle Database to submit native SQL parameterized INSERT commands to an Oracle database table, you may receive an error message that resembles the following in the Application log in Event Viewer:
Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID:  5743

Description: The adapter failed to transmit message going to send port "OraSQL_ORADB" with URL "OracleDb://DBPSS_9a938705-678a-4fe6-91f9-c7bfbd49fef5". It will be retransmitted after the retry interval specified for this Send Port. Details:"Error transmitting message: <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Request ID: Unknown
Exception Type: System defined exception
Exception Info:
    Exception occurred:
            Source: OracleDb
            Error Code: 1461 (0x5b5)
            Cause: OracleDb://exception=DBException (Unique ID &lt;none&gt;)
        HY000 : [Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column

    Exception data:

	struct DBException = 
                WideString StatusCode = "HY000"
                WideString Description = 

"[Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column
"</faultstring><detail><exposed:DBException xmlns:exposed="http://schemas.microsoft.com"><exposed:StatusCode>HY000</exposed:StatusCode><exposed:Description>[Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column
</exposed:Description></exposed:DBException></detail></SOAP-ENV:Fault>".

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft BizTalk Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

No prerequisites are required.

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.
File nameFile versionFile sizeDateTime
Oapcba.dll1.0.1081.0253,19217-May-200622:18
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

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

MORE INFORMATION

This problem occurs if the following conditions are true:
  • The first input string does not contain a number.
  • A subsequent input string contains a number.
For example, you use the following statement to create an Oracle database table:
CREATE TABLE JOB_HISTORY ("EMPLOYEE_ID"
NUMBER(6) NOT NULL, "START_DATE" DATE NOT NULL, 
"END_DATE" DATE NOT NULL, "JOB_ID" VARCHAR2(10 
byte) NOT NULL, "DEPARTMENT_ID" NUMBER(4) NOT 
NULL);
The following XML file that uses a parameterized INSERT command fails:
<ns0:SQLExecute xmlns:ns0="http://schemas.microsoft.com/[OracleDb://DBPSS/NativeSQL]">
<ns0:StatementText>INSERT INTO job_history (employee_id,start_date,end_date,job_id,department_id) VALUES (?,'02-APR-06','12-APR-06',?,10);
</ns0:StatementText>
<ns0:ParameterSet>
<ns0:parameterData>
<ns0:string>106</ns0:string>
<ns0:string>Test</ns0:string> <<<<Note: No number is in the string.
</ns0:parameterData>
<ns0:parameterData>
<ns0:string>105</ns0:string>
<ns0:string>AAA 2</ns0:string> <<<<Note: This number causes the error.
</ns0:parameterData>
</ns0:ParameterSet>
</ns0:SQLExecute>
However, the following XML file that uses a parameterized INSERT command works as expected:
<ns0:SQLExecute xmlns:ns0="http://schemas.microsoft.com/[OracleDb://DBPSS/NativeSQL]">
<ns0:StatementText>INSERT INTO job_history (employee_id,start_date,end_date,job_id,department_id) VALUES (?,'02-APR-06','12-APR-06',?,10);
</ns0:StatementText>
<ns0:ParameterSet>
<ns0:parameterData>
<ns0:string>104</ns0:string>
<ns0:string>Test 2</ns0:string> <<<Note: A number is here.
</ns0:parameterData>
<ns0:parameterData>
<ns0:string>105</ns0:string>
<ns0:string>AAA</ns0:string>
</ns0:parameterData>
</ns0:ParameterSet>
</ns0:SQLExecute>

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MajorLast Reviewed:9/14/2006
Keywords:kbBTSAdapters kbBTS kbbug kbfix kbQFE kbpubtypekc kbhotfixserver KB918854 kbAudDeveloper kbAudITPRO