Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: Trigger help Date: Thu, 05 Apr 2012 23:51:42 +0200 Organization: Erland Sommarskog Lines: 29 Message-ID: References: <11931752.1474.1333025246004.JavaMail.geo-discussion-forums@pbjv6> <17890250.1123.1333548317738.JavaMail.geo-discussion-forums@pbcoy7> <26993464.772.1333631164888.JavaMail.geo-discussion-forums@pbcov6> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="nBFDv6s1VJQDuF1w6hpX2A"; logging-data="4295"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4TMF1B004DUuyeUql0uUQ" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:42pr4hSL5fuTS9DAEtvsYjTP4zI= Xref: csiph.com comp.databases.ms-sqlserver:961 Johnnyb (john.lutheran@gmail.com) writes: > Error messages: > The operation could not be performed because OLE DB provider "SQLNCLI10" > for linked server "DB02TSSNT" was unable to begin a distributed > transaction. (Source: MSSQLServer, Error number: 7391) > Get help: http://help/7391 > The operation could not be performed because OLE DB provider "SQLNCLI10" > for linked server "DB02TSSNT" was unable to begin a distributed > transaction. (Source: MSSQLServer, Error number: 7391) > Get help: http://help/7391 That may be difficult to overcome. I'm not always successful myself. Are these two servers in the same domain? Are they in a domain at all? Since you already have replication in place, maybe it would be better to set up the database as a subscriber, and then have a replication filter, so that only the relevant rows are inserted? As I said, linked servers in triggers can be a headache, and I would certainly like to try alternative solutions. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx