Runtime error in Visual C++ 2008 and 10.2.0.1.0 Express with getString()

Hi,
My configuration:
Database: 10.2.0.1.0 Express
Libs: OCCI 10.2.0.3.0 (patch 13) libraries for Microsoft Visual C++ 8
IDE + Compiler: Visual C++ 2008 - 9.0.30729.1 SP
I run into trouble with the following piece of code:
stmt = con->createStatement("select 'XXXXXXXXXXXXXXXX' /* 16 */ from dual");
res = stmt->executeQuery();
res->next();
std::string rs = res->getString(1); // <-- Causes a runtime error!
The following code works fine:
stmt = con->createStatement("select 'XXXXXXXXXXXXXXX' /* 15 */ from dual");
res = stmt->executeQuery();
res->next();
std::string rs = res->getString(1);
Obviously, the length of the selected string is an issue.
Many thanks in advance.

Hi,
My configuration:
Database: 10.2.0.1.0 Express
Libs: OCCI 10.2.0.3.0 (patch 13) libraries for Microsoft Visual C++ 8
IDE + Compiler: Visual C++ 2008 - 9.0.30729.1 SP
I run into trouble with the following piece of code:
stmt = con->createStatement("select 'XXXXXXXXXXXXXXXX' /* 16 */ from dual");
res = stmt->executeQuery();
res->next();
std::string rs = res->getString(1); // <-- Causes a runtime error!
The following code works fine:
stmt = con->createStatement("select 'XXXXXXXXXXXXXXX' /* 15 */ from dual");
res = stmt->executeQuery();
res->next();
std::string rs = res->getString(1);
Obviously, the length of the selected string is an issue.
Many thanks in advance.

