VC ++: using several houses

Hello! Having problems with several houses of oracle. Our client uses 8.0.5 and 11R1 on the same computer.
Our program uses 11R1 and works with CADOConnection. When 8.0.5 is set by default to home, our application will fail. When we put
11R1 as default 8.0.5 home, old application fails. I tried to configure system variables PATH and ORACLE_HOME 11R1 path for our application, to force them using 11R1 House, but still have no luck. Looking for troubleshooting this problem are also without effect.

So the question is: ' how to change oracle home of our application?
Any ideas would be appreciated. Thanks in advance.

UPD. Something tells me that I should register oracle oledb DLL, everytime I try to change the home page... Hope I'm wrong...


PS. forgive me my bad English.

Edited by: user8824595 the 31.08.2010 08:18

Both apps using OLEDB? Because it is a COM object, OLEDB is a single product home, so can only be used in one House at a time.

If I remember correctly however, Oracle will not come out with an OLEDB provider before 806, so I wonder if it's actually in your 805 app using OLEDB.

It is difficult to offer a suggestion without knowing with certainty what use applications and this error message you get, but the jist of it is:

(1) only one version of OraOLEDB can be stored in the registry at a given time.
(2) OraOLEDB requires the matching version of the Oracle client software to be first in your PATH environment variable.
(3) pretty well however it connects, the 805 House will probably need to be first in the path, as a principle no driver Oracle Windows multiple homes very well taken Oracle supported by day 8.0. (odbc, oledb, oo4o, etc.)
(4) even while 11.1, the OLEDB provider would have to be first in your path.
(5) you can provide a specific application paths through the following: http://www.codeguru.com/Cpp/W-P/dll/article.php/c99, but you won't get around to try to use multiple versions of OLEDB at the same time.

It will be useful,
Greg

Tags: Database

