My Oracle Support Banner

System.InvalidCastException: Conversion From Type 'OracleDecimal' to Type 'String' is Not Valid. When Returning an Oracle Integer via ODP.Net (Doc ID 989617.1)

Last updated on APRIL 09, 2020

Applies to:

Oracle Data Provider for .NET - Version 10.2.0.2.2 to 11.2.0.0
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
*** Checked for relevance on 17-Jul-2017 ***


Symptoms

System.InvalidCastException: Conversion from type 'OracleDecimal' to type 'String' is not valid.

Changes

This occurs after migrating the Oracle Data Provider for .Net to 10.2.0.2.20 or 11g.

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

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