Solved

Linked Server Question

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parse field in SQL View 15 96
System Center 2016 SQL Srv 1 24
Alter table 4 23
T-SQL:  Why can you not SUM on a CASE statement, for crying out loud? 2 29
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now