Intermittent TransactionScope communication failures
- From: "Hans Malherbe" <hans.malherbe@xxxxxxxxx>
- Date: 8 Jan 2007 00:40:39 -0800
Dagsê
I am having trouble stabilizing the behaviour of TransactionScope.
We get intermittent exceptions with the message "Communication with the
underlying transaction manager has failed". This happens in both the
development and the staging environments.
Infrastructure:
Development consists of a virtual machine with Windows XP SP2 (VMWare
Workstation) running VS 2005 SP1. The SQL Server 2005 SP1 DBMS is
installed on a Windows Server 2003 R2 virtual machine (VMWare Server)
hosted on a different physical machine. The hosts are connected to the
same physical switch. All IP's are served by static DHCP.
No firewall is running on either web or database server.
Configuration:
The MSDTC security settings are set on both servers to allow everything
and authenticate nothing. Everyone has all COM access, activation and
launch permissions.
I can ping the NetBIOS name of either server from the other one.
Transactions are created in an ASP.NET application. I can simulate the
error in the development environment by rebooting the database server.
For the first few transactions after a reboot I get the exception
mentioned above. Then things start to work and I cannot recreate the
behaviour.
In staging testers get this error from time to time independent of the
last reboot.
Usually the transaction rolls back when this error appears, but in at
least one case changes were committed to the database!
Interestingly, DTCPing executes successfully from the web to the
database server but from the database server I get an error "(5) Access
denied".
I have tried a couple of suggestions found on discussion lists but none
of them addresses the case where the failures are intermittent.
Any ideas?
Groete
Hans
.
- Prev by Date: Have a change between v 1.1 to 2.0 about Return identity with CommandBuilder
- Next by Date: Re: What's My Password?
- Previous by thread: Have a change between v 1.1 to 2.0 about Return identity with CommandBuilder
- Next by thread: how can i get notification from mfc Activex controle
- Index(es):
Relevant Pages
|