ODBC Server Bug BI - arithmetic operation resulted in an overflow

I'm writing some really simple access to the Oracle BI Server ODBC driver .NET code and it doesn't work at all.  I have connected properly, however it seems that everything I try to do related to obtaining the information of database spits out upward an error 'arithmetic operation resulted in an overflow.

Here is the code:

Dim ConnectString As String
Dim FactoryType As String
Sun factory System.Data.Common.DbProviderFactory
Var connection as System.Data.Common.DbConnection = Nothing
Var donneestables As System.Data.DataTable = Nothing
Dim err As String = «»
Dim nl As String = Chr (13) + Chr (10)

Try
'-------------------------------------
'Connect to the database via ODBC
'-------------------------------------
ConnectString = "DSN = BSODBC_7; UID = TheUser10; "pwd = *".

FactoryType = "System.Data.Odbc".
Plant = System.Data.Common.DbProviderFactories.GetFactory (FactoryType)

Connection = Factory.CreateConnection
Connection.ConnectionString = ConnectString
Connection.Open)

'--------------------------------------------------
"Ask for a list of the tables in the database
' * Tried both unrestricted and without
'
"ERROR on this line:
""Arithmetic operation resulted in an overflow.""
'--------------------------------------------------
Donneestables = Connection.GetSchema ("Tables")

'--------------------------------------------------
'Display the list of tables on the screen in a grid.
"If it was successful.
'--------------------------------------------------
OnScreenGrid.AutoGenerateColumns = True
OnScreenGrid.DataSource = donneestables

Catch ex As Exception
'-------------------------------------
"Report this error.
'-------------------------------------
ERR = e.g. Message
Otherwise (e.g.) InnerException is nothing) then
Otherwise (e.g.) InnerException.Message is nothing) then
ERR = err + nl + nl + ex. InnerException.Message
End If
End If
MsgBox (err, MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")

Finally

'-------------------------------------
'Clean up and close the DB connection '.
'-------------------------------------
Otherwise (connection is nothing) then
Connection.Close
Connection.Dispose)
Connection = Nothing
End If

End Try


Any thoughts?  Is this a known bug?  Is there a solution?

Thank you, it seems that the error occurs in several places when NULLs exist in the data.  This seems to be a known bug.  Nice.

Tags: Business Intelligence

