Get an error when I was trying to new a Enviroment object

As you see, the code is very simple, and i got an exception when I was trying to execute the following code env = Environment::createEnvironment (Environment::OBJECT); I have also tried env = Environment::createEnvironment ();
The result is exactly the same, I looked up the errorcode table on the oracle website, the explanation is ORA-32104: cannot retrieve OCI error message
Cause: Error message after an OCI call could not be retrieved.
Action: This is an internal OCCI Error. Please contact customer support.
So I am confused with the error, any help would be greatly appreciated.
I use the VS 2005 with the dll and lib released by oracle for oracle 10G
#include <iostream>
#include <algorithm>
#include <occi.h>
using namespace oracle::occi;
using namespace std;
int main (int argc, _TCHAR* argv[])
Environment *env;
try
     env = Environment::createEnvironment (Environment::OBJECT);
catch(SQLException e)
     cout << e.getErrorCode();
}

This could be a problem with Ur client installations. ENVs are not set properly. Reinstall the client and try.
Is your SQLPLUS is working fine.....???
Then it could be a lib mismtach.

Similar Messages

  • I am getting this error when time machine tries to back up to a time capsule.  "The backup disk image "/Volumes/JUDY ARCENEAUX's Time Capsu-1/JUDY ARCENEAUX's MacBook Air.sparsebundle" is already in use."  Same time capsule has worked in the past.

    I am getting this error when time machine tries to back up to a time capsule.  "The backup disk image “/Volumes/JUDY ARCENEAUX's Time Capsu-1/JUDY ARCENEAUX’s MacBook Air.sparsebundle” is already in use."  Same time capsule has worked in the past.

    First, restart the computer and the Time Capsule. In most of the cases, this should solve the problem.
    If it doesn't work, see > http://pondini.org/TM/C12.html

  • HT1222 I am getting an error when I am installing the new update for my iPhone. Is anyone else getting an error in the middle of installing?

    I am getting an error when trying to install the  current updates.

    Why don't you try telling us what the error is...
    Check this document for troubleshooting information: http://support.apple.com/kb/ts3694

  • I'm trying to re-install mountain lion 19.8.2 from a recovery disk and get an error when it's trying to verify my computer with Apple, any idea what's wrong?

    I'm trying to reinstall mountain lion 10.8.2 from a recovery disk and I get the following error when I goes to verify my computer with apple,
    An error occurred while preparing the installation. Try running this application again. Can anyone help?

    Well, I'm trying to figure out how you're doing this from a recovery disk. The only way to reinstall Mountain Lion is through the Recovery HD in the computer. Hold Cmd/R as you are starting up the computer and keep holding it. Eventually you'll get a screen asking you to select the language. Hit continue to select english and you'll get a Mac OS X Utilities Menu with the second option down being reinstall OS X.

  • I am getting this error when I am trying to execute cal program compile error expected function or variable

    Option Explicit
    Dim Oper1 As Double, Oper2 As Double, Result As Double
    Dim operator As String
    Dim Cleardisp As Boolean
    Private Sub clearBttn_Click()
    Text1.Text = ""
    End Sub
    Private Sub digits_Click(Index As Integer)
    Text1.Text = Text1.Text & Index
    End Sub
    Private Sub Division_Click()
    Oper1 = Val(Text1.Text)
    operator = "/"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub dotBttn_Click()
    If Cleardisp = True Then
    Text1.Text = ""
    Cleardisp = False
    End If
    If InStr(Text1.Text, ".") Then
    Exit Sub
    Else
    Text1.Text = Text1.Text + "."
    End If
    End Sub
    Private Sub Equals_Click()
    On Error GoTo Errormsg
    Oper2 = Val(Text1.Text)
    If operator = "+" Then Result = Sum(Oper1, Oper2)
    If operator = "-" Then Result = Diff(Oper1, Oper2)
    If operator = "*" Then Result = Product(Oper1, Oper2)
    If operator = "/" Then Result = Div(Oper1, Oper2)
    Text1.Text = Result
    Cleardisp = True
    Equals.Enabled = False
    Exit Sub
    Errormsg:
    MsgBox "The Operation Result In The Error:" & Err.Description
    Text1.Text = "ERROR"
    Cleardisp = True
    End Sub
    Private Sub Form_Load()
    Equals.Enabled = False
    End Sub
    Private Sub Minus_Click()
    Oper1 = Val(Text1.Text)
    operator = "-"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub Multiply_Click()
    Oper1 = Val(Text1.Text)
    operator = "*"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub Plus_Click()
    Oper1 = Val(Text1.Text)
    operator = "+"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub Sum(x As Double, y As Double)
    Sum = x + y
    End Sub
    Private Sub Product(x As Double, y As Double)
    Product = x * y
    End Sub
    Private Sub Diff(x As Double, y As Double)
    Diff = x - y
    End Sub
    Private Sub Div(x As Double, y As Double)
    Div = x / y
    End Sub

    hi
    you havnt assign event handler for button e.g.
    Private Sub Plus_Click() handles Plus.Click
    Oper1 = Val(Text1.Text)
    operator = "+"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub Minus_Click() handles Minus.Click
    Oper1 = Val(Text1.Text)
    operator = "-"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Private Sub Multiply_Click() handles Multiply.Click
    Oper1 = Val(Text1.Text)
    operator = "*"
    Text1.Text = ""
    Equals.Enabled = True
    End Sub
    Shridhar J Joshi Thanks a lot

  • Getting following error when trying to run my application through eclipse

    Hi
    i am getting following error when i am trying to execute my program from my eclipse id 3.2 .Plz help me .I have also increase jvm memory upto 256M but it doesnt work.
    [java] E:\tarun\java\workspace1\Nss_Gui\main\build.xml:62: java.io.IOException: CreateProcess: "C:\Program Files\Java\jre1.5.0_05\bin\java.exe" -Xmx100M -classpath E:\tarun\java\workspace1\Nss_Gui\main\output;E:\tarun\java\workspace1\Nss_Gui\main\conf;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryRequest.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryResponse.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Cdr.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$2.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Event.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor�
    [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:758)
    [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:171)
    [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
    [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [java] at org.apache.tools.ant.Task.perform(Task.java:364)
    [java] at org.apache.tools.ant.Target.execute(Target.java:341)
    [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [java] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    [java] Caused by: java.io.IOException: CreateProcess: "C:\Program Files\Java\jre1.5.0_05\bin\java.exe" -Xmx100M -classpath E:\tarun\java\workspace1\Nss_Gui\main\output;E:\tarun\java\workspace1\Nss_Gui\main\conf;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryRequest.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryResponse.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Cdr.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$2.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Event.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor�
    [java] at java.lang.ProcessImpl.create(Native Method)
    [java] at java.lang.ProcessImpl.<init>(Unknown Source)
    [java] at java.lang.ProcessImpl.start(Unknown Source)
    [java] at java.lang.ProcessBuilder.start(Unknown Source)
    [java] at java.lang.Runtime.exec(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java] at java.lang.reflect.Method.invoke(Unknown Source)
    [java] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
    [java] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
    [java] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
    [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:751)
    [java] ... 13 more
    [java] --- Nested Exception ---
    [java] java.io.IOException: CreateProcess: "C:\Program Files\Java\jre1.5.0_05\bin\java.exe" -Xmx100M -classpath E:\tarun\java\workspace1\Nss_Gui\main\output;E:\tarun\java\workspace1\Nss_Gui\main\conf;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryRequest.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\GuiXmlQueryResponse.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Cdr.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor$2.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\CdrDescriptor.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\Event.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor$1.class;E:\tarun\java\workspace1\Nss_Gui\main\output\com\ardit\nss\common\model\cdr\EventDescriptor�
    [java] at java.lang.ProcessImpl.create(Native Method)
    [java] at java.lang.ProcessImpl.<init>(Unknown Source)
    [java] at java.lang.ProcessImpl.start(Unknown Source)
    [java] at java.lang.ProcessBuilder.start(Unknown Source)
    [java] at java.lang.Runtime.exec(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java] at java.lang.reflect.Method.invoke(Unknown Source)
    [java] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
    [java] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
    [java] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
    [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:751)
    [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:171)
    [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
    [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [java] at org.apache.tools.ant.Task.perform(Task.java:364)
    [java] at org.apache.tools.ant.Target.execute(Target.java:341)
    [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [java] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    javax.el.PropertyNotFoundException: Target Unreachable, 'oracle' returned null
    The managed bean property 'oracle' is not found with the specified EL expression. What is the EL expression used  and what is the managed bean property?

  • Getting an error when trying to activate MP !

    hi guys,
    I am getting following error , when i am trying to activate multi provider.
    The MultiProvider definition contains an InfoObject that has not been assigned to the relevant InfoProviders.
    please help
    thaks

    Hi Hon,
    When you double click on the MP, you will be able to see all your Cubes. Also in the Right side you will be able to see the folders of MP like dimension, Unit, Time etc..
    First you will need to drag & drop all the characteristics from your Cubes to Dimensions folder(You can rename it) & also Keyfigues to Keyfigure folder of MP.
    Then at the top of right side left coner, you will find a icon "Identify characteristics". When you click on that, it will show you all the IO's you have dragged under DImension folder of MP along with the Checkbox & respective cubes in which that IO is present.
    You will need to select the Check box(check them) & continue this for all the IO's.
    Similarly there is one more button for kwyfigures beside "Identify characteristics". Select that & repeat the above step for keyfigures now.
    After doing this, try to activate the MP. It should work
    Hope this helps!
    Regards,
    Pavan

  • Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

  • TS1591 My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.

    My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.Help please!

    Hello chindeepchow,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694#3000
    Resolve communication issues
    Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200. These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
    Check the hosts file or TCP/IP filtering, which might cause communication issues between iTunes, ports, and servers.
    Have a nice day,
    Mario

  • There was an error installing this update. Please quit and try again later. Error Code: U44M1I210  I keep getting this error when trying to update

    There was an error installing this update. Please quit and try again later. Error Code: U44M1I210  I keep getting this error when trying to update

    Hi,
    You can visit Error U44M1I210 | Install updates and see if it works.
    Regards
    Kishan

  • HT202157 When I try to update my Apple TV software, I get an error message "update was unsuccessful try again later". I've tried downloading the update for two weeks. Are there any recommendations?

    When I try to update my Apple TV software, I get an error message "update was unsuccessful try again later". I've tried downloading the update for two weeks. Are there any recommendations?

    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • When I was trying to get icloud downloaded to my ipad I got an 1603 error. Then my ipad got the beginning hook up to itunes as you get when you first try your new ipad.

    When I was trying to get icloud downloaded to my ipad 2 I got an 1603 error.   Now my ipad 2 is showing the icon tha says to hook up to itunes.

    http://support.apple.com/kb/TS3694#error1603
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

  • WHEN TRYING TO DOWNLOAD THE LATEST VERSION OF ITUNES, I KEEP GETTING AN ERROR WHEN I TRY TO OPEN IT. MSVCR80.dll was not found

    AFTER DOWNLOADING THE LATEST VERSION OF ITUNES, I CAM GETTING AN ERROR WHEN I TRY TO OPEN IT. MSVCR80.DLL WAS NOT FOUND. UNABLE TO LOCATE COMPONENT. BEFORE I REMOVE THIS VERSION AND TRY TO RELOAD AGAIN, JUST WANTED TO BE SURE I WOULDN'T LOSE ALL 200 PURCHASED SONGS ON MY PC.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99220)

  • I get an error when trying to burn a DVD. I have version 7.1.2. "Error rendering/encoding titles...".  Never did burn the DVD.  Any ideas?

    I get an error when trying to burn a DVD. I have version 7.1.2. "Error rendering/encoding titles...".  Never did burn the DVD.  Any ideas?
    Thanks, Scott

    Hi
    This Q is close to - Something is wrong. What's it ?
    You have to supply much more info to be able to start guessing.
    • What material was used ? Video codec, Audio file format and Photo file format
    • Free space on Start-Up hard disk. How much ?
    • Brand of DVD used ?
    • Type of DVD used ?
    • Burn speed set down or not ?
    • Version of iMovie, iDVD'11 v 7.1.2 (OK), QuickTime and Mac OS ( X.6.8 I read ? )
    And all extra info You can supply - that set's us on track.
    Yours wanting to be of help. Bengt W

  • MacPro backed up to Time Machine, added Mac Mini now get "The backup disk image "/Volumes/Data/Jerry Booher's MacBook Pro.sparsebundle" is already in use." error when Mac Pro tries to back up

    MacPro backed up to Time Machine, added Mac Mini now get "The backup disk image “/Volumes/Data/Jerry Booher’s MacBook Pro.sparsebundle” is already in use." error when Mac Pro tries to back up

    It is standard Mountain Lion error due to the networking ability which is comparable to wet string. (actually that was lion.. it dried out some with Mountain Lion.. higher in the hills perhaps!!)
    See C12 and C17
    http://pondini.org/TM/Troubleshooting.html
    But many people are suffering the same issue..
    And the above is even a little out of date.. you might need to do a reset to the TC.
    Welcome to Apple's beta program for everyone.

Maybe you are looking for

  • How to upgrade your notebook to a SATA 2.5" SSD

    Method 1: Use a usb to sata cable and a cloning program for the simplest way to migrate your OS to an SSD. (see the image below) Method 2: Remove the hard disk from the notebook. Put it and the target SSD in a desktop PC in spare available SATA ports

  • Shipment Cost

    Hi Folks, I have a problem with Shipment cost Document having two line items in that . First line item showing the net value as "Zero"  and Second line item having some net value "xxxxx" . Now my issue why for line item " 1"  the condition type is no

  • Synced Address Book with iPhone but the I have a sorting question

    My contacts in my Address Book are sorted as "LAST NAME, FIRST NAME, MIDDLE NAME." But after syncing my contact with my iPhone, the contact listed on the iPhone are listed as "LAST NAME, MIDDLE NAME, FIRST NAME." How can I make sure that the contact

  • How can I permanently delete itunes files?

    I moved my itunes library to an external hard-drive, but it still shows all the albums in my library.  If I try to play an album, it says the file has been moved.  How can I clean up my library so it doesn't show those files anymore?

  • Migrate to New Server

    OES 11 SP2 on an older PE2850 that does not support virtualization!! This existing OES 11 install runs eDir, iFolder, LUM, and imanager (all installed from the disc). We need to migrate off the existing server, replace it with a new server and then m