Microsoft KB Archive/919607

= FIX: An event may be logged when you use BizTalk Adapter for Oracle Database =

Article ID: 919607

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft BizTalk Adapter for Oracle Database

-



SYMPTOMS
Consider the following scenario. You use Microsoft BizTalk Adapter for Oracle Database to update an Oracle database table. You use the INSERT method to insert a row into the Oracle database table. The Oracle database table contains one or more DATE fields. The XML message that is submitted to BizTalk Adapter for Oracle Database does not contain all the DATE fields that are contained in the Oracle database table. In this scenario, an event that resembles the following may be logged: Event Type: Error

Event Source: Microsoft BizTalk Adapters for Enterprise Applications

Event Category: None

Event ID: 0

Description:

System defined exception

Call to Insert@OracleDb://VALDB/PSSUSR/Tables/VALINV

Implementation = OracleDb://VALDB/PSSUSR/Tables/VALINV

Source: OracleDb

Cause: OracleDb://exception=DBException (Unique ID )

22003 : [Oracle][ODBC]Numeric value out of range.

Exception data:

struct DBException =

WideString StatusCode = &quot;22003&quot;

WideString Description = &quot;[Oracle][ODBC]Numeric value out of range.&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 must restart the computer after you apply this hotfix if the Oapcba.dll file is in process when you apply this hotfix. To avoid restarting the computer, exit all Microsoft BizTalk Server applications that are using BizTalk Adapter for Oracle Database before 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.



WORKAROUND
To work around this problem, include all the DATE fields in the XML message that is submitted to BizTalk Adapter for Oracle Database.



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 may occur if the XML message does not contain all the DATE fields that are contained in the Oracle database table. For example, you use the following statement to create an Oracle database table. CREATE TABLE DATETBL (&quot;NAME&quot; VARCHAR2(15 byte), &quot;STARTDATE&quot; DATE, &quot;ENDDATE&quot; DATE, &quot;SALARY&quot; NUMBER(6)) The following XML message fails when you use the INSERT method to update the Oracle database table.    Some Name 2006-05-31T13:20:00.000-05:00 30000   </ns0:Insert> However, the following XML message that contains the ENDDATE field works as expected. <ns0:Insert xmlns:ns0=&quot;http://schemas.microsoft.com/[OracleDb://MYDB/PSSUSR/Tables/DATETBL]&quot;>   Some Name</ns0:NAME> 2006-05-31T13:20:00.000-05:00</ns0:STARTDATE> <ns0:ENDDATE></ns0:ENDDATE> 30000</ns0:SALARY> </ns0:InsertRecord> </ns0:Rows> </ns0:Insert>

<div class="references_section">