MSSQL2008: DTC Transaction - Internal abort

Posted by Teutales on Stack Overflow See other posts from Stack Overflow or by Teutales
Published on 2010-06-17T09:52:23Z Indexed on 2010/06/18 8:03 UTC
Read the original article Hit count: 591

Filed under:
|

Hi all,

I write a small own replication - a trigger which fires an DTC INSERT to another server (one reason for my own "replication": while trigger is running it calculates some data, another: it works from an express version to an express version).

When I do the initial insert from the same Host with the windows authentification it works fine. But there is a webserver on another host, which uses the sqlserver login (for testing sa). When this Host do the initial insert I get a Internal abort after the entlisting and creating phase in the DTCTransaction EventClass (Profiler).

The magic is: When I first fire it from the same Host with the windows authentification, I can fire it from the webserver and it works fine. But I just have to wait some minutes and it won't work.

Where is my error in reasoning...

Thanks! Greetz Teutales

Here is my initial server script:

 EXEC master.dbo.sp_addlinkedserver @server = @Servername, @srvproduct=N'SQL Server' 

 EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = @Servername, @locallogin = NULL , @useself = N'False', @rmtuser = @Serverlogin, @rmtpassword = @Serverpwd

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about msdtc