XA Transactions
From: steffenv (steffenv_at_discussions.microsoft.com)
Date: 10/26/04
- Next message: steffenv: "RE: XA Transactions"
- Previous message: Igor Shekalev: "Re: Setting Extended Properties"
- In reply to: jlewis: "ODBC ACCESS 2000 Oracle Firewall"
- Next in thread: steffenv: "RE: XA Transactions"
- Reply: steffenv: "RE: XA Transactions"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 26 Oct 2004 14:29:01 -0700
Hi,
I'm trying to to have SQL Server 2000 participate in a 2PC scenario using
DTC as an XA compliant RM. I can successfully call the xa functions on the
the xa_switch_t struct provided in XaSwitch.Lib. According to the
documentation, after beginning a transaction I have to inform the RM about
the transaction using SQLSetConnectAttr(SQL_ATTR_ENLIST_IN_XA, TRUE, 0).
However, this returns the error 25000 'Illegal operation while in a local
transaction'. If I call it right after establishing the connectiion, I get
HYC00 'Optional feature not implemented' from the driver. Is
SQL_ATTR_ENLIST_IN_XA supported in SQLServer? If so where should I setl it
and if not what other options do I have to use SQL Server in that scenario?
Thanks,
Steffen
- Next message: steffenv: "RE: XA Transactions"
- Previous message: Igor Shekalev: "Re: Setting Extended Properties"
- In reply to: jlewis: "ODBC ACCESS 2000 Oracle Firewall"
- Next in thread: steffenv: "RE: XA Transactions"
- Reply: steffenv: "RE: XA Transactions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|