c# - Using two contexts in one Transaction and error with DTC -


in 1 transation use 2 different contexts:

 using (transactionscope scope = new transactionscope())  {     using (entities1 context = new entities1())    {     ....    }     using (entities2 context2 = new entities2())    {     .... var tmp = in context2....    } }  

when read context2 have error:

network access distributed transaction manager (msdtc) has been disabled. please enable dtc network access in security configuration msdtc using component services administrative tool

my firewall turned off. components services: http://imageshack.us/photo/my-images/109/88086476.png/. error still exists! how can fix ???

server: windows server 2008, ms sql 2008 client: windows 7 64 bit.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -