The distributed transaction could not be started because the OLE DB provider "SQLNCLI" of the linked server "IP"

Source: Internet
Author: User
Tags ole

Preface: A server and B server good link, can query, but use to distributed transaction error:


an unhandled "System.Exception" type of exception appears in Mes.exe.

Additional information: System.Data.SqlClient.SqlException: MSDTC on server ' Yichangmes ' is not available.
The operation cannot be performed because the OLE DB provider "SQLNCLI" of the linked server "" Could not start the distributed transaction

According to the online steps, add the host file, set MSDTC is not a line

Test with the DTCPing tool to see if the ping pass is possible, but there are warnings:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/C7/wKioL1WoemHQpqitAAH_UqLVuaE452.jpg "title=" Dtc3.png "alt=" Wkiol1woemhqpqitaah_uqlvuae452.jpg "/>

After query

Workaround: A bug that belongs to a. Net 2.0, hit hotfix:ndp20-kb916002-x86

3. Symptom: A warning appears when using DTC ping "warning:the CID values for both test

Machines is the same "


4. Symptom: The distributed error cannot be started on Win 2000

Cause: The cloned operating system causes the FIX: Add/Remove


WORKAROUND: Open the registry, HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\MSDTC

Modify the following two items:

Allowonlysecurerpccalls=0

Turnoffrpcsecurity=1

The registry has not been modified and the system has been re-installed!


Because Server B is cloned from Server A, first hit the patch error, directly re-installed the next system, done!!!


Summary: In the future even the test server can not be lazy!


This article is from "one van" blog, please be sure to keep this source http://1336014.blog.51cto.com/1326014/1675592

The distributed transaction could not be started because the OLE DB provider "SQLNCLI" of the linked server "IP"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.