Microsoft KB Archive/918854

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

Article ID: 918854

Article Last Modified on 11/15/2007

-

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 &quot;OraSQL_ORADB&quot; with URL &quot;OracleDb://DBPSS_9a938705-678a-4fe6-91f9-c7bfbd49fef5&quot;. It will be retransmitted after the retry interval specified for this Send Port. Details:&quot;Error transmitting message:  SOAP-ENV:Server 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 = &quot;HY000&quot; WideString Description =

&quot;[Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column &quot; HY000[Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column  &quot;.



Hotfix information
A supported hotfix is now 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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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.

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 &quot;Applies to&quot; 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 (&quot;EMPLOYEE_ID&quot; NUMBER(6) NOT NULL, &quot;START_DATE&quot; DATE NOT NULL, &quot;END_DATE&quot; DATE NOT NULL, &quot;JOB_ID&quot; VARCHAR2(10 byte) NOT NULL, &quot;DEPARTMENT_ID&quot; NUMBER(4) NOT NULL); The following XML file that uses a parameterized INSERT command fails:  INSERT INTO job_history (employee_id,start_date,end_date,job_id,department_id) VALUES (?,'02-APR-06','12-APR-06',?,10);  <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=&quot;http://schemas.microsoft.com/[OracleDb://DBPSS/NativeSQL]&quot;> 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>

<div class="moreinformation_section">

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

Keywords: kbbtsadapters kbbts kbbug kbfix kbpubtypekc kbhotfixserver kbqfe KB918854

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.