Open the MSDTC method (diagram), open the msdtc method Diagram

Source: Internet
Author: User

Open the MSDTC method (diagram), open the msdtc method Diagram

I recently used it when I was working on a project.. net. transactions (distributed transaction), after the project development is complete, encountered the msdtc problem during the arrangement. After reading a lot of relevant information, this problem was solved, the general problem is that the database cannot be accessed because distributed transactions are used. The specific error message is unclear .. You can also find many solutions on the Internet, but start the service and modify the options in the component service. However, when the web server and the database server are not on the same machine, an error is returned .. The following is my solution ..

1. Open the Distributed Transaction Coordinator service in the service.

2. modify some options in the component service.
Click Start> Administrative Tools> component services ";
Expand "component service"> "computer"> "my computer"> "Distributed Transaction Coordinator", right-click "Local DTC", select "properties", and click set, after setting, click OK.

At this time, the local server can be used normally, but when the web server and the database server are not on the same machine, an error will still be reported, in this case, you need to open a port and an application on the database server.

3. Enable Firewall settings and add inbound/outbound rules
Port 135
The application is C: \ Windows \ System32 \ msdtc.exe

It should be okay now ..

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.