Encountering Error When Loading Data Table In Managed ODP.NET
(Doc ID 2899823.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Data Provider for .NET - Version 19.3.0.0.0 to 21.3.0.0.0 [Release 19.0 to 12.1]Information in this document applies to any platform.
Symptoms
While using ODPM Data Table to get value, DataTable.Load() function throws error as below -
"Index was outside the bounds of the array.", System.NullReferenceException: Object reference not set to an instance of an object.
This issue is specific to Managed ODP.NET driver and issue occurs for both 19c and 21c versions.
The same code works fine with Unmanaged ODP.NET 19c and 21c versions.
Sample code :
Changes
Managed ODP.NET driver 19c/21c used for database connection
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 |