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”下的属性

  • 相关阅读:
    05 css继承性
    04 选择器权重
    03 css三种引入的方式
    02 css实现举例
    01 css介绍
    05 dl-添加定义列表
    04 ol-热门点击排行榜
    02 h1 p hr br 特殊符号
    01html简介
    函数内置方法
  • 原文地址:https://www.cnblogs.com/michelledawm/p/7155234.html
Copyright © 2011-2022 走看看