紧急求助!链接服务更新问题,我要完了
紧急求助!链接服务更新问题,我要完了
本人用链接服务方式更新另一台服务器的数据
直接在查询分析器中执行如下:
update manager01.erp_universal.dbo.part set description='test' where id='1111'
可以成功
但如果加上事务执行
------------------
begin tran
update manager01.erp_universal.dbo.part set description='test' where id='1111'
commit
-------------------
就出现如下错误:
Server: Msg 7391, Level 16, State 1, Line 2
The 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].
因为是在程序里更新,自动会加上事务
真的找不到原因了,请各位高手帮我解决啊
急,在线等,谢谢,谢谢