JamesCasey
Programmer
Any help would be greatly appreciated with the following situation:
I have a 3-tier app running on NT 4.0 sp6a with Oracle 8.1.7.1.5 client. Our Oracle database is 8.1.7.2.0 and is running on a Unix server. I am using Visual Basic 6.0 runtime modules sp5. We were using MDAC 2.5sp2 but upgraded to 2.7 (Refresh) at Microsoft's direction to solve a problem. After upgrading our development environment to 2.7, we immediately began to see the following error:
Error 2049 : Error occurred on line: 2807, ORA-02049: timeout: distributed transaction waiting for lock
The SQL statements that get the above error vary and are simple update statements.
In three years of working with this application, I have never seen the above error before. It now occurs intermittently. Our test environment is not under load, and in the instances where this problem has occurred, a locking conflict would seem to be impossible. I can force this error by locking a row on our database with a manually run query. If I then perform an operation with our application that attempts to update this row, I will get this error. Other than by the above very contrived means, I cannot replicate this error on demand.
The last time the error occurred, my DBA checked Oracle for any locks, alerts, or trace files. Nothing was found. I am now running a client side trace to see if I can see anything the next time the problem occurs.
Has anyone had a similar problem after upgrading to MDAC 2.7? For what it is worth, the original problem that we were trying to solve was an intermittent 'No transaction active' error. Microsoft says that people who have experienced the above problem have resolved it by upgrading to MDAC 2.7. Of course, if going to MDAC 2.7 is just going to cause another problem then...
Any thoughts?
I have a 3-tier app running on NT 4.0 sp6a with Oracle 8.1.7.1.5 client. Our Oracle database is 8.1.7.2.0 and is running on a Unix server. I am using Visual Basic 6.0 runtime modules sp5. We were using MDAC 2.5sp2 but upgraded to 2.7 (Refresh) at Microsoft's direction to solve a problem. After upgrading our development environment to 2.7, we immediately began to see the following error:
Error 2049 : Error occurred on line: 2807, ORA-02049: timeout: distributed transaction waiting for lock
The SQL statements that get the above error vary and are simple update statements.
In three years of working with this application, I have never seen the above error before. It now occurs intermittently. Our test environment is not under load, and in the instances where this problem has occurred, a locking conflict would seem to be impossible. I can force this error by locking a row on our database with a manually run query. If I then perform an operation with our application that attempts to update this row, I will get this error. Other than by the above very contrived means, I cannot replicate this error on demand.
The last time the error occurred, my DBA checked Oracle for any locks, alerts, or trace files. Nothing was found. I am now running a client side trace to see if I can see anything the next time the problem occurs.
Has anyone had a similar problem after upgrading to MDAC 2.7? For what it is worth, the original problem that we were trying to solve was an intermittent 'No transaction active' error. Microsoft says that people who have experienced the above problem have resolved it by upgrading to MDAC 2.7. Of course, if going to MDAC 2.7 is just going to cause another problem then...
Any thoughts?