My Oracle Support Banner

Unhandled Exception: System.OverflowException: Arithmetic Operation Resulted in an Overflow When Working With Numbers Larger Than 28 Digits (Doc ID 253136.1)

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Data Provider for .NET - Version 9.2.0.8 and later
Generic WindowsSymptoms

The customer is getting the error:

Unhandled Exception: System.OverflowException: Arithmetic operation resulted in an overflow.
at Oracle.DataAccess.Types.DecimalConv.GetDecimal(IntPtr numCtx)
at Oracle.DataAccess.Client.OracleDataReader.GetDecimal(Int32 i)

when trying to work with numbers longer than 28 digits in a .Net application.

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.