This discussion is archived
0 Replies Latest reply: Sep 12, 2013 3:45 AM by albgen RSS

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

albgen Newbie
Currently Being Moderated



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.







   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


  • Correct Answers - 10 points
  • Helpful Answers - 5 points