MSDTC(交易)问题 [英] MSDTC (transaction) problem

查看:61
本文介绍了MSDTC(交易)问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我有一个.net 2.0应用程序托管在服务器上,而数据库位于另一台服务器上.在我的.net代码中,我使用过system.transactions,当我执行该代码时,一个连接成功打开,当我尝试打开另一个连接时在同一事务块中建立连接,出现异常与基础事务管理器的通信失败".到目前为止,我已经完成了所有工作,但徒劳无功.
1.在两台服务器(Web和数据库)上都启用了DTC服务
2.选中DTC服务中的所有复选框(组件服务-> DTC属性)
3.在两个服务器上都允许端口134,135和5500-5700
4.在这些端口的防火墙中添加例外
5.启用RPC服务,并在regedit中为rpc完成所需的设置
6.尝试禁用防火墙,但这也没有用


请帮忙!

Dear All,
I have an .net 2.0 application hosted on a server,and data base on a different server.In my .net code i have used system.transactions,when i execute that code,one connection is opened successfully,when i try to open another connection in same transaction block,an exception "Communication with the underlying transaction manager has failed".I have done following till now,but all in vain.
1.Enabled DTC service on both servers(web and db)
2.Check all check boxes in DTC services(component services->DTC properties)
3.Allow of port 134,135 and 5500-5700 on both server
4.Add an exception in the firewall of these ports
5.Enabled RPC service,and done required settings in regedit for rpc
6.Tried disabling firewall,but that also didn''t work


Pls help!

推荐答案

从添加/删除Windows组件"->应用服务器检查启用网络DTC访问
from the add/Remove windows component-> application server check the enable network DTC access


已经完成了,但是不起作用.
Its already been done.but not working.


这篇关于MSDTC(交易)问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