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: BizTalk Adapter for Oracle Database modifies the data in the DateTime field when you use the Insert method, the Update method, or the Query method


Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry

↑ Back to the top


Symptoms

Microsoft BizTalk Adapter for Oracle Database modifies the data in the DateTime field when you insert data into an Oracle database or retrieve data from an Oracle database. This problem occurs when you use the Insert method, the Update method, or the Query method to insert data into an Oracle database or to retrieve data from an Oracle database.

↑ Back to the top


Resolution

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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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 Web site: 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

No prerequisites are required.

Registry information

You must create a registry key to enable this hotfix. For more information, see the "More Information" section.

Restart requirement

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

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 sizeDateTimePlatform
Btcore.dll1.0.1088.02,129,16027-Jul-200623:37x86
Oapcba.dll1.0.1088.0254,72827-Jul-200623:37x86
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

↑ 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


More Information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Before you apply this hotfix, BizTalk Adapter for Oracle Database modifies the data in the DateTime field as follows:
  • When you use the Input method or the Update method, BizTalk Adapter for Oracle Database assumes that the data in the DateTime field in a message is in Coordinated Universal Time (Greenwich Mean Time). When BizTalk Adapter for Oracle Database processes the message, BizTalk Adapter for Oracle Database converts the data to the local time for the server that is running Microsoft BizTalk Server. Then, BizTalk Adapter for Oracle Database inserts the data or updates the data in the Oracle database.

    For example, the data in the DateTime field is 2005-05-05T00:00:00. BizTalk Adapter for Oracle Database is running on a server in the Pacific Time zone during daylight saving time. Therefore, BizTalk Adapter for Oracle Database converts the data in the DateTime field to 2005-05-04T17:00:00.
  • When you use the Query method to retrieve data from an Oracle database, BizTalk Adapter for Oracle Database assumes that the data in the DateTime field is in the local time for the local server that is running BizTalk Server. BizTalk Adapter for Oracle Database converts the data to Coordinated Universal Time and then sends the message to BizTalk Server.

    For example, the data in the DateTime field in the Oracle database is 2005-05-04T17:00:00. BizTalk Adapter for Oracle Database that is running on a server in the Pacific Time zone during daylight saving time returns 2005-05-05T00:00:00. In the same example, BizTalk Adapter for Oracle Database that is running on a server in the Eastern Time zone during daylight saving time returns 2005-05-04T21:00:00.
To prevent BizTalk Adapter for Oracle Database from modifying the data in the DateTime field, you must apply this hotfix. Additionally, you must create a registry key to enable this hotfix. To create the registry key, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the appropriate registry key, depending on the system:
    • On a 32-bit server, locate the following registry key:
      HKEY_LOCAL_MACHINE\Software\ Microsoft\BizTalkAdapters\Config\Global\Adapters\OracleDB
    • On a 64-bit server, locate the following registry key:
      HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\BizTalkAdapters\Config\Global\Adapters\OracleDB
  3. Right-click the registry key that you located in step 2, point to New, and then click DWORD Value.
  4. Type LocalTimes, and then press ENTER.
  5. Right-click LocalTimes, and then click Modify.
  6. In the Value data box, type 0, and then click OK.

    Note If you type a value other than 0, BizTalk Adapter for Oracle Database modifies the data in the DateTime field.
  7. Exit Registry Editor.

↑ Back to the top


References

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

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, kbhotfixserver, kbpubtypekc, kbfix, kbentirenet, kbbts, kbbtsadapters, kb, kbautohotfix, kbbug

↑ Back to the top

Article Info
Article ID : 921999
Revision : 1
Created on : 3/25/2017
Published on : 9/23/2011
Exists online : False
Views : 602