Similar Questions

  • Arithmetic operation resulted in an overflow - System.Data.Odbc.OdbcDataReader.FirstResult)

    Hello

    I installed Oracle Database 11g Release 2 full Client for Microsoft Windows (x 64) of: (link)of Oracle Database 11 g Release 2 for Microsoft Windows (x 64)

    When I run an ODBC statement from a .NET (64-bit) application, I get the following error:

    Type of exception: System.OverflowException

    Exception message: arithmetic operation resulted in an overflow.

    Exception trace: at System.Data.Odbc.OdbcDataReader.FirstResult)

    I tried the same statement from another machine (same configuration), but with only the components of the ODAC 11.2 and it worked perfectly fine.

    I don't want to use 11g ODAC components because it does not support transactions responsible MTS (known bug). The full client for its works perfectly fine for this kind of scenario. I did some research online and I find that there are available patches to fix the above point. Please give me a link to download the fix or tips on how I can fix this problem.

    Concerning

    Regnier

    Hi Ben Amor,.

    You could be hitting the known, documented problem in Note below:

    Data recovery using a .NET ODBC Application may fail with: "arithmetic operation caused an overflow" (Doc ID 1181253.1)

    If you're on 11.2.0.1 Oracle client download and install the patch 11.2. 0.1 PATCH 5:9966926

    Download link:

    https://updates.Oracle.com/download/9966926.html

    This bug is fixed in 11.2.0.2.0 or a later version of the Oracle client.

    The 11.2.0.2 software can be downloaded from My Oracle support: Patch: 10098816

    https://updates.Oracle.com/download/10098816.html

    Last client version 11.2 that is 11.2.0.4, can be downloaded from My Oracle support: Patch: 13390677

    https://updates.Oracle.com/download/13390677.html

    Kind regards

    Ravi

  • On the screen that it says "the proxy server refuses connections" Firefox is configured to use a proxy server refusing connections. The result is no internet.

    the proxy server refuses connections"Firefox is configured to use a proxy server refusing connections. The result is no internet

    You are welcome

  • FoxPro9 is compatible with Windows Server 2008 R2 as operating system?

    FoxPro9 is compatible with Windows Server 2008 R2 as operating system?

    Try the FoxPro Forum

    http://social.msdn.Microsoft.com/forums/en-us/home?Forum=visualfoxprogeneral

    Don

  • Arithmetic operation on complex numbers

    How can I do Arithmetic operations on complex numbers in the table?

    oiuuhjoi wrote:

    exponential, more, less etc.

    The standard digital palette operations should work for you.

  • Smartphones blackBerry how to report a bug in the operating system or HW?

    Hi all

    I would like to know how to report a bug in the operating system or a bug of the HW? Post a message here looks like post it anywhere... If there is a serious bug in the operating system, how can I report on BOARD?

    Boris

    borisporosin wrote:

    I would like to know how to report a bug in the operating system or a bug of the HW?

    [email protected]

    borisporosin wrote:

    Post a message here looks like post it anywhere...

    Correct - this forum is a support system-based user community. ON-BOARD staff rarely participate and check no reports of bugs here.

  • How perforem arithmetic operations on time

    Studio Edition Version 11.1.2.3.0

    How to perform arithmetic operations on time

    I have a timestamp of data type attribute in VO

    based on the Oracle database field

    I can get the hour and the minutes using the value default adf.currentDateTime and simple date format hh: mm a

    I'm trying to add more hours to calculate the hours of service as Expression groovy

    Ex DocumentDate +(2/24) 2 hours

    I have error

    (oracle.jbo.JboException) Houston-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg = no signature of method: java.sql.Timestamp.plus () applies to the types of arguments: (Java.Math.BigDecimal) values: [0.2083333333]

    -Level 1: retail - 0

    (groovy.lang.MissingMethodException) no signature of method: java.sql.Timestamp.plus () applies to the types of arguments: (Java.Math.BigDecimal) values: [0.2083333333]

    I have added a transitional attriburte TestHire to the Employees (from a HR DB schema) table

    and in the expression of the value the groovy

    When I run now present in the Module Tester Application I see that the TestHire attribute is HireDate + 2 h

    Timo

  • Workstation 8 does not recognize Windows Server 2012 as an operating system

    I want to create a virtual machine using Server 2012 as the operating system, and 8.0.4 workstation does not recognize. My ultimate goal is to create a virtual SharePoint 2013 machine. Is there a workaround? Thanks in advance.

    Do not use 'easy install' then - use rather 'I'll install later' and select 2k8R2 as type of guestOS

  • What support VMware Windows 7 as a guest host and Windows Server 2003 as the operating system operating system?

    People,

    Hello.

    Because my laptop is preinstalled Windows 7 and cannot dual boot multiple operating systems. I need to install VMware in Windows 7 host and then install Windows Server 2003 as a guest operating system.

    I installed VMware Server 2.0.2 in Windows 7 and Windows Server 2003 operating system as a guest host. Everything works fine for a while. But VMware Server Home Page https://mylaptop:8333 / IU cannot display more.

    I found that Windows 7 is not a host for VMware Server 2 and strange operating system might happen at any time. I found that 'VMware Player 3' is fully supported in Windows 7 as host operating system but is not taken in charge of Windows Server 2003 as a guest operating system.

    People knows what product VMware Windows 7 support as host operating system and Windows Server 2003 as the operating system prompted?

    Thanks in advance

    Hello

    IMHO, I think that Workstation is the vmware product just for you, the requirements

    It supports Windows 7 as a facilitator and Windows 2003 as a host with no problems. You can be confident about it at 100%.

    Best wishes / Saludos.

    Pablo

    Please consider providing any useful answer. Thank you!! - Por favor considered premiar las useful responses. MUCHAS gracias!

    Virtually noob blog

  • ColdFusion 9 ODBC Agent and ODBC Server will start not

    Hello!

    I currently have Coldfusion 9 Enterprise Edition 64 bit installed on a 64 bit Windows 2008 R2 server.  I have not noticed this before, but on this server, the Agent of ODBC Coldfusion 9 services & the server will not start.  I tried from them but they begin one second and then stops.  A dialog box then gets poster that says "service of Coldfusion 9 ODBC Agent on Local computer started and then stopped.  Some services stop automatically if they are not in use by other services or programs".  I checked the event viewer on the server and I see the following messages on the enterprise edition server.

    The description for event ID 0 in source ColdFusion 9 ODBC Agent cannot be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open the trace file of events because the version of the file is not recognized.

    The description for event ID 0 in source ColdFusion 9 ODBC Server cannot be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    ColdFusion 9 ODBC Server@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open the trace file of events because the version of the file is not recognized.

    Strange is that I have Coldfusion 9 Standard Edition 64-bit also installed on another server in Windows 2008 R2 64-bit, and both ODBC services on this machine start very well.  I checked the account that these services are running under on two servers and two services on both machines are running under the local system account, so I don't know if this is related or not permission.

    I would appreciate it if some could help me get these services began and what I have to do.

    Thank you.

    Ed

    For someone who is interested, I solved this problem by deleting all .trc files in the C:\ColdFusion9\db\slserver54\tracing folder.  Once this is done, I was able to start the ODBC ODBC & Server Agent services.

    Ed

  • CF8 ODBC Server Service missing files

    Upgraded from CF7 to CF8 Enterprise Windows Enterprise. After installation, "ColdFusion 8 ODBC Agent" and "ColdFusion 8 ODBC Server" services are not started. Tried to launch them manually and the directory where the service point to (D:\ColdFusion8\db\slserver54\bin\...) is missing.
    Of course, when you go to the administrator and add a new data source, I get a message that the ODBC ColdFusion Server service is not running or has not been installed.
    How can I install it? I uninstalled CF8 and reinstalled it trying to install 3 times.
    The server is Windows2003 Standard Edition. IIS.

    Ideas?

    The technical note to manually install services ODBC on CF 8.0 released. It includes zip files containing the necessary installation files, a datasource.cfc and update scripts to update for install and uninstall services.
    Manual installation of the ODBC Services (ColdFusion 8.0)

  • ODBC drivers missing from the operating system of windows 7 Home premium (64-bit)

    I have a windows 7 premium (64-bit) operating system and I don't have in my ODBC MsAccess etc., it shows only SQL server datsbase how do I get all the other drivers?

    Hi Ana Shareef,

    Getting back to the question of CARI, were you able to successfully install MS Access.  If so, have you received an errors etc after installation?

    In addition, please see the link below for some useful information:

    http://support.Microsoft.com/kb/110093

    I hope this helps! Debra
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Error message from DPM 2010 and an unexpected error has occurred on the DPM server during a VSS operation.

    Hello

    I have a server running on a Windows 2008 R2 server DPM 2010

    Currently save a mix of virtual and physical machines, these are a mix of Windows Server 2003 SP2, 2008 & 2008 R2.

    The DPM was previously a bit crumbly, but it was supposed to be caused by lack of disk space. A QNAP server was introduced and configured as an iSCSI target. After the initial problems, it works now.

    EXCEPT

    Three volumes of backup not. They were part of the protection group but they had no point of recovery at all. I deleted their protection groups and have tried to add them to their original groups. These 3 volumes all fail with the following error message:

    An unexpected error occurred on the DPM server machine during a VSS operation.

    Error details: VssError:Shadow copy the specified volume only is not supported. (0x8004230C)

    3 volumes are on 3 different servers.

    All 3 servers are running Windows 2003 SP2

    3 servers have other volumes that are save successfully and consistantly

    There are an additional 3 servers Windows 2003 SP2 that all volumes save successfully and consistantly.

    I can run shadow copies on these three volumes on servers

    All servers run the latest DPM Agents

    3 volumes have unused production capacities, Gig instead of Mb

    The pool of storage on the DPM server has two disks in the storage pool, the local disk has 10 TB of capacity and 45% free, the iSCSI target has capacity to 55 and 78% free.

    There are no. VSS errors in system or application logs (or I've noticed in just about any other log file) on the DPM server or the customer Server

    I have tried to add in the protection group, 3 volumes at once, one at a time or a small directory, or create a new protection group and still get the same errors.

    I ran the Windows updates on these servers

    So far all I can say the disk permissions look OK and match those of the other volumes of work.

    I know that having two drives in the storage pool is not ideal, and it will be changed but not up to what I have fixed the problems on the three volumes.

    Hello

    I suggest you to report this issue in support for Windows Server 2008 R2: http://technet.microsoft.com/en-us/windowsserver/bb512923

    Thank you.

  • Server 2003 R2 ntbackup operation failed

    Hi support them.

    I keep getting this error everytime I backup (ntbackup) for my windows server 2003 R2. tried applying the fix still "(windows serverr2003-kb940349-v3-x86-enu.exe) after reboot." Here's the code errors, need your urgent help.

    The backup status

    Operation: backup

    Active backup destination: file

    Media name: "GDF-svr01 - 5.bkf created on 29/09/2014 at 09:44"

    Creation of snapshots snapshots volume: 1 attempt.

    Error returned while creating the volume shadow copy: 0x8004230f.

    Error returned while creating the volume shadow copy: 8004230f

    Aborting backup.

    ----------------------

    The operation has successfully completed.

    ----------------------

    Try to post your problem on the Forum Pro of COMPUTING, you will have a better change to get the problem solved: http://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itproinstall

    J W Stuart: http://www.pagestart.com

  • Cannot see network on XP Server after reinstalling the operating system

    After reinstalling the operating system on our server, I can't see our server on the network. In the Service list after going to TCP/IP--> INSTALL network, I do not see "Sharing files and printing for Microsoft networks" in the category of SERVICES.
    I see all the other nodes in the network (which consist of several Win7 and Win XP machines).

    Hi BigGtheDood,
    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
    I hope it helps. If you have problems in the future, please let us know. We will be happy to help you.

Maybe you are looking for