简体   繁体   English

如何在SQL Server 2014上启用MSDTC?

[英]How to enable MSDTC on SQL Server 2014?

I have installed SQL Server Enterprise version on my local Windows server, and now I have need help to enable MSDTC services. 我已经在本地Windows服务器上安装了SQL Server Enterprise版本,现在需要帮助来启用MSDTC服务。

I have contacted Microsoft help, but they are taking a long time to respond. 我已经联系Microsoft帮助,但是他们花了很长时间才能做出答复。

Use this for windows Server 2008 r2 将其用于Windows Server 2008 R2

  1. Click Start , click Run , type dcomcnfg and then click OK to open Component Services . 单击开始 ,单击运行 ,键入dcomcnfg ,然后单击确定以打开组件服务

  2. In the console tree, click to expand Component Services , click to expand Computers , click to expand My Computer , click to expand Distributed Transaction Coordinator and then click Local DTC . 在控制台树中,单击以展开“ 组件服务” ,单击以展开“ 计算机” ,单击以展开“ 我的电脑” ,单击以展开“ 分布式事务处理协调器” ,然后单击“ 本地DTC”

  3. Right click Local DTC and click Properties to display the Local DTC Properties dialog box. 右键单击“ 本地DTC” ,然后单击“ 属性”以显示“ 本地DTC属性”对话框。

  4. Click the Security tab. 单击安全选项卡。

  5. Check mark "Network DTC Access" checkbox. 选中“网络DTC访问”复选框。

  6. Finally check mark "Allow Inbound" and "Allow Outbound" checkboxes. 最后,选中“允许入站”“允许出站”复选框。

  7. Click Apply , OK . 单击“ 应用” ,然后单击“确定”

  8. A message will pop up about restarting the service. 将弹出有关重新启动服务的消息。

  9. Click OK and That's all. 单击确定 ,仅此而已。

To add-on, below is how to check the DTC service. 要添加,下面是如何检查DTC服务。

  1. Launch Run in windows run dialog then entered dcomcnfg and press OK 在Windows运行对话框中启动运行运行 ,然后输入dcomcnfg ,然后按确定
  2. Expanded Component Services " > Computers > My Computer > Distributed Transaction Coordinator > Local DTC > Transaction Statistics 展开的组件服务 “> 计算机 > 我的电脑 > 分布式事务处理协调器 > 本地DTC > 事务处理统计信息
  3. Execute a distributed transaction query in SSMS to monitor DTC SSMS中执行分布式事务查询以监视DTC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM