Unix Technical Forum

distributed transaction problem ?

This is a discussion on distributed transaction problem ? within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, MSSQL 2000 booth servers. Booth running DTC. Now, the client application, is starting in DB1 a procedure. The ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 03:40 PM
Matik
 
Posts: n/a
Default distributed transaction problem ?

Hi,

MSSQL 2000 booth servers. Booth running DTC.

Now, the client application, is starting in DB1 a procedure.
The connection open to db, is within the transation opened from
client.

In the SP, I'm starting the transaction as well, with savepoint.

Unfortunately, I have to get data, from other linked server (DB2).

While performing query, the client application is recieving follow
messages:

If the query on DB2 is after a savepoint
------
Cannot go remote while the session is enlisted in a distributed
transaction that has an active savepoint

If the query, is before starting transaction in sp (save point as
well)
-----
The operation could not be performed because the OLE DB provider
'SQLOLEDB' was unable to begin a distributed transaction

Now ... I was trying to set xact_abort to on, before, and within the
transaction in SP.
But doesynt matter, it will not do.

While calling an SP from QA, it goes threw, with query on DB2 before
transaction inside SP.
For me, it is an information, that the problem which I get, is because
the client, while connecting to DB, is using it's connection within
transaction.

My question is: how can I, run this query on DB2, without affecting
changes on the client side ?

Below, small layout of this transactions stack

BEGIN TRANSACTION_1 (client side)
BEGIN TRANSACTION_2 (inside SP)
SAVE TRANSACTION_2

COMMIT OR ROLLBACK _TRANSACTION_2
COMMIT OR ROLLBACK _TRANSACTION_1 (client side)

where and with what option, put this query ?


Best regards - Matik

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com