Similar Questions

  • installation of several houses problem

    Oracle 11.2.0.1 SE - One
    Oracle Linux 64-bit 5.6.
    Oracle Grid Infrastructure, autonomous - without CARS

    First the background and intention, then the real problem.

    Background

    I have built a virtual machine under Vbox and I try to set up as close as possible to imitate our primary development server. The dev server had several houses and houses of asm db facilities. Currently only one of each is actually in use. Shows the current inventory
    <HOME_LIST>
    <HOME NAME="OraDb11g_home1" LOC="/u01/app/oracle/product/11.2.0/dwdev" TYPE="O" IDX="1"/>
    11.2.0.1.0; patch 9655066 applied; running 3 databases
    
    <HOME NAME="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid" TYPE="O" IDX="2"/>
    11.2.0.1.0; no patches; no instances
    
    <HOME NAME="Ora11g_gridinfrahome2" LOC="/u01/app/oracle/product/11.2.0/grid" TYPE="O" IDX="3"/>
    11.2.0.1.0; patch 9655066 applied; no instances
    
    <HOME NAME="OraDb11g_home2" LOC="/u01/app/oracle/product/11.2.0.2/dw" TYPE="O" IDX="6"/>
    11.2.0.2.0; no patches; no instances
    
    <HOME NAME="OraDb11g_home3" LOC="/u01/app/oracle/product/11.2.0/dw" TYPE="O" IDX="7"/>
    11.2.0.2.0; no patches; no instances
    
    
    <HOME NAME="Ora11g_gridinfrahome3" LOC="/u01/app/oracle/11.2.0/grid" TYPE="O" IDX="8" CRS="true"/>
    11.2.0.2.0; no patches; active ASM instance
    
    <HOME NAME="OraDb10g_home1" LOC="/u01/app/oracle/oracle/product/10.2.0/fsupg" TYPE="O" IDX="4" REMOVED="T"/>
    <HOME NAME="OraDb10g_home2" LOC="/u01/app/oracle/product/10.2.0/fsupg" TYPE="O" IDX="5" REMOVED="T"/>
    </HOME_LIST>
    So I thought that the best way to get to the same configuration would be to install different products in the same order that they are indexed in the inventory. After each successful installation, take a snapshot of the virtual machine, so I have a point to return if the next step is having problems. I'm so glad I did.
    First, install db 11.2.0.1, no database. completed as planned.
    Then, install GI 11.2.0.1, autonomous. If I tried to install all software, he wanted a clustered environment, so I chose (as I had a lot of vm earlier and simpler) install and configure a standalone, which required that I provide records for a DG. OK, actually, no problem. Snapshot taken by this point.

    Then just install 11.2.0.1, autonomous, but in a different House - this time under ORACLE_BASE. After a few false starts I realized that I first had to force drop the disk group, and then force deconfig installation (perl rootcrs.pl - deconfig-force).

    The fun starts now. Execute runInstaller, select "install and config for a stand-alone server network infrastructure" and everything seems fine until the end of root.sh.

    It seems actually finishes with
    Successfully configured Oracle Grid Infrastructure for a Standalone Server
    Updating inventory properties for clusterware
    Starting Oracle Universal Installer...
    
    Checking swap space: must be greater than 500 MB.   Actual 5951 MB    Passed
    The inventory pointer is located at /etc/oraInst.loc
    The inventory is located at /u01/app/oraInventory
    'UpdateNodeList' was successful.
    But then, after having taken this step, I get a pop up stating "[INS 20802] Automatic Storage Management Configuration Wizard failed", and the last lines of the referenced installation log read
    INFO: Command /u01/app/oracle/product/11.2.0/grid/bin/asmca -silent -oui_internal -configureASM -diskString /dev/asm* -diskGroupName DATA -diskList /dev/asm-disk1,/dev/asm-disk2 -redundancy NORMAL
    INFO: ... GenericInternalPlugIn.handleProcess() entered.
    INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
    INFO: ... GenericInternalPlugIn: checking secretArguments.
    INFO: ... GenericInternalPlugIn: starting read loop.
    INFO: Read: SYS_PASSWORD_PROMPT
    INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysAsmPassword
    INFO: Read: ASMSNMP_PASSWORD_PROMPT
    INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag -asmMonitorPassword
    INFO: End of argument passing to stdin
    INFO: Read:
    INFO: Read: An ASM Instance with SID +ASM is already detected. ASM failed to start. Check /u01/app/oracle/cfgtoollogs/asmca/asmca-13011512PM0937.log for details.
    INFO: Read:
    INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant
    and by checking the end of /u01/app/oracle/cfgtoollogs/asmca/asmca-13011512PM0937.log
    [main] [ 2013-01-15 12:09:46.233 CST ] [SQLEngine.initialize:317]  Execing SQLPLUS/SVRMGR process...
    [main] [ 2013-01-15 12:09:46.245 CST ] [SQLEngine.initialize:354]  m_bReaderStarted: false
    [main] [ 2013-01-15 12:09:46.246 CST ] [SQLEngine.initialize:358]  Starting Reader Thread...
    [main] [ 2013-01-15 12:09:46.250 CST ] [SQLEngine.initialize:407]  Waiting for m_bReaderStarted to be true
    [main] [ 2013-01-15 12:09:46.276 CST ] [SQLEngine.done:2148]  Done called
    [main] [ 2013-01-15 12:09:46.276 CST ] [UsmcaLogger.logException:171]  SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:checkAndStartupInstance
    [main] [ 2013-01-15 12:09:46.276 CST ] [UsmcaLogger.logException:172]  ORA-01034: ORACLE not available
    
    [main] [ 2013-01-15 12:09:46.276 CST ] [UsmcaLogger.logException:173]  oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACLE not available
    
    oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
    oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeQuery(SQLEngine.java:823)
    oracle.sysman.assistants.usmca.backend.USMInstance.checkAndStartupInstance(USMInstance.java:602)
    oracle.sysman.assistants.usmca.backend.USMInstance.configurePresentASM(USMInstance.java:1068)
    oracle.sysman.assistants.usmca.backend.USMInstance.configureASM(USMInstance.java:865)
    oracle.sysman.assistants.usmca.service.UsmcaService.configureASM(UsmcaService.java:189)
    oracle.sysman.assistants.usmca.model.UsmcaModel.performConfigureASM(UsmcaModel.java:693)
    oracle.sysman.assistants.usmca.model.UsmcaModel.performOperation(UsmcaModel.java:497)
    oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:156)
    oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:333)
    [main] [ 2013-01-15 12:09:46.277 CST ] [UsmcaLogger.logExit:122]  Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : checkAndStartupInstance
    [main] [ 2013-01-15 12:09:46.277 CST ] [UsmcaLogger.logException:171]  SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:configureASM
    [main] [ 2013-01-15 12:09:46.277 CST ] [UsmcaLogger.logException:172]  An ASM Instance with SID +ASM is already detected. ASM failed to start. Check /u01/app/oracle/cfgtoollogs/asmca/asmca-13011512PM0937.log for details.
    [main] [ 2013-01-15 12:09:46.278 CST ] [UsmcaLogger.logException:173]  java.lang.Exception: An ASM Instance with SID +ASM is already detected. ASM failed to start. Check /u01/app/oracle/cfgtoollogs/asmca/asmca-13011512PM0937.log for details.
    oracle.sysman.assistants.usmca.backend.USMInstance.configurePresentASM(USMInstance.java:1078)
    oracle.sysman.assistants.usmca.backend.USMInstance.configureASM(USMInstance.java:865)
    oracle.sysman.assistants.usmca.service.UsmcaService.configureASM(UsmcaService.java:189)
    oracle.sysman.assistants.usmca.model.UsmcaModel.performConfigureASM(UsmcaModel.java:693)
    oracle.sysman.assistants.usmca.model.UsmcaModel.performOperation(UsmcaModel.java:497)
    oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:156)
    oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:333)
    [main] [ 2013-01-15 12:09:46.278 CST ] [UsmcaLogger.logExit:122]  Exiting oracle.sysman.assistants.usmca.model.UsmcaModel Method : performCreateASMInstance
    [main] [ 2013-01-15 12:09:46.278 CST ] [UsmcaLogger.logExit:122]  Exiting oracle.sysman.assistants.usmca.model.UsmcaModel Method : performOperation
    [root@vbdwsbd01 logs]#
    I searched google and MOS on key error messages, but came up with nothing that seemed useful in this case.

    Ideas?

    Hello
    Have you checked/var/opt/oracle/oratab? Probably the first GI facility to input of + ASM and second installation fails because the instance is already set up by the first installation?
    Can you try to make installations of GI (software only) first for Ora11g_gridinfrahome1 and Ora11g_gridinfrahome2 and then for and the latest GI for Ora11g_gridinfrahome3 installation, you can choose "install and configure" installation option so that no conflict occurs.

    Salman

  • How to install oracle several houses in oralce 9i on unix

    Hello world

    Can someone show me the steps how to install several houses Oracle of oracle 9i on unix AIX. I went through the google results but and oracle, but no documentation has provided specific steps.

    I need to know if there is no prerequisite. (allocation of disks, create the os users, groups etc...)

    I need to know if using DBCA must do all that for me. (for database software)

    What is the .profile file which should I change to inform the operating system that is the default SID?

    I need to do to test patches and .dmp files imported into a database structure.

    Please help me.

    Kind regards

    Published by: cutedba on August 5, 2009 10:07

    cutedba wrote:
    Thank you for answer you. What LD_Library_PATH, LIBPATH environment variables? I'll keep the defined in the .profile file, since they are already?

    If they are targeted at a specific individual OHOME directory...
    >

    What happens if I comment the variables OraHome1 environment and added values of OraHome2? do I need to restart a service or process again I need to disconnect the user and the connection again?

    . Profile (or its variant) is processed when the owner user account logs on the system. So if change you it after you log on this subject will have to be rerun. You have not to sign out and then sign back in to make. You can 'source' file like this:

    myosprompt$> . .profile
    

    Notice that the syntax... dot space If you simply run .profile it will run in a child process and nothing will affect your current process. Using the syntax 'source' (dot space filename) defined environment variables will be seen by your current process.

    But it's really a clumsy way to do. I would not depend on having to constantly change and my .profile file source.

    What did you find when read you on "oraenv?
    >

    Please your comments...

    Published by: cutedba on August 6, 2009 18:09

    Published by: cutedba on August 6, 2009 18:10

  • use several fixes for live

    Hello;

    Sorry if this is a stupid question, but we'll have our first live concert in 2 weeks and I need some information.

    an instrumental songs is running in the background (desktop dj) and we want to add some live and vocal instruments using the main stage 3.

    I figured out, how to import logic channel strip parameters x 3 MainStage (audio and midi); but we want to use more than one midi instrument or an audio patch at a time.

    How does it work?

    Choose an audio and midi patch at the same time?

    E. g.. : us about two people, the instrumental is running in the background and each of us plays a midi instrument and the other is sings the song with the main stage.

    as well; Yes; Sorry; but our show is so close...

    TX so

    Not sure I exactly understand your question, but I would get a terminology directly, Apple screwed up:

    in Mainstage:

    "Channel Strip" = Patch (in the traditional definition, one only sound or instrument)

    'Patch' = Set/Setup/Mix/Performance (a group of hotfixes)

    So a MainStage 'Patch' can contain any number of bands of different channels (traditional: patches). It's for you to decide how you want to trigger their unique. The most common is affecting parts of the different keyboard, or you could use several keyboards and have them routed to the sounds as a result.

    Here's how to set up my workflow: for every song I play live, I use a "patch" by song, with patches named for their song, sorted alphabetically in the list of patches. I use anywhere from 1 to 10 + bands of channels by 'patch', which are divided between several keyboards and keyboard parts. Using this workflow, I can't spend the mid-song patches and can keep my patches much more organized.

    So my list of "patches" looks like:

    "Don ' t Stop believing"-contains bass synth & piano split and a wire saw for keyboard #2

    "Rich Girl" - Wurli #1, strings on keyboard #2 keyboard

    "Superstition" - Clavinet in the left hand, Horn in the right section

    etc. (on about 140 songs)

    Not everyone there only this way, many people use a "patch" for a more individual sound, or perhaps a sequence of keyboard split. So you CAN set them up like that and just get mid-song if you need to:

    "Piano".

    "Piano/synth thread.

    "With organ.

    "Rhodes/Strings.

    etc.

    Everyone has their different way to organize their work performance. MainStage is a VERY deep customizable program that allows different ways to implement. I should also mention "Alias Channel Strips', which are incredibly useful. Every channel strip takes a certain amount of CPU and RAM, and it would be very easy to overload your computer with only a dozen a few patches of dozens. But as many times you want to use the same sound over and over again in different configurations: Piano split with pads, piano split with organ, piano split with lead (etc). Instead of making copies of the channel strip, you can copy it, and then choose 'Paste as alias', who will make a copy that is not unique, but it is inspired by all the technical features of the original and does use more CPU or RAM so if you have a. It's exactly like aliases files on a Mac, they aren't really a copy of the file, but a pointer.

    I hope that helps! But do a little research and reflection, I'm sure you'll come up with a good workflow to organize your live material!

  • How can I remove the page options for my home pages when I use several home pages?

    I used several pages to my homepage with FireFox for a long time. I've recently updated my homepage as always - "use current pages" - now the firefox open the options page and which ones I want. It is not listed in the list of pages to open as home pages, but it nevertheless opens. I can't get rid of it because I have to open the options page to set the home pages.

    When you used the "use current pages" he adds all the tabs in the window that you were. Just remove the subject: preferences list in the box.

  • Can I use several adapters to convert a Firewire 400 in Thunderbolt connection?

    I have a firewire 400 device I want to connect to a Thunderbolt connection.  Can I use several converters for first shot of firewire 400 and 800, and then use the Apple firewire 800 adapter Thunderbolt?  Otherwise, any other suggestions?

    Perhaps, but not all cards can work in tandem. But why waste time and money. A FW 400 device won't run any faster on Thunderbolt. Why do you need to do this, and do you have looked for a better solution?

  • I bought an iphone used several years ago... hen his recently updated with the new iOS 7.1.2 it was locked with the previous owners account.how can I use my iphone is back with my apple and pass

    I bought an iphone used several years ago... When updating with the new iOS 7.1.2 recently, he was locked with previous apple owners account.

    its now useless. I didn't know all these crappy activation locks and all.now I have no idea

    How can I find my iphone is off and use my phone back

    iphone 4 32 gb

  • Hi, I have a sport IWatch found that domestic activity (usually running on treadmill) there is a huge different iWatch see the short distance (approximately 23%) then the treadmill Distance (I used several treadmills). Calibrate the iwatch outside.  any o

    Hello

    I have a sport IWatch found that domestic activity (usually running on treadmill) there is a huge different iWatch see the short distance (approximately 23%) then the treadmill Distance (I used several treadmills). Calibrate the iwatch outside.

    no possibility to calibrate domestic? or solution of New York.

    Thank you

    Avner

    Hi Avner

    Currently, there is no way to calibrate Apple Watch on a treadmill.

    Calibration teaches your watch how your arm movements relate to your length of stride at different speeds when walking you and/or running. It does this by comparing the accelerometer data with GPS (location services) data from your iPhone. To optimize the performance of the application of the workout, when using the treadmill, allow your arms swinging naturally.

    It can help restore your calibration data and start over:

    On your iPhone, in the application of the watch, go to: My Watch (tab) > privacy > Motion & Fitness > tap reset Calibration data.

    To calibrate again, follow the instructions in the article to support below, including:

    • Records open-air market training and/or run in the open air with the application of the workout on your watch.
    • This for 20 minutes at each speed to during which normally walk you or run.
    • While doing so, take your iPhone with you, with location on Services.
    • Allow your arms swinging naturally during training.

    Estimates of activity also dependent on your personal information. To verify that it was entered correctly and update over time:

    -On your iPhone, in the application of Eve, go to: Watch My > health > edit (top-right).

    More information:

    Calibrate your Apple Watch for better accuracy of training and activity - Apple Support

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

  • Can I use several type def enums in 1 VI?

    Is it possible to use several type def enums each has its own States? In the larger scope of things, I want to use it in a MANUAL.

    Thank you

    mhaque

    Of course, you can have several type def enums.  I don't know what you mean by "in 1 VI.  Each typedef enum will have its own .ctl file.

  • ISI t possible to use several screws with state diagram module

    Hello

    I'm doing a request using the module state diagram, and I have to use at least for VI I developed. I have problems when I want to set the entries before creating different States. My VI have stop buttons and the e/s I need to use. I have the same problem with the outputs. Because I can not set the input/output (type moore machine) I can't nor define the guards and actions that the state machine must fallow.

    You have an idea if we can use several VI with this module or do I have to use the good old box + all state machine technique.

    Thank you.

    Of course, this is possible.

    hope this helps,

    Norbert

  • How to use several collaborators channel of BBM BBM?

    He said we can use several collaborators for the channel of BBM surveys for the new update...

    http://press.BlackBerry.com/press/2015/BBM-introduces-new-ways-to-customize-your-chat-experience.htm...

    but I can't find any source to the place where to use it?

    Thank you

    Jay

    Channel of BBM of multiple contributors: BBM channels now supports several collaborators channel via the web client; makes it easier for the owners of BBM channel 1 million to manage and publish new content.

    The web client:

    Access your channel of BBM through BBM Channel Manager

  • Manage several emails, I use several accounts (Yahoo & Hotmail) e-mail, but is there a way to control these accounts of e-mail to a Web site or anything that is free?

    Manage several emails, I use several acconts e-mail (yahoo & hotmail), but is there a way to control these email account from a Web site or something that free s and respect privacy, pls kindly include G mail other than the 2 aforementioned accounts. TQ.

    original title: manage several E-mails.

    Download a real email client (application) to connect your email on your local computer.  In this way, you can manage all the emails in one application and even keep local e-mail backups if you want.

  • Unable to connect to a Web site? used several times before. says the dns server is incorrect or does not exsist?

    Unable to connect to a Web site? used several times before. says the dns server is incorrect or does not exsist? help someone?

    If it is hosted by GoDaddy, it's maybe out of service. There is a DDoS (denial of Service) attack to GoDaddy for the moment.

    You could try again later and see if it returns.
  • Why can't I not select paper large format on my officejet 7500 was using the House eprint &amp; biz app?

    Why can't I not select paper large format on my officejet 7500 was using the House eprint & biz app?

    Oh!  This app is for use with printers-quality large format designjet commercial.  This application does not support the 7500 a wide format, because this printer is a printer of quality of household use.

    For more information about this application, see the link http://h10088.www1.hp.com/cda/gap/display/main/index.jsp?zn=gap&cp=20000-22929-23183-29704%5E371189_4041_100__&jumpid=re_R10931_go/eprintandshare"> here.»

    Unfortunately, this print feature large format for the 7500 a thanks to ePrint is not available.

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

Maybe you are looking for