OracleConnection.open() caused System.StackOverflowException
I've developed a web application (ASP.NET, C#) with .NET4.8 which can connect to Oracle Client 19c by using Oracle.DataAccess.dll.
However, after upgrading the Oracle Client to April 2022 patch (Patch 33829175), the application can't connect to the Oracle and the OracleConnection.open() caused System.StackOverflowException. The web application already uses the new Oracle.DataAccess.dll got from the patch.
Does anyone face a similar issue? Or have any suggestion?
string connectionString = "USER ID=xxxx;PASSWORD=xxxx;DATA SOURCE=xxxx";
using (OracleConnection connection = new OracleConnection(connectionString))
{
connection.Open();
....
}
**Exception**
System.StackOverflowException
HResult=0x800703E9
Source=<Cannot evaluate the exception source>