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已经有数据了。



      问题又被解决了!

    西煞魄工人
  • 相关阅读:
    2012 Multi-University Training Contest 8
    uva 11354最小生成树瓶颈路(lca算法实现)(rmq在多校二中有一道题)
    POJ 3164最小树形图
    uva11865 二分+最小树形图(朱刘算法)
    LA 5717枚举+最小生成树回路性质
    2014/3/9 长沙多校(第二次)
    zoj3759(待解决+算法木有问题+but需要java大数)
    ztr loves lucky numbers--hdu5676(DFS)
    C. Nearest vectors--cf598C(极角排序)
    D. Spongebob and Squares--cf599D(数学)
  • 原文地址:https://www.cnblogs.com/xuzhong/p/1085258.html
Copyright © 2011-2022 走看看