Solved

Linked Server Question

Posted on 2008-06-13
3
160 Views
Last Modified: 2013-11-30
Hi Experts,

My PC is linked to a SQL Server running on Window Server 2003. It is clustered.

When I execute this from my PC:
update [Server1\Instance1].[Database1].[dbo].[Table11] set EmployeeID='123' where EmployeeID='ABC'
everything works fine.

But when I add
begin tran
update [Server1\Instance1].[Database1].[dbo].[Table11] set EmployeeID='123' where EmployeeID='ABC'
commit

I get:
MSDTC on server "Server1\Instance1" is unavailable.

Any advice appreciated.
0
Comment
Question by:sepknow
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
James Murrell earned 500 total points
ID: 21777440
On the server where the trigger resides, you need to turn the MSDTC service on. You can this by clicking START > SETTINGS > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES. Find the service called 'Distributed Transaction Coordinator' and RIGHT CLICK (on it and select) > Start.

Resources:
http://support.microsoft.com/kb/822473/
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=54705


taken from http://geekswithblogs.net/narent/archive/2006/10/09/93544.aspx
0
 

Author Comment

by:sepknow
ID: 21778318
This service is configure to start automatically but it did not start.
I will try to start it next Monday and response by then. Thanks.
0
 

Author Comment

by:sepknow
ID: 21792207
Hi cs97jjm3,

I accepted your solution because 'Distributed Transaction Coordinator' must start inorder to linked servers to work.
I am going to raise another question because I encounter error (see attached file) when I try to start the service. Not sure if it is related to the cluster service.
Thanks anyway.
MSDTC-Error-Message.png
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question