求助 关于分布式事务

聪明的一休 2004-12-08 10:04:37
执行分布式事务时,提示错误:
服务器: 消息 7391,级别 16,状态 1,行 16
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].

应该是SQLOLEDB不支持ITransactionJoin接口
请问一般如何看SQLOLEDB是否支持ITransactionJoin接口?我想要实现分布式事务,该如何操作?
...全文
99 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
聪明的一休 2005-01-14
  • 打赏
  • 举报
回复
果然,感谢鬼加藤
clop 2005-01-13
  • 打赏
  • 举报
回复
不同网段的服务器要ping通机器名吧,设一下wins看看
lh1979 2004-12-17
  • 打赏
  • 举报
回复
两边的msdtc都要启动,还有
要强制分布式事务处理等
聪明的一休 2004-12-08
  • 打赏
  • 举报
回复
1.MSDTC已启动
2.不加事务,是可以执行link server上的存储过程的,这应该不是防火墙的问题吧

因为现在的DBA是在企业管理器里建link server的,我在本地建过,没问题,这是可能是SQL版本的问题还是权限问题?
good2speed 2004-12-08
  • 打赏
  • 举报
回复
This problem occurs for one or more of the following reasons:
• Microsoft Distributed Transaction Coordinator (MSDTC) is disabled for network transactions.
• Windows Firewall is enabled on the computer. By default, Windows Firewall blocks the MSDTC program.
Note This problem may occur even when Windows Firewall is turned off.

27,579

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 应用实例
社区管理员
  • 应用实例社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