SQL Service on LinkedIn
SQL Service

Begin Distributed Transaction

Skrivet den 27 januari i English ,Jan Nieminen ,Level 300 ,Tools Inga kommentarer

A transaction is a essential part of every database/application. If a transaction involves more than one server it becomes distributed and this is where MS DTC comes into play. The first step to make a distributed transaction work is to make sure SQL Server can enlist in the local MS DTC and a good place to start is to run the following in Management Studio:

BEGIN DISTRIBUTED TRANSACTION

If MS DTC is not installed or not working properly the above statement will produce an error message and you need to solve this before you can go ahead and test transactions against other servers.

Once the local transaction coordinator is working there are some tools to check if MS DTC is working properly with other servers.

DTC PING is a tool that is used to check that certain ports are open and that name resolution works, if you for example need to run distributed transactions through a firewall.
It can be downloaded here:

http://www.microsoft.com/download/en/details.aspx?id=2868

DTC TESTER is another tool that actually creates and runs a dummy distributed transaction. Over the years i’ve found this tool very reliable and in my experience if this works then you won’t have any problems running distributed transactions.
It can be downloaded here:

http://support.microsoft.com/kb/293799

Lämna en kommentar

Nyheter

SQL Server 2012 Business Intelligence/Developer Skills Upgrade

SQL Service håller tillsammans med LabCenter en 2 dagarslabb i Stockholm, Göteborg och Malmö.

I denna tvådagarslabb framtagen av Håkan Winther COO på SQL
Service och Göran Rönnbäck, konsult på SQL Service, lär du d…

Läs mer

Välkommen Joakim!

Vi välkomnar vår nya medarbetare Joakim Nyström som kommer närmast ifrån InkClub, och har lång erfarenhet av SQL server. Han kommer mestadels att jobba med databasutveckling, databasdesign, prestandaoptimeri…

Läs mer

Analytisk BI konsult

Vi har just nu stor efterfrågan på BI konsulter och därför söker vi ännu en erfaren SQL Server BI konsult. Vi vill att du har minst 5 års praktisk erfarenhet som dedikerad SQL Server BI Konsult, gärna i stora, kritisk…

Läs mer

SQL Service + LabCenter = Sant

Nu lanserar SQL Service i samarbete med LabCenter, 2 nya labbar kring Microsoft SQL Server 2012. I den första labben jobbar vi med den nya AlwaysOn funktionaliteten, sätter upp den från grunden och utforskar möjlig…

Läs mer

Tack för det stora intressset!

Vi från SQL Service och ADD Skills vill tacka er som deltog på SQL Server Denali/2012 Skills update. Det var roligt att träffa er och dela med oss av våra erfarenheter.

Presentationerna kommer inom de närmaste dagarn…

Läs mer

COPYRIGHT SQL Service | Strandbergsgatan 61, 112 51 Stockholm

Hemsida av webbdesigner på Grafix Studio