SQL Port: using of the ROLLBACK
- From: "Leo Gan" <leo_gan_57@xxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 16:32:33 -0800
Hi,
When I tried to use
BEGIN TRAN MAIN
....
ROLLBACK TRAN MAIN
inside of the SP which is started by BizTAlk SQL port,
I've got couple events:
Event Type: Warning
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5740
Date: 11/28/2006
Time: 4:21:07 PM
User: N/A
Computer: CORPBTS1
Description:
The adapter "SQL" raised an error message. Details "HRESULT="0x80004005" Description="Cannot roll back MAIN. No transaction or savepoint of that name was found."
".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
AND then the second event
Event Type: Warning
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5743
Date: 11/28/2006
Time: 4:21:07 PM
User: N/A
Computer: CORPBTS1
Description:
The adapter failed to transmit message going to send port "SQL://CORPNT5/Prod/". It will be retransmitted after the retry interval specified for this Send Port. Details:"HRESULT="0x80004005" Description="Cannot roll back MAIN. No transaction or savepoint of that name was found."
".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
When I've changed to the:
BEGIN TRAN MAIN
....
ROLLBACK WORK
I've got the different events
Event Type: Warning
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5740
Date: 11/28/2006
Time: 4:16:09 PM
User: N/A
Computer: CORPBTS1
Description:
The adapter "SQL" raised an error message. Details "HRESULT="0x80040e14" Description="Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction."
".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
AND then the second event
Event Type: Warning
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5743
Date: 11/28/2006
Time: 4:16:09 PM
User: N/A
Computer: CORPBTS1
Description:
The adapter failed to transmit message going to send port "SQL://CORPNT5/Prod/". It will be retransmitted after the retry interval specified for this Send Port. Details:"HRESULT="0x80040e14" Description="Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction."
".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
As I can understand the SQL Port create the wrapping transaction and...
in result I cannot properly use the ROLLBACK feature.
Or there is something different?
Have any ideas??
Thanks for help!
Leonid Ganeline
BizTalk Solution Developer
===========================
http://geekswithblogs.com/leonidganeline
================================
.
- Follow-Ups:
- Re: SQL Port: using of the ROLLBACK
- From: Leo Gan
- RE: SQL Port: using of the ROLLBACK
- From: Matt Meleski
- Re: SQL Port: using of the ROLLBACK
- Prev by Date: Oracle IFact Retriever
- Next by Date: Examples needed
- Previous by thread: Oracle IFact Retriever
- Next by thread: RE: SQL Port: using of the ROLLBACK
- Index(es):
Relevant Pages
|
|