RT,我执行用存储过程中使用链接服务器操作时报了这个错。虽然我百度了各种方式,但不大清楚这个原理暂时不敢擅自操作
希望有经验的大侠介绍下这个msdtc打开后有没什么安全隐患?
怎么打开?怎么检查是否已打开?等等之类的经验之谈。谢谢!下面是我搜来的解决方法
http://www.cnblogs.com/yumenjianke/archive/2008/06/16/1223405.html

解决方案 »

  1.   

    查看sql server的日志。The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted.  If you would like distributed transaction functionality, please start this service.有这么一段,表示未启用。
      

  2.   

    Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.这段表示OK。
      

  3.   

    开始→运行→输入CMD,回车→输入net start msdtc,回车。
    msdtc已启动。
      

  4.   


    如图,我看了下日志2句都有啊
    Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    这句貌似只是说尝试初始化dtc,但之后又来这句
    The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
    说无法连接到dtc
    那么出现这句貌似不是就说明成功了。我主要怕打开ms dtc有没什么安全隐患?梁sir求指点啊。
    小F姐来点意见啊,有木有安全隐患!
      

  5.   

    加上系統補丁就行了win2000時有存在隱患要打補丁,其它版本沒發現有相關隱患
      

  6.   


    两边msdtc都打开了,报这个错