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 JULY 17, 2017

Applies to:

Oracle Data Provider for .NET - Version to
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

*** Checked for relevance on 17-Jul-2017 ***


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


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


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 hundreds of Community platforms