Hi,
I am trying to open database connection two time within transaction scope in WCF Service. it is throwing exception System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed.
I have enabled MSDTC on client and server too.
I am using .Net Framework 3.0 RC1 Version and Sql-Server 2005 on windows XP.
This is throwing exception only when accessing database from other machine.
It is working fine on localhost.
Code Snippet as follows:
try
{
using (TransactionScope txScope = new TransactionScope()){
using (SqlConnection conn1 = new SqlConnection(sqlConnectionString)){
conn1.Open();
}
using (SqlConnection conn2 = new SqlConnection(sqlConnectionString)){
conn2.Open();
}
}
}
catch (Exception ex){
Console.WriteLine(ex.Message.ToString());}

System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed.
Emphyrio
I did.
I also disble firewall service from services to resolve this issue.
I have tried all possible settings at client and server (both) to check all options.
johnny83
DevDiver