zoukankan      html  css  js  c++  java
  • 配置DTC:The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "test" was unable to begin a distributed transaction.

    出现这个错误时因为这台服务器,或者链接服务器那台服务器没有配置好MS DTC(Microsoft Distributed Transaction Coordinator  微软 分布式事务协调器)。

    首先确保开启了 'remote access'、 'remote admin connections'、 'remote proc trans'选项

    EXEC sp_configure 'show advanced options', 1;
    go
    RECONFIGURE;
    go
    EXEC sp_configure 'remote access', 1;
    go 
    RECONFIGURE;
    go
    EXEC sp_configure 'remote admin connections', 1;
    go
    RECONFIGURE;
    go
    EXEC sp_configure 'remote proc trans', 1;
    go
    RECONFIGURE;

    配置DTC步骤

    Step 1:Run->dcomcnfg 直接跳出组件服务

    Step2: 进入界面点击(Console Root->Componet Services->Computers->My Computer->Distributed Transaction Coordinator-> Local DTC)

                           

    Step3: 右键单击"Local DTC"的属性,就可以看到“Tracing”、“Logging”、“Security”三个面板。

    如下所示,设置“Security”下的属性

  • 相关阅读:
    弹性盒子
    bzoj4237 稻草人
    bzoj2654 tree
    bzoj4813 [Cqoi2017]小Q的棋盘
    bzoj1014 [JSOI2008]火星人
    bzoj3242 [Noi2013]快餐店
    bzoj4025 二分图
    bzoj3237 [Ahoi2013]连通图
    bzoj3244 [Noi2013]树的计数
    bzoj2431 [HAOI2009]逆序对数列
  • 原文地址:https://www.cnblogs.com/michelledawm/p/7155234.html
Copyright © 2011-2022 走看看