Windows 7 64bit with ODBC 11.2.0.1.0 - Exception: System.OverflowException

Hello,
Please help. I developed an interface between a CAD and Oracle 10g 32bit on Windows Server 2003. I have no problems with the using of the ODBC driver (Instant Client Package - ODBC (instantclient-odbc-win-x86-64-10.2.0.3.0.zip) on Windows XP 32bit and Windows XP 64bit.
If I try to use 64bit ODBC driver (Instant Client Package - ODBC (instantclient-odbc-win-x86-64-11.2.0.1.0.zip) on Windows 7 64bit with the Oracle DB 10g 32bit on Windows Server 2003, I receive the following message after the line with OraRead = OraComm.ExecuteReader:
Exception: System.OverflowException: Die arithmetische Operation hat einen Überlauf verursacht.
bei System.Data.Odbc.OdbcStatementHandle.RowCount(SQLLEN& rowCount)
bei System.Data.Odbc.OdbcDataReader.GetRowCount()
bei System.Data.Odbc.OdbcDataReader.FirstResult()
bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
bei System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
bei System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
The code I use is very simple:
Dim sConnection = "DRIVER=Oracle in instantclient_11_2;UID=xx;DBQ=xx;SERVER=xx;Pwd=xx"
Dim strSQL As String
Dim OraConn As New System.Data.Odbc.OdbcConnection
Dim OraComm As New System.Data.Odbc.OdbcCommand
Dim OraRead As System.Data.Odbc.OdbcDataReader
Try
     OraConn.ConnectionString = sConnection
     OraConn.Open()
     strSQL = "SELECT * FROM TAB"
OraComm.CommandText = strSQL
OraComm.Connection = OraConn
OraRead = OraComm.ExecuteReader
If OraRead.HasRows Then
     OraRead.Read()
The test connection from the ODBC admin tool return ok.
Any help will be apricable.
Regards,
Hristo

I'm having the same problem. Did you ever find a solution for this?
For reference, my question is located over here: OverFlowException on Oracle ODBC RowCount

Similar Messages

  • Help with OBDC connection in Windows 7 64bit with Office 2010 32 bit.

    Hi,
    Many moons ago I wrote an application in Java that configured XP machines after they were sysprep’d and deployed. I am currently migrating all our workstations to Windows 7, and was checking my application still worked and queries the correct registry keys etc.
    As it turns out however I don't even get going as I believe the application is unable to connect to the ODBC Microsoft Access Driver in Windows 7 64bit with Office 2010 32 bit. Below is the code I have always used and no longer works. I am hopeful that someone can tell me how to modify the command to work on Windows 7 64bit. If I browse to C:\Windows\SysWow64\OBDCad32.exe all the drivers I need are there I think, but if I open OBDC from Administrative Tools the Drivers tab is empty but for SQL. Anyway I will shut up and below is the code I used to use:
         public IOMakeConnection()
         dm = new DisplayMessage();
         ioed = new IOEncryptDecrypt();
         url = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=" + getPath() + "Config.mdb;Uid=admin;Pwd=password";
              try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              connection = DriverManager.getConnection( url );
              catch( Exception e )
              system.out.println( "" + e );
              errorObtainingPath();
    The exception is always thrown as my little app that requests the database path always loads.
    Thanks in advance,
    Cheers Kris

    Hello again,
    Sorry for the delayed response, I have been out of the office for a few days.
    I have solved the issue, and as stated above the issue was the way I was launching the application. Below is a summary of the issue and the resolution.
    My problem was that in Windows 64bit if you click on ODBC in Administrative Tools the Drivers Tab only includes an SQL Driver, and my code reference a Microsoft Access Driver to query the database. That said however if you browse to C:\Windows\SysWow64 and open obdcab32.exe it opens the 32bit version of ODBC, and the Microsoft Access Driver (*.mdb) is listed.
    Basically what I need to do therefore is get my code to access the “32bit” version of ODBC in a Windows 7 64bit environment, so my application was able to read the necessary information from the Access Database associated with it.
    I understand that this is not a coding issue directly, but assuming people still use Java to open an Access Database on a Windows 7 64bit OS, this may be of help.
    So previously I ran the following command, from the “Target” box in a shortcut to execute the java code:
    cmd.exe /C SET CLASSPATH=C:\SCAConfigurationUtility && CD\SCAConfigurationUtility && JAVAW SCAConfigurationUtility
    Windows 7 64bit, defaults to the 64bit version of Java, and just seems to plain fail if you only have the 32bit version installed. To overcome this I forced the java executable that I was using to be the 32bit version, and used the system switches available in Java 7 (-cp does not appear to be available in Java 6)
    So my Shortcut now has this in the “Target” box:
    java.exe -d32 -cp C:\SCAConfigurationUtility SCAConfigurationUtility
    And this in the “Start in” box:
    "C:\Program Files (x86)\Java\jre7\bin"
    Or by using the target below the same shortcut works in XP
    "C:\Program Files\Java\jre7\bin"
    Thanks for all the help,
    Regards Kris.

  • ODBC Driver at Windows 64bit 2003

    Dear All,
    I tried to install the Oracle ODBC driver for the windows 64bit 2003 but the driver did not added to the ODBC drivers list in the "Data Sources (ODBC)" at the Administrative tools in the control panel.
    This is a big problem for me because I need to add Oracle database at the SQL server as a Linked Server and the SQL server need the OLE DB Provider which comes with the ODBC driver
    Please provide me with ODBC driver or direct me to the right direction
    Thanks in advance
    Rashed

    OpenLink Software provide Oracle ODBC Drivers for 64bit Windows which are available for download from:
    http://bit.ly/8Ut5qN
    Details on installation and configuration is available from:
    http://bit.ly/4vHs7E
    Best Regards
    Product Support
    OpenLink Software
    http://www.openlinksw.com

  • Home Sharing will not work with my Windows 8 64bit with new itunes.  All of my Apple TVs will not see my library and my iphones will not function with the "Remote" App.  They all did before.  Only thing that has changed is new PC/itunes.  Any Ideas?

    Installed a new Windows PC on my home network.  PC is Windows 8/64bit. with latest version of itunes 11.1.4.62 for 64bit.  My itunes works, but I can not get Home Sharing to function now.  None of my Apple TV's can see my computer library and prompt me to turn it on.  All of my iphones, pods, pad, can not use the "Remote" app.  When you prompt your phone in Remote App to "add library" and you get the code....iTunes doesnt give you the remote screen where you can enter the code.  I have reloaded iTunes, reset my router, updated all devices.  You can turn on "Home Sharing" on iTunes, but then it closes and doesnt seem to link my devices like it use to.  Also, when the new version of iTunes is up on my PC, you can see the other devices to AirPlay to like you could before.  However, I can send items from my iphone to stream to an Apple TV, I just cant link them all like I could before and control the music playing to multiple Apple TV.  Growing fustrated.  Any ideas, would be helpful.

    Cunning1_
    You are a legend!!  I have spent countless hours uninstalling, reinstalling itunes, playing with firewall settings, reading articles on this problem!!  I only have to un-sync my iphone 5 and then the airplay icon magically appeared!!!  Maybe I have too many devices syncing via wi-fi, or maybe it is the Iphone syncing??
    Whatever - one step and now I can enjoy my music through my house again!
    Thank you, Thank you, Thank you 

  • Error installing BI Publisher Desktop in Windows 7 64bits with Office 2010

    Hello
    I'm having a problem when trying to install the latest version of BI Publisher Desktop on my computer (Windows 7-64bits with Office 2010).
    Almost at the end of the installation it appears a message box saying "Template Builder installer failed: Cannot run installer while Mocrosoft Word is running". Now, i made sure all Office apps are closed, as well as IE windows. What i've noticed is that right before this error appears, a process for WINWORD.exe is open - by the installer.
    How can i fix this?
    Many thanks for your replies

    I've tried runnig the installer with Windows XP SP3 compatibility and it worked.

  • Windows 64Bit Itunes Error : "THERE IS A PROBLEM WITH THE WINDOWS INSTALLER PACKAGE. A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR."

    I have a brand new HP laptop windows 64bit that is having issues installing Itunes 10.6.3. Whenever attempting to install, I get the error message : "THERE IS A PROBLEM WITH THE WINDOWS INSTALLER PACKAGE. A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR." I thought this was an issue with the new version, and attempted to retrieve/install older versions of Itunes and same issue occurs. I have tried other forums and resolution tips from : https://discussions.apple.com/docs/DOC-3551 and nothing still. It appears that apple installs bonjour and nothing else. I have tried extracting the itunes package and installing the executables seperately, but everytime the error stil arises. I cannot repair the apple software update as it cannot install from the error mentioned above. Looking through the logs, it shows error : 1721, problem with windows installer package.Does anyone have any suggestions on what to try?

    There are so many different error and problems peopl are having.
    This is a link to mine
    https://discussions.apple.com/thread/3467825
    I think it has to be something on Apples end.
    Hopefully they fix it soon. Ive used a few GB redownloading and Im going crazy
    hope this settles you a bit

  • Windows 7 Pro - 64bit with P43-C51

    Hello there,
    I am trying to install Windows 7 Pro - 64bit with my P43-C51. But after clicking: "Install" an error-message occurs saying: "A required CD/DVD drive device driver is missing. If you have a driver floppy disk CD, DVD, or USB flash drive please insert it now.". I provided the Drivers of my Board / DVD-Rom and selected them within the setup, but the error always occurs. I disconnected all devices and booted from USB to find out which one is causing the error, but after all, I think it is the mainboard. Anyone has some advices on how to setup Win7Pro 64bit with P43-C51?
    System Specs:
    MSI P43-C51 (Bios V5.7)
    Intel Q8800
    SATA 500GB Drive
    Bluray SH-B0830 Samsung Drive
    Nvidia Geforce 580

    https://forum-en.msi.com/index.php?topic=142701.msg1065170#msg1065170

  • HT4046 why i can't enable the voiceOver function with my new labtop(window 7 64bits) with my ipod shuffle?

    why i can't enable the voiceOver function with my new labtop(window 7 64bits) with my ipod shuffle?

    even try to update the latest itunes but still can't fix it
    is it window's problem?
    it work fine in my orginal desktop with window XP
    PS: ipod shuffle 3rd

  • My iphone doesn't conect with my computer. He says you can't use it you softwear is not up to date please uninstall itunes and install itunes for windows 64bit. I do that but it doesn't work. So what can i do?

    my iphone doesn't conect with my computer. He says you can't use it you softwear is not up to date please uninstall itunes and install itunes for windows 64bit. I do that but it doesn't work. So what can i do?

    It won't pass 10.3.
    What does this mean?
    I figured it out. Thanks!!!
    What did you figure out? How about posting how you resolved it?

  • System Update Problems - Windows XP 64bit with SP2

    Hi,
    I have been Googling away but can't seem to fix my error when running System Update 3.14 on Windows XP 64bit with SP2. I keep getting the following error at 9-10%:
    "An error occurred while gathering user information"
    Has anyone managed to get this working on this OS?
    I have tried uninstalling and reinstalling and also uninstalling .NET 3.5 but nothing has worked.
    Thanks.

    Hi,
    x64 Bit XP is not supported by TVSU, so I really doubt, that there is an official fix for this one.
    Cheers

  • Director MX 2004 compatibility with Windows 64Bit

    Hello
    I'm buying a new desktop system and I was asked in the shop
    if I wanted windows xp with 32bit or 64bit. Yes, I opted for xp
    instead of Vista.
    I'm just wondering if Director MX 2004 is fully compatible
    with the 64bit version? Or, are there any issues I should be wary
    about.
    The guy in the shop recommended the 64bit since the RAM could
    be upgraded more.
    Any feedback appreciated. Sorry if this is not LINGO related.
    Andy

    HTML is HTML.  The product you use doesn't matter much except in terms of "ease of use" and quality of code it generates.  MX is a dinosaur.  Depending on how you built your sites with it, you may need to update your code to modern web standards.  But your site's code will remain editable in any version of DW.
    That said, a LOT has changed in 10 years.  So if you don't have really strong coding skills in HTML and CSS, you will struggle with newer versions of DW.  The interface is different, too, so it will take some adjustment.
    CS6 is the only version you can still purchase.
    Creative Suite 6
    All the rest are available only through subscription to the Creative Cloud.
    Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Nancy O.

  • Unix: SQL Server Connection with ODBC (CRsqls24.so)

    Hi,
    I almost find no information how to set up a SQL Server connection using ODBC on a unix platform.
    This is what I get when I try to refresh my crystal report on my BO Server (4.1):
    "The viewer could not process an event. Error in file XXX.rpt:
    Error loading database information"
    .) is the port number really separated from the server by comma? (http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp10_data_acs_en.pdf)
    .) where is the right place to speficy the SQL Server isntance name (SQLInstanceA in this case)? I didn't find any information about that?
    [MYDB]
    Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000/odbc/lib/CRsqls24.so
    (for 64bit: Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000_64/odbc/lib/CRsqls24.so)
    Description=MYDB
    HostName=100.10.10.10,1433\SQLInstanceA
    Database=MYDB
    QuotedId=Yes
    AnsiNPW=No
    LogonID=ABC
    Password=abc123
    Thanks!

    First off, let me say that in the past (pre v9) when I've tried to use Windows logins with datasources, it never worked.  But that doesn't mean that they finally got it working, just that I stopped trying.
    What I was referring to in my post is that once you have CF installed, you need to go to the Windows Services screen, open each of the CF processes, click on the LOGIN tab, and change it from the default services login to be whatever WIndows login you have setup in Active Directory.  Then restart CF so that it's process is now running under that login with its credentials.  Then go to SQL Admin and setup that same login and give it access to the database you want to access.  Then go to CF Datasource menu and setup the datasource as you did previously.  If CF's support of Windows authentication for datasources does in fact now work, you should be in business.
    If it doesn't work, then you'll need to do as I said earlier, and setup SQL logins for the CF servers to use, and then in the CF Datasource setup screens you would specify that login info in the same way that you would have given it the "sa" login info.
    -reed

  • I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.   I have been searching every other day for over a month trying to find a fix in Windows Safari with n

    I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.
    I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy.  I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval.  Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
    Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
    the funny behaviour of the trackpad/cursor still persists. any suggestion???
    thanks again

  • I updated to itunes 11, uninstalled it according to directions, and  re-installed itunes 10.7.021 for windows 64bit.  Now Iget the message itunes library.itl cannot be read because it was created by an earlier version of itunes

    I updated my computer to Itune 11, did not like it, and uninstalled it exactly according to directions. I re-installed Itune10.7.021 for Windows 64bit, but now I keep getting the message "The file  itunes library.itl cannot be read because it was created by a newer version of itunes.  How can I resolve this problem?

    zepel has it, but perhaps some more detail will help.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Import database from Linux to Windows fails with creating tablespaces

    Using (Oracle10g/Linux) user/schema (i think)"Sys" i exported succesfully full database and produced a log file which looks like this:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in UTF8 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export the entire database ...
    exporting tablespace definitions
    exporting profiles
    exporting user definitions
    exporting roles
    exporting resource costs
    exporting rollback segment definitions
    exporting database links
    . exporting sequence numbers
    exporting directory aliases
    exporting context namespaces
    exporting foreign function library names
    exporting PUBLIC type synonyms
    exporting private type synonyms
    exporting object type definitions
    exporting system procedural objects and actions
    exporting pre-schema procedural objects and actions
    exporting cluster definitions
    about to export SYSTEM's tables via Conventional Path ...
    exporting table                    DEF$_AQCALL
    exporting table                   DEF$_AQERROR
    exporting table                  DEF$_CALLDEST
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.Now (in Oracle10 Express/ Windows) i'm importing the dmp-file using user/schema System, following errors occur:
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by SYS, not by you
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    export client uses UTF8 character set (possible charset conversion)
    . importing SYSTEM's objects into SYSTEM
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE UNDO TABLESPACE "UNDOTBS1" BLOCKSIZE 8192 DATAFILE  '/u01/app/oracle"
    "/oradata/live/undotbs01.dbf' SIZE 251658240       AUTOEXTEND ON NEXT 524288"
    "0  MAXSIZE 32765M EXTENT MANAGEMENT LOCAL "
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/u01/app/oracle/oradata/live/undotbs01.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "SYSAUX" BLOCKSIZE 8192 DATAFILE  '/u01/app/oracle/oradat"
    "a/live/sysaux01.dbf' SIZE 346030080       AUTOEXTEND ON NEXT 10485760  MAXS"
    "IZE 32765M EXTENT MANAGEMENT LOCAL  AUTOALLOCATE  ONLINE PERMANENT  SEGMENT"
    " SPACE MANAGEMENT AUTO"
    IMP-00000: Import terminated unsuccessfullyWhy i get those errors when importing? Seems like the main problem is that the export was done in Linux which have it's own directories like '/u01/app/oracle/oradat' and others but in my Windows OS those folders don't exist? The whole import fails because tablespaces couldn't be created, later Schemas couldn't be created and tables also. Can i get the import work somehow?
    I runned the import as following:
    C:\Users\charlesr>imp userid=system/a FULL=Y FILE=exp_ddl.dmp log=imp.logMy Oracle 10 XE is installed into folder:
    D:\oraclexe\app\oracle\product\10.2.0Maybe i should run the import command in drive D where my Oracle lives, not in drive C as i did?
    And now when i tried to run the import on drive C, seems like my database user "system/a" is corrupted or password corrupted:
    C:\Users\charlesr>d:
    D:\>imp userid=system/a FULL=Y FILE=exp_ddl.dmp log=imp.log
    Import: Release 10.2.0.1.0 - Production on R Sept 10 17:32:25 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    IMP-00058: ORACLE error 1017 encountered
    ORA-01017: invalid username/password; logon deniedUsername:I think i don't have on OS level rights to write to C-drive, that's why i got errors. But now i can't log in with system/a, why so?
    Edited by: CharlesRoos on Sep 10, 2010 7:38 AM

    CharlesRoos wrote:
    Why i get those errors when importing? Seems like the main problem is that the export was done in Linux which have it's own directories like '/u01/app/oracle/oradat' and others but in my Windows OS those folders don't exist? The whole import fails because tablespaces couldn't be created, later Schemas couldn't be created and tables also. Can i get the import work somehow?Precreate tablespaces. You could use import option show=y to capture import run statements and find CREATE TABLESPACE statements. Keep in mind your target database already has undo, temp system, etc. tablespaces so you do not need to precreate them. Then rerun import.
    SY.

Maybe you are looking for

  • Doubt in data element creation

    Hi,     I have doubt in data element creation ie, there is 2 options elementary type (domain and built-in-type) and reference type (name of the reference type & ref to predefined type). if there is built in type here then what is the use of built-in-

  • Navigational attribute problem

    Hi all, Its really strange to say like our master data is getting changed automatically, for material master data we are loading from ODS in that material their is one nav attr field, when we load some data to that material object it is showing corre

  • How to identify the component is an assebly and Phantom component

    Hi , I am working on BOM. If You see the transaction cs03 (go with any bom  ) inside we can see the componenets...... These componenet having the check boxes for Assembly and Phantom componenet. If the check box is cheked we will consider as that com

  • Can't export to DivX AVI

    I am using a product called EyeTV to encode television programs onto my MAC. Afterwards I am given the option of compression. One of those options is DivX AVI. When I choose this I get the following error: "The currently installed DivX AVI component

  • AirPlay in future update for Yosemite

    is Apple planning for an update for Yosemite soon that will include AirPlay feature