G
Guest
I am attempting to use the TransactionScope class to manage my transactions.
I am running into an issue. My web server [WEB1] is in an NT work group. My
SQL Server [SQL1] is in a domain. When my code attempts to execute the
Complete method of the TransactionScope object, I get the following error:
"The transaction has already been implicitly or explicitly committed or
aborted"
I have tried altering the registry entry to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\TurnOffRpcSecurity = 1 on both
SQL1 and WEB1. I restarted both machines to make sure that changes took
effect.
When I run the code from a web server that is on the same domain as SQL1,
the code executes successfully. It is NOT and option to add WEB1 to a
domain.
Any suggestions?
I am running into an issue. My web server [WEB1] is in an NT work group. My
SQL Server [SQL1] is in a domain. When my code attempts to execute the
Complete method of the TransactionScope object, I get the following error:
"The transaction has already been implicitly or explicitly committed or
aborted"
I have tried altering the registry entry to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\TurnOffRpcSecurity = 1 on both
SQL1 and WEB1. I restarted both machines to make sure that changes took
effect.
When I run the code from a web server that is on the same domain as SQL1,
the code executes successfully. It is NOT and option to add WEB1 to a
domain.
Any suggestions?