| Author |
Topic |
|
shanly
Starting Member
17 Posts |
Posted - 2005-08-23 : 02:12:36
|
| I tried to link two sql server 2000 editions, MS SQL Server 2000 standard edition on windows 2003 server standard edition and MS Desktop edition 2000 on windows XP OS using linked server by Microsoft OLE DB Provider, also direct SQL Server option. I configure the liked server on MS SQL Server 2000 Standard Edition. Everything worked perfect. I can see the remote server tables in MS SQL Server 2000 Standard Edition as well as I can select data from remote server,i can insert data from sqlserver 2000 standard edition to desktop edition also the stored procedure also work fine. But I need to run a trigger on MS Sqlserver 2000 Standard Editin to synchronize the data. I can create the trigger but when i tried to insert the data it shows me a error shown below..Created trigger is...create trigger triggername on tablenamefor insertasset XACT_ABORT oninsert into GPCDEVS.Bis2000.bisuser.test select * from inserted gogives this errorServer: Msg 7391, Level 16, State 1, Procedure tt, Line 6The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a].THE MSDTC services is running on both servers. Also done the configuration on w2K3 server said in article 306212?please help me in this. I am stuck with this.. |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
|
|
Kristen
Test
22859 Posts |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
Posted - 2005-08-23 : 03:34:29
|
quote: Originally posted by Kristen Is this different to the question you asked here:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53906?Kristen
Looks like it is the same thing. Although I think the reason it works using OPENQUERY in QA is that he is not firing off a distributed transaction. Using a trigger he is.-ec |
 |
|
|
shanly
Starting Member
17 Posts |
|
|
shanly
Starting Member
17 Posts |
Posted - 2005-08-23 : 03:41:06
|
| i tried using begin distributed tran transaction name & commint tran transaction name too. no use still shows the same errorI same question I asked 1 week back but no one give me a proper answer. i search in google find many guys facing this problem, everywhere there is no proper answerthanks shanly |
 |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
|
|
shanly
Starting Member
17 Posts |
Posted - 2005-08-23 : 03:58:19
|
| yes i got it. thank you very much for your help. the problem is also related to sqlserver 2000 service pack |
 |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
Posted - 2005-08-23 : 03:59:34
|
quote: Originally posted by shanly yes i got it. thank you very much for your help. the problem is also related to sqlserver 2000 service pack
If you can elaborate on that it might help someone who searches and finds this message. thanks.-ec |
 |
|
|
shanly
Starting Member
17 Posts |
|
|
|