[BTS] 5740,574 3 how to handle errors?

Source: Internet
Author: User
Tags biztalk


Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5740
Date: 2/28/2008
Time: 6:33:04
User: N/
Computer: LABS
Description:
The adapter "SQL" raised an error message. Details "HRESULT =" 0x80040e14 "Description =" SQLOLEDB Error Description: Ambiguous update, unique identifier required Transaction aborted"
<Root xmlns: ns00 = "urn: schemas-microsoft-com: xml-updategram"> <? MSSQLError HResult = "0x80040e14" Source = "Microsoft ole db Provider for SQL Server" Description = "SQLOLEDB Error Description: Ambiguous update, unique identifier required Transaction aborted"?> </Root> ".

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5743
Date: 2/28/2008
Time: 6:33:04
User: N/
Computer: LABS
Description:
The adapter failed to transmit message going to send port "UpdateSMGPLog" with URL "SQL: // labs/icationicationsystem /". it will be retransmitted after the retry interval specified for this Send Port. details: "HRESULT =" 0x80040e14 "Description =" SQLOLEDB Error Description: Ambiguous update, unique identifier required Transaction aborted"
<Root xmlns: ns00 = "urn: schemas-microsoft-com: xml-updategram"> <? MSSQLError HResult = "0x80040e14" Source = "Microsoft ole db Provider for SQL Server" Description = "SQLOLEDB Error Description: Ambiguous update, unique identifier required Transaction aborted"?> </Root> ".

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

By transferring the Xml of several key messages in the process, we can find that the Update Message is incomplete.

<Ns0: UpdateOCSLogRequest xmlns: ns0 = "http://EIAC.OA.NotificationSystem.UpdateOCSLog">
<Ns0: sync>
<Ns0: before> <ns0: OCSMessageLog> </ns0: OCSMessageLog> </ns0: before>
<Ns0: after> <ns0: OCSMessageLog StateID = "1"> </ns0: OCSMessageLog> </ns0: after>
</Ns0: sync>
</Ns0: UpdateOCSLogRequest>

Without the Before condition, this is equivalent to your SQL statement!
Update table set StateID = 1 where <???> People don't know who to update!

Find the cause of the error and sort out the corresponding process code. Are you sure you want to test again, this before already has data.

 

The problem has been solved again!

Xizang workers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.