Similar Messages

  • I loaded actions into my PSE 10, then when I restarted my PC (windows 7) and PSE 10 I got a Runtime Error (Microsoft Visual C    Runtime Library)

    I loaded actions into my PSE 10, then when I restarted my PC (windows 7) and PSE 10 I got a Runtime Error (Microsoft Visual C    Runtime Library)

    Are these actions you put into the C:\ProgramData\Adobe\Photoshop Elements\10.0\Photo Creations\photo effects folder?
    If so, did you delete both the
    ThumbDatabase.db3  in C:\ProgramData\Adobe\Photoshop Elements\10.0
    and
    MediaDatabase.db3 in C:\ProgramData\Adobe\Photoshop Elements\10.0\Locale\en_us
    after installing the actions?
    Then let the pse 10 editor run for about 10 to 20 minutes to rebuild the effects database.

  • Installa error for visual studio 2005 and Visual C++ 2005 on windows server 2003 SP@

    Not able to install visual studio 2005 I am getting error “The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch” and for visual C++ 2005 after clicking the setup file nothing is displayed on the desktop. please guide. All the above software I am installing on windows server 2003 service pack2
    Dear Gurus Please help me

    You might want to try : MS Visual Studio 2008 and Visual C++ 2008 Express instead as this version is supported as well.
    See:
    For R12: Note 1070674.1 - MS Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 12 on Windows
    For 11i : Note 1095124.1 - Microsoft Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 11i on Windows
    Regards,
    Ronald

  • How do you repair ntoskrnl.exe error or system error in windows server 2008 and 2012

                              
    hi,
    can you repair system file errors like  ntoskrnl.exe in windows server 2008 and 2012  like   like before  in windows server 2003 ?
     the steps were  repairing ntoskrnl.exe  error in windows server 2003
    1- have a 2003 cd and from that cd  start recovery console and copy from i386 directory ntldr and ntdetect.com to  windows /system32 directory on the  server and then repairing
    2- MBR with fixmbr command  and then  rebuild BOT.INI file  with bootcfg/rebuild . 
    now my question  is how you repair or solve such problem with ntoskrnl.exe error  in windows server 2008 and windows server 2012
    thanks
    johan
    h.david

    first this wil take a lot of time for windows 2008 and 2012 ,
    and what about windows 2003 I thing this has no startup repair
    thanks
    johan
    h.david
    What will take a lot of time? Repair or clean install? These days one can standup a new VM and have an operating system on it in around 20 minutes or so.
    Correct server 2003 is file based deployment and completely different OS from repair perspective as well.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I am recieving a runtime error microsoft visual c++ terminate in an unusaual way

    I am recieving a runtime error microsoft visual c++ terminate in an unusaual way

    Check the user tip below.
    https://discussions.apple.com/docs/DOC-6562

  • I own a MAC Pro 3,1 (early 2008) and am running Mavericks 10.9.3 with no problems. I would like to add an I/O card to add USB 3 functionality or ESATA functionality but am unable to find a compatible card. As such my question...can I do this and if so wha

    I own a MAC Pro 3,1 (early 2008) and am running Mavericks 10.9.3 with no problems. I would like to add an I/O card to add USB 3 functionality or ESATA functionality but am unable to find a compatible card. As such my question...can I do this and if so what is the best card?
    Thank you

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    Also see:
    https://discussions.apple.com/thread/6282459?tstart=0

  • I am running Yosemite and have just bought Pro Tools Express with the intent to Upgrade to Pro Tools 11. Pro Tools Express is not compatible with Yosemite and will not install. How can I get this done?

    I am running Yosemite and have just bought Pro Tools Express with the intent to Upgrade to Pro Tools 11. Pro Tools Express is not compatible with Yosemite and will not install. How can I get this done?

    I have had this problem for close to a year. I have an Extreme base station, two Airport Express's and multiple G4 Mac's with up to date software. I have spent a huge amount of time trouble shooting, resetting, reapplying software and finally calling Applecare without any help. It would be great to get this problem solved.
    Powerbook G4   Mac OS X (10.4.7)  

  • Crystal 2008 Runtime error on Windows Server 2008

    I have a simple ASP.Net web applications that is using reports developed in Crystal 2008.  My server OS is Windows Server 2008 and has the Crystal 2008 SP1 runtime controls installed.  When I run the application it works fine until I actually try to run the report.  As the paremeter screen is attempting to load I am getting several script errors on the page. 
    _de is undefined, object not specified, bobj is undefinded are the major messages.  I have researched for several hours and have had no success.  I have come to the conclusion that the web page does not know where to find the .js and .css crystal files or does not have the correct permissions to access the files. 
    One thing that I found online and tried was to add a line of code in the HTML that specified the script as java and the location of the JS file for the viewer.  This helped but still had errors.
    BTW....This application runs fine on a Windows Server 2003 SP2 OS. 
    Anyone had the same issue?  Any help is greatly appreciated!
    Forgot to mention my development environment is VS 2008.
    Edited by: Bobby on Mar 13, 2009 11:02 AM

    See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Also, [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note will be of help - possibly mode that the above note.
    Also, make sure you are using the latest merge modules / MSI to do your deployment. See [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    Finally, the below Articles are worth having:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
    Ludek

  • Runtime Error R6034 visual C++ library

    This Program C:\  Program file (X86) R 6034 Microsoft Visual C++ Runtime Library error keeps coming up when I start up my computer,   Note I am running Windows 7   How do I fix this?  Thank you.

    Hi,
    A runtime error is a software or hardware problem that prevents a program from working correctly. Runtime errors might cause you to lose information in the file you're working on, cause errors in the file (corrupt the file) so you can't work with it, or
    prevent you from using a feature. Unlike stop errors, runtime errors don't typically cause Windows or a program to stop working.
    1. I would suggest you to try the steps from the following link:
    http://windows.microsoft.com/en-US/windows7/What-is-a-runtime-error
    2. I would suggest you to run SFC scan.  SFC scan will scans all protected system files and replaces incorrect versions with correct Microsoft versions.
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7
    http://support.microsoft.com/kb/929833
    3.  I would like to suggest you boot in Clean Boot Mode to check the issue. 
    How to perform a clean boot to troubleshoot a problem in Windows 8, Windows 7, or Windows Vista
    http://support.microsoft.com/kb/929135
    If the issue disappears in the Clean Boot environment, we can use a 50/50 approach to quickly narrow down which entry is causing the issue.
    Meanwhile, you may refer to the links below to check the issue:
    C Run-Time Error R6034
    http://msdn.microsoft.com/en-us/library/ms235560(v=vs.90).aspx
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • Runtime Error  loading Crystal Reports 2008

    Hi there
    I have recently purchased online in the sap site the bundled product that includes SAP Crystal Reports and SAP Crystal Dashboard Design on the sap website. For those I received only one key code
    I downloaded both products and manage to installed and load SAP Crystal Dashboard Design. I have installed SAP Crystal Reports (CR2008LPs_02142011.exe) everything goes well. When I start the program it loads for a second and then I get the following error:
    u201C Runtime Error!
    Program: c:\Program Files\Businessu2026
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application support team for more information.u201D
    My OS is Windows 7 Enterprise 32-bit
    I have tried the following:
    u2022     Uninstalling and reinstalling again
    u2022     Downloading the file again from the sap site in case the file was corrupted
    u2022     I have uninstalled CR and download the SAP Crystal Reports trial version from SAP site
    u2022     Trying to navigate to the registry to clear the registry for recent files (as I have seen in this thread Crystal Reports 2008 Runtime Error) . I get the following error message when I click on u201CHKEY_CURRENT_USER/Software/Business Objects/Suite 12.0/Crystal Reports/Recent Filesu201D. Error:
    "Error opening Hey:
    Crystal Reports cannot be opened
    An error is preventing this key from being opened
    Details: Access is denied"
    I have been unsuccessful with all the above.
    I would appreciate if someone could help.
    Thanks in advance and regards,
    Santiago

    Hi Santiago,
    That error suggests you are not a local PC administrator. CR installs require you use an account that can update registry keys etc.
    Talk to your IT guys to give you full access to your PC or log on as the local PC Administrator and install it again.
    Thank you
    Don

  • Windows 7 Runtime Error Microsoft Visual C + +

    When i turn on my computer and let everything load, i get a message saying, Runtime Error. I didnt pay much attention to it until yesterday. I  tried channging the password on my desktop. When i clicked "change your windows password" absolutely nothing happend. I also noticed that several other functions do not work such as windows gallery, camera, or camcorder. im not sure how to fix this problem and ive done a reboot in safe mode, virus scans, and deleted a few downloaded programs but nothing seems to fix the problem. i mainly use my computer to surf the web and store music and photos. 
    I have the HP touchsmart 300. Running windows 7 homepremium. 
    Please help. Any questions just ask. 

    Hello dtovar11,
    You’re getting a runtime error.
    Open up command prompt and run the following command SFC /scannow.
    This will scan the system files and correct any errors that it can.
    Here is a link to command prompt.
    When you go to open command prompt, right click and run as administrator.
    If it has not been too long since the problem started, you can run a system restore.
    This will take the system back to when everything was working correctly without affecting your personal files.
    Here is a link on how to do a restore.
    Let me know how everything goes.
    Have a good day.

  • Runtime Error - Microsoft Visual C++ Runtime Library

    Each time I login to my Windows Server 2012 machine, after few minutes I keep getting the Runtime Error, even if I close the dialog box, it keeps repeating for 3-4 times.
    Below is the error description
    Runtime Error!
    Program: C:\Windows\system32\wbem\wmiprvse.exe
    This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
    Can somebody help on this?
    Thanks,
    Vishwanath

    Hi Vishwanath,
    Based on my research, this issue could be caused by missing or corrupt system files, please try to run the "sfc /scannow" without the quotes in cmd to fix it.
    If this can not work, please also check this forum to fix:
    Need fix for Microsoft Visual C++ Runtime Library Runtime
    Error
    Best Regards,
    Anna

  • I have been trying to download the itunes update.  1.  I keep getting a runtime error.  i have researched and tried to the errors but can no long get into itunes

    I have been trying to update itunes but i keep getting a runtime error.  i have been working on this for 2 hours and cannot find anything in the community to help

    Solving MSVCR80 issue and Windows iTunes install issues.

  • Recent update download upset my entire itunes program. Can't use to sync iphone, ipad, etc nor run any other updates.  Get runtime error message, etc...and contact app support team.  Says itunes not installed correctly, pls reinstall. tried to no avail.

    A recent update download upset my entire itunes program. Unable to use to sync iphone, ipad, etc nor run any other updates.  Get runtime error message, Error 7 (windows error 1114)  etc...and contact app support team.  Says itunes not installed correctly, pls reinstall. tried to no avail.

    First try updating to iTunes 11.1.5.5, using an installer downloaded from the Apple website:
    http://www.apple.com/itunes/download/
    If you still get the errors after that, try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Ipcu error: Runtime Error on Visual C++ runtime library

    Hi, I'm new to iPhone Configuration Utility on Windows. I just downloaded the latest version and installed after installing the latest version of iTunes and rebooting. I'm on Windows 7 Pro, 64 bit.
    When starting ipcu, I get a dialog titled: Microsoft Visual C++ Runtime Library and text of
    Program: C...
    R6034
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I click OK and get ...
    an iPhone Configuration Utility dialog that says:
    iPhone Configuration Utility failed to locate 'Apple Mobile Device Support'. Please reinstall iPhone Configuration Utility. You can download iPhone Configuration Utility from ....
    I click OK and get the same Visual C++ dialog again.
    I click OK and then it shuts down.
    Everything appears to be installed. There is no ipcu.log created in C:\Program Files (x86)\iPhone Configuration Utility
    Ideas?

    when itry run form give me error
    Visual c++ runtime library assertion failed
    xperssion result ==utjer_success
    frm_10039 : unable to startup the from builder.
    why? I don't know if this is the same issue, but we receive the same error if trying to "run" a form on a client machine that has an unpatched version of the Forms Runtime, but the Form was created with a Patched version and uses certain functionality such as a Treeview. The solution for us was to Patch the client version, and everything worked fine.
    Hope this helps.

Maybe you are looking for

  • Goods receipt and closing problem

    Dear All, I know this a question to be asked from MM but I am sure you people would be knowing it: Whenever I do goods receipt (tcode: MB1C, movement type: 561) and enter, it gives the error "Posting only possible in 2007/05 and 2007/04 in CoCd XXXX.

  • How to display HTML files using ABAP Webdynpro?

    Hi, I have a html index file and a bunch of other files accessed by the index file  in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achi

  • 9.0.2 loaded and now store is loading without text

    Hi, just upgraded i-tunes to 9.0.2 -- when i access the store, I get a black background with album artwork but no text.... cant see what albums are called or what tracks are available... though i do get the 'bullets' for the tracks, which will play i

  • Down Payment Alternative Calt type =48

    Dear Friends In standard Pricing Procedure RVAA01, AZWR= DOWNPAYMENT SETTLEMENT, using Alternative Calculation Type = 48:- Check Down Payment. How we can see it function in sales document. and how it is affect to account. Please tell its process step

  • PARTY. CAN NOT UPDATE UNVERSIONABLE OBJECT IN A VALIDATED CONFIGURATION.

    Hi B2B gurus, While validating our host trading partner, I am getting below error. Could you please help me in resolving this issue. Please do the needful. We are using two versions of EDI 4010(5.0) and 5020(1.0) versions An error occurred during val