StackOverflowException In Oracle.ManagedDataAccess.Client 19.18 And 21.9
(Doc ID 2964866.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Data Provider for .NET - Version 19.15.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
StackOverflowException error is seen in ASP.NET application while using ODP.NET Managed driver 19.18 and 21.9 with the following scenario.
Application is making use of "Distributed transaction", there are at least 2 database users connected and the distributed transaction is orchestrated by System.Transaction.TransactionScope.
When one user's transaction is violated due to deferred db constraint(using timer), the application is throwing StackOverflowException for the other user.
Sample code to reproduce the issue is shown below:
Changes
Using the latest ODP.NET Managed driver (19.18 and 21.9) from NUGET.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |