Groups
Groups
Sign in
Groups
Groups
NBear Google Group
Conversations
About
Send feedback
Help
服务器 'SERVER' 上的 MSDTC 不可用。
15 views
Skip to first unread message
勇敢的心
unread,
Nov 27, 2006, 8:48:27 PM
11/27/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NBear Google Group
在用NBear做分布式开发时,保存数据出现以上错误,
不知是组件的问题还是我机器的问题.
Teddy
unread,
Nov 27, 2006, 9:02:49 PM
11/27/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nbear...@googlegroups.com
这个问题之前的帖子有说明。如果使用默认的事务处理,需要开启服务器的msdtc服务,因为,默认的事务使用System.Transactions来处理,他会检测msdtc是否开启。如果服务器不想运行msdtc的话,也希望程序能正常运行的话,则需要显式的使用Gateway.BegnTransaction()方法开始一个事务,并对所有的写操作,显式传递该tran参数,就是类似.net1.1的传统的事务处理。
Teddy
On 11/28/06,
勇敢的心
<
my...@163.com
> wrote:
在用NBear做分布式开发时,保存数据出现以上错误,
不知是组件的问题还是我机器的问题.
Lukiya
unread,
Nov 28, 2006, 7:49:31 PM
11/28/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NBear Google Group
这个问题2.*我就提过了,不要在互联网模式下使用msdtc。目前还没有好的解决方案。
如果要用,请把两台机器做成虚拟网后使用。
或者你直接用DbTransaction,而不要使用TransactionScope
Reply all
Reply to author
Forward
0 new messages