January 17, 2006 at 2:52 pm
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction. [SQLSTATE 42000] (Error 7391) [SQLSTATE 01000] (Error 7312) OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a]. [SQLSTATE 01000] (Error 7300). The step failed.
So when I checked the properties of my serverA on the connections tab
Enforce Distributed Transactions(MTS) is not checked.
Is this causing the above error or do I need to anything else to run my SP successfully.
Thanks.
January 18, 2006 at 3:14 am
Add ServerB as a linked server..and run the stored procedure..
regards..
jyothi
January 18, 2006 at 4:46 am
Is one of the servers OS windows 2003?
January 18, 2006 at 8:44 am
No,Both of them are on windows NT.
Thanks.
January 18, 2006 at 10:57 am
NT-machines... hmm... which servicepack and which sql server version?
Do the tables have a primary key?
Both servers have MSDTC service running?
Have you rebooted the machines?
January 18, 2006 at 11:04 am
Both are sql server 2000 and same service packs
and the tables have primary key and MSDTC is running on both the servers and I haven't boot the serverB in recent days.
Thanks.
January 18, 2006 at 12:10 pm
Autostart MSDTC is enabled on both sql servers?
Unsure about this but there could be a problem when msdtc is started after sql server.
Same servicepacks.. SP1,SP2,SP3,SP3a,SP4...?
Nt servicepack SP6, SP6a?
Any firewall in between?
February 1, 2006 at 4:22 am
GO
USE DP_databasename
GO
BEGIN DISTRIBUTED TRANSACTION
SELECT * FROM Servername.databasename.dbo.TABLE
COMMIT TRAN
EXEC sp_addserver 'ComputerName', LOCAL
EXEC sp_serveroption 'ComputerName', 'data access', 'TRUE'
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply