zoukankan      html  css  js  c++  java
  • [BTS]5740, 5743错误如何处理?




    Event Type: Warning
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5740
    Date:  2/28/2008
    Time:  6:33:04 PM
    User:  N/A
    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 PM
    User:  N/A
    Computer: LABS
    Description:
    The adapter failed to transmit message going to send port "UpdateSMGPLog" with URL "SQL://labs/NotificationSystem/". 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.


    通过在流程中转出关键几个Message的Xml,发现, 于用Update的消息,数据不全。

    <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>

    没有Before条件,这就相当于你的sql语句少东西!
    update table set StateID=1 where <??????> 人家不知道去更新谁!

    找到错误原因后,把对应的流程代码再进行了一下整理。确定再测试时,这个before已经有数据了。



      问题又被解决了!

    西煞魄工人
  • 相关阅读:
    洛谷P2124 奶牛美容
    UVA10325 The Lottery
    CF979C Kuro and Walking Route
    洛谷P4318 完全平方数(莫比乌斯函数)
    hdu2204 Eddy's爱好(莫比乌斯函数)
    LOJ#6053. 简单的函数(min_25筛)
    洛谷P5325 【模板】Min_25筛
    超级码力在线编程大赛初赛 第3场 2.房屋染色
    超级码力在线编程大赛初赛 第3场 3.字符串游戏(Anti-Nim)
    超级码力在线编程大赛初赛 第3场 1.最大公倍数
  • 原文地址:https://www.cnblogs.com/xuzhong/p/1085258.html
Copyright © 2011-2022 走看看