PRB: Error "GetXaSwitch Function Failed" When You Use Transactional MTS/COM+ Components with Oracle Databases (280841)



The information in this article applies to:

  • Microsoft Transaction Server 2.0
  • Microsoft COM+ 1.0
  • Microsoft COM+ 1.5
  • Microsoft Data Access Components 2.1 (GA)
  • Microsoft Data Access Components 2.1 SP2
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.5 SP1
  • Microsoft Data Access Components 2.6

This article was previously published under Q280841

SYMPTOMS

When you use transactional Microsoft Transaction Server (MTS)/COM+ components against Oracle databases, the components fail with the following errors in the event log:
Event Source: MSDTC
Event Category: XATM
Event ID: 53286
Date: 10/2/2000
Time: 1:21:21 PM
User: N/A
Computer: MYCOMPUTER
Description:
The XA Transaction Manager called the "GetXaSwitch" function in the XA
resource manager DLL. The call to the "GetXaSwitch" function failed:
File=i:\viper\src\dtc\xatm\src\xarmconn.cpp Line=2249.
Event Type: Information
Event Source: MSDTC
Event Category: MTXOCI
Event ID: 4156
Date: 10/2/2000
Time: 1:21:21 PM
User: N/A
Computer: MYCOMPUTER
Description:
String message: TM failed to connect to the RM. Following was the connect
string.
Event Type: Information
Event Source: MSDTC
Event Category: MTXOCI
Event ID: 4156
Date: 10/2/2000
Time: 1:21:21 PM
User: N/A
Computer: MYCOMPUTER
Description:
String message:
Oracle_XA+Acc=P/NASER/fed_sys+SesTm=600+SqlNet=ORASERVER+Threads=TRUE.
NOTE: This problem does not occur with non-transactional components.

CAUSE

This problem occurs if RMGUID is not being initialized as part of the Oracle client software installation.

RESOLUTION

To resolve this problem, reinstall the Oracle client software.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbDatabase kberrmsg kbOracle kbprb KB280841