在一次翻译中,我使用了两种不同的上下文:
using (TransactionScope scope = new TransactionScope())
{
using (Entities1 context = new Entities1())
{
....
}
using (Entities2 context2 = new Entities2())
{
.... var tmp = from a in context2....
}
}
当我阅读 context2 时出现错误:
分布式事务管理器 (MSDTC) 的网络访问已被禁用。请使用组件服务管理工具在 MSDTC 的安全配置中启用 DTC 以进行网络访问
我的防火墙已关闭。我的组件服务:http: //imageshack.us/photo/my-images/109/88086476.png/。但是错误仍然存在!我该如何解决?
服务器:Windows Server 2008、MS SQL 2008 客户端:Windows 7 64 位。