Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Empty table throwing System.OverflowException: Arithmetic operation resulted in an overflow

albgenSep 12 2013

Hello,

i have a strange problem with odbc driver connecting on oracle database. The table is empty and the driver throws the System.OverflowException.

Any idea why?

My system is a win7 64 bit. I have installed both 32 and 64 bit client of oracle. .Net Application is running as 64bit.

Not also that if i run the app as 32 bit the odbc does not even work and i get some driver excpetion so i think that i have installed only the 32 bit odbc driver.

Thanks.

stacktrace

   at System.Data.Odbc.OdbcDataReader.FirstResult()

   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)

   at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)

   at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)

   at Validata.DataComponent.DataAccess.GetOdbcReaderAdHocQuery(String adHocSql) in d:\Validata\main\src\Validata\ValidataAPI\DataComponent\DataAccessODBC.cs:line 132

   at Validata.DataComponent.DataAccess.GetReaderAdHocQuery(String adHocSql) in d:\Validata\main\src\Validata\ValidataAPI\DataComponent\DataAccess.cs:line 694

   at SQLClasses.SQLTable.GetReader() in d:\Validata\main\src\Validata\SQLClasses\SQLTable.cs:line 243

   at SQLAdapter.SQLAdapterReaderStreaming.Read(IReadAdapterRequest adapterRequest) in d:\Validata\main\src\inetpub\wwwroot\SQLAdapter\SQLAdapterReaderStreaming.cs:line 77

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2013
Added on Sep 12 2013
0 comments
1,195 views