zoukankan      html  css  js  c++  java
  • The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction

    今天遇到一起关于分布式事务错误的案例,如下所示,执行SQL脚本时报错, 错误信息具体如下所示:

     

    [OLE/DB provider returned message: 新事务不能登记到指定的事务处理器中。 ]

    OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a].

    Msg 7391, Level 16, State 1, Procedure UpdatePermissionSystem, Line 18

    The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.

     

      检查了数据库选项以及DTC配置,最后发现是事务管理器通信的选项没有选择不要求进行验证(No Authentication Required),而是勾选了要求相互进行身份验证(Mutual Authentication Required)导致. 选择了不要求进行验证 后,重启DTC服务,即可解决这个错误。

     

     

    clip_image001

  • 相关阅读:
    msp430入门学习21--TA
    msp430入门学习20
    msp430入门学习17
    msp430入门学习16
    msp430入门学习15--时钟
    msp430入门学习14
    msp430入门学习13
    msp430入门学习12
    msp430入门学习11
    msp430入门学习10
  • 原文地址:https://www.cnblogs.com/kerrycode/p/8810739.html
Copyright © 2011-2022 走看看