Re: SQL Port: using of the ROLLBACK
- From: "Leo Gan" <leo_gan_57@xxxxxxxxxxx>
- Date: Wed, 29 Nov 2006 10:30:58 -0800
Is that mean I cannot use ROLLBACK in the stored procedures (which are called from SQL port) at all?
--
Regards
Leonid Ganeline
BizTalk Solution Developer
===========================
http://geekswithblogs.com/leonidganeline
================================
"Leo Gan" <leo_gan_57@xxxxxxxxxxx> wrote in message news:DAEDE648-8225-4FFF-BDF9-645D6D5338E7@xxxxxxxxxxxxxxxx
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: Matt Meleski
- Re: SQL Port: using of the ROLLBACK
- References:
- SQL Port: using of the ROLLBACK
- From: Leo Gan
- SQL Port: using of the ROLLBACK
- Prev by Date: Re: Dumb question but...
- Next by Date: Re: Future of Biztalk
- Previous by thread: Re: SQL Port: using of the ROLLBACK
- Next by thread: Re: SQL Port: using of the ROLLBACK
- Index(es):
Relevant Pages
|