Solved

Linked Server Question

Posted on 2008-06-13
3
161 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

809 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