G
Guest
This problem is so simple I am surprised it's happening.
When I run the following code:
using (TransactionScope ts = new TransactionScope())
{
SqlConnection conn = new SqlConnection(@"integrated
security=SSPI;data source=WSDEV\GODS;initial catalog=MOSES");
conn.Open();
}
It waits at conn.Open(); for over 1 minute and return error message "The
transaction has already been implicitly or explicitly committed or aborted.".
If I comment out TransactionScope line, it works without any problems. So
the connection string is correct.
Can anybody point out what's happening here?
Thanks a lot.
When I run the following code:
using (TransactionScope ts = new TransactionScope())
{
SqlConnection conn = new SqlConnection(@"integrated
security=SSPI;data source=WSDEV\GODS;initial catalog=MOSES");
conn.Open();
}
It waits at conn.Open(); for over 1 minute and return error message "The
transaction has already been implicitly or explicitly committed or aborted.".
If I comment out TransactionScope line, it works without any problems. So
the connection string is correct.
Can anybody point out what's happening here?
Thanks a lot.