Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Linked Server Question

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
sepknow
Asked:
sepknow
  • 2
1 Solution
 
James MurrellProduct SpecialistCommented:
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
 
sepknowAuthor Commented:
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
 
sepknowAuthor Commented:
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now