G
Guest
When I use TransactionScope to access a remote SQL server from my Windows/XP
computer, I got error message "The transaction has already been implicitly or
explicitly committed or aborted".
But if I turn off the firewall on my Windows/XP computer, this code runs
without any problems.
Does anybody know how to set the firewall to allow TransactionScope to work?
Here is the simple code I am using:
using (TransactionScope ts = new TransactionScope())
{
SqlConnection conn = new SqlConnection(@"integrated
security=SSPI;data source=WSDEV\GODS;initial catalog=MOSES");
conn.Open(); //here I get the problem
ts.Complete();
}
computer, I got error message "The transaction has already been implicitly or
explicitly committed or aborted".
But if I turn off the firewall on my Windows/XP computer, this code runs
without any problems.
Does anybody know how to set the firewall to allow TransactionScope to work?
Here is the simple code I am using:
using (TransactionScope ts = new TransactionScope())
{
SqlConnection conn = new SqlConnection(@"integrated
security=SSPI;data source=WSDEV\GODS;initial catalog=MOSES");
conn.Open(); //here I get the problem
ts.Complete();
}