Best way to install oracle server + odp on same machine

Hello,
I've been having problems with this configuration:
Win 2003 x64 R2
+ IIS Server
+ Oracle DataBase 10g Release 2 102010_win64_x64_database
+ 10.2.02 patchset Win2003 x64
+ ODAC 10.2.02 x64 Beta
So far, I've installed all in the same Oracle_home.
I get an ORA-12154 "TNS:could not resolve service name" error when running my ASP .NET application.
Been reading in the Knowledge Base and found that there where some issues with access to bin directories from ASP applications. Tried to solve it that way but couldn't make it work.
I'm reinstalling now, and I'm wondering if it's better to install ODP on a different ORACLE_HOME...
Any advice?
Thanks for your help.

On web.config you can find this line:
<add assembly="Oracle.DataAccess, Version=2.102.2.20, Culture=neutral,
PublicKeyToken=89B483F429C47342"/>
I could change this version to the one on my GAC but i cannot change the
version inside one of the DLLs of our app.There's 2 ways to reference an assembly. One is to use web.config, which is specific to ASP.NET. When you add a reference in the VS IDE, it will create this entry in web.config for you. Or, you can hand-edit the file to create it. Of course, you might get an entry like this "by accident" if you copy from somebody else's code example.
For library, console, Win Forms, and all other project types except ASP.NET, a reference placed within the IDE will create metadata in the assembly's manifest area.
In all cases, you should only put a reference on the specific Oracle assembly you want to use. If the manifest or web.config are wrong, it means you referenced the wrong assembly. The manifest of an assembly can be viewed with ildasm.
You need to be anal about developing with the same exact assemblies as the ones you will deploy with.
Sometimes Oracle will add a "binding redirect" assemblies with new updates, and this forces all pre-existing programs to automatically use the new assemblies. I personally would like to see them document this better. This can cause a great deal of confusion because it can cause production programs to use newer assemblies than the ones you developed with. In most cases, we hope this is fine. But it flies in the face of "side-by-side" deployment and invalidates one of the key advantages of .NET.
Eric

Similar Messages

  • Any way to install Oracle server on Leopard (10.5.1, not server)

    I'm just getting errors when I try to install, but I'm guessing it has to do with X-Code not being installed here yet. Have to get the Leopard disc from home later today and try again tomorrow.
    Anyway, is this at all possible? Is there anything special I need to do? I followed this guide: http://www.nostalgix.org/blog/2005/05/install-oracle-10g-on-mac-os-x-104.html
    In case it's not a problem with X-Code missing here's the output from the oraInstall2008-01-21_03-12-27PM.err file:
    java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2008-01-21_03-12-27PM/oui/lib/macosx/liboraInstaller.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
         at java.lang.Runtime.load0(Runtime.java:769)
         at java.lang.System.load(System.java:968)
         at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:372)
         at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:119)
         at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:195)
         at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.getDefaultLocationFileLoc(OiipgBootstrap.java:594)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.setDefaultInvLocVar(OiifwInvLocWCCE.java:406)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.setupInventoryLocation(OiifwInvLocWCCE.java:335)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.initialize(OiifwInvLocWCCE.java:208)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:146)
         at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:937)
         at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:230)
         at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:399)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:717)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
    Exception java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path occurred..
    java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
         at java.lang.System.loadLibrary(System.java:993)
         at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:390)
         at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:119)
         at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:195)
         at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.getDefaultLocationFileLoc(OiipgBootstrap.java:594)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.setDefaultInvLocVar(OiifwInvLocWCCE.java:406)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.setupInventoryLocation(OiifwInvLocWCCE.java:335)
         at oracle.sysman.oii.oiif.oiifw.OiifwInvLocWCCE.initialize(OiifwInvLocWCCE.java:208)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:146)
         at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:937)
         at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:230)
         at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:399)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:717)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
    Exception in thread "main" java.lang.NullPointerException
         at oracle.sysman.oii.oiic.OiicInstallSession.dispose(OiicInstallSession.java:1027)
         at oracle.sysman.oii.oiic.OiicSessionWrapper.dispose(OiicSessionWrapper.java:178)
         at oracle.sysman.oii.oiic.OiicInstaller.dispose(OiicInstaller.java:426)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:780)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)

    Success!
    It took me a few attempts but i have managed to install as follows ...
    1 - VMWare fusion for mac - downloaded 30 day trial
    2 - Followed the article below to install linux and oracle in a virtual machine
    http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
    - Oracle Enterprise Linux 64 bit
    - Oracle 11gR1 RDBMS
    3 - Installed Oracle SQL developer for MAC OS X
    http://www.oracle.com/technology/products/database/sql_developer/index.html
    I can now access the database using the oracle enterprise manager tool from safari and access the database via SQL developer on the mac.
    Cheers
    Gary

  • Install Oracle XE on the same machine as Oracle EE

    Hi all,
    I have a version of Oracle 11g EE installed on my pc, but I would like to check out the Oracle XE for educational purposes.
    I've read that it is possible to run both on one machine, but I couldn't find more info on cofiguring it with the Oracle EE listener . So both versions of Oracle would work.
    Can anyone point me to some docs/ tutorials or give me some steps to do this.
    Thanks in advance.
    Kind regards,
    Cleo
    Edited by: Cleopatra on Jan 30, 2012 10:15 AM

    Do not worry too much about the Listener - XE can use (and will register itself) with the existing Listener. The only potential issue is that the existing Listener may not support http clients for EPG connectivity (used for running XE's Apex application and IDE). But that is easily configured.
    The first thing to determine is whether the XE instance starts up. And if not, why not.
    If you want to start XE manually, you can do that via the console. You will however need to set the ORACLE_HOME and ORACLE_SID environment variables - use sqlplus, logon using +"/ as sysdba"+ and issue the startup command.
    With this approach you will get interactive feedback of the startup - or failure to startup.
    Alternatively, you need to start the XE instance via the Service Manager control panel applet and then find the XE's alert log to see why the startup failed.
    Without knowing the error it throws at startup, it would be very difficult to diagnose the cause of the startup failure.
    PS. There is however very little reason to use XE for "practise" when you already have EE installed.

  • Best practice for install oracle 11g r2 on Windows Server 2008 r2

    Dear all,
    May I know what is the best practice for install oracle 11g r2 on windows server 2008 r2. Should I create a special account for windows for the oracle database installation? What permission should I grant to the folders where Oracle installed and the database related files located (datafiles, controlfiles, etc.)
    Just grant Full for Administrators and System and remove permissions for all others accounts?
    Also how should I configure windows firewall to allow client connect to the database.
    Thanks for your help.

    Hi Christian,
    Check this on MOS
    *RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows) [ID 811271.1]*
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=811271.1
    DOC Modified: 14-DEC-2010
    Regards,
    Levi Pereira

  • What is the best way to install qmail?

    I'm about to rebuild my server and want qmail on it. What is the best way to install it?
    In the past I've used http://qmailrocks.com/ but I've also looked at  http://lifewithqmail.com/.
    The problem I found with qmailrocks was that because it doesn't come from packages I have to remember to keep it up-to-date and I rarely remember.
    There is the package in AUR, can anyone comment on the stability of it and how easy it is to get running after it has been installed?

    myimagination's Mac OS Lion FAQ.
    https://discussions.apple.com/message/15733040#15733040
    Topics covered in the FAQ.
    0. Cautions / Before Upgrading.
    1. Apple UpToDate Program.
    2. How many Macs?
    3. Re-downloading from App Store?
    4. Reinstalling Lion. (clean install)
    5. Making a Lion DVD.
    6. Java
    (will be updated)

  • What is the best way to install client sccm 2012for all computer in my company

    in my company(25000 users) we have alot of branch(100-150 small Branch (every branch 50-100 users)) & 20 branch (100-100 users) .
    now only 11000 client in sccm2012
    What is the best way to install client for all computer
    Note that sccm 2012(1 primary site and 4 site system server every server (4 roles (management point  , Distribution Point  , site system , component server  ) ))
    and in boundaries i create boundaries but not for all branch and enable (boundary group for site assignment ) for every group 
    What is the best way to install client for all computer 
    thank u 

    You basically have 3 options, if you disregard a manual install.
    1. Client Push. Configure an account with local admin rights on the clients, and enable Site-Wide pushing of client.
    2. GPO. Import the GPO templates and enable the client to be installed that way
    3. Startup script.
    Of the 3, I usually go with a combination of client push and GPO.
    Take a look at http://technet.microsoft.com/en-us/library/gg712298.aspx for the complete documentation.
    FB

  • Instal oracle server

    I want to know if i can instal oracle server 9.2 on
    windowsXP ?
    or if you know any addresses to find about compatibility
    of operating systems and oracle versions.
    best regards.

    The certification matrix is available here http://otn.oracle.com/support/metalink/index.html
    Quick answer is yes, assuming you're talking about Windows XP Professional.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • HT1364 I just bought a new PC and now have ample space on my C drive to house my music Library which is currenlty installed on a external drive.  What is the best way to install and move the itunes library to my C Drive?

    I just bought a new PC and now have ample space on my C drive to house my music Library which is currenlty installed on a external drive.  What is the best way to install and move the itunes library to my C Drive?

    If the entire library is on the external drive then simply copy the iTunes folder into <User's Music> on the new computer, then install iTunes. If you've already installed iTunes you will want to remove the empty iTunes folder in <User's Music> first.
    If it turns out you only have the media folder on the external drive then take a look at this post...
    tt2

  • I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.

    I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.
    From what I read, I have 2 choices: 1. to install OSX and then upgrade to Mavericks, but I'm not sure if this would be possible (to upgrade directly from OSX to Mavericks); and 2. to use a software called Super Duper.
    I wouldn't like to have to use a third party software to do this, so the question is: is there a better way to install directly the Mavericks not having to use a third party software?

    Install the new drive in the computer.
    Install the old drive in an external USB or Firewire enclosure.
    Boot the computer from the Recovery HD on the external drive.
    Use Disk Utility to partition and format the new internal drive.
    Clone your external drive to the internal drive.
    How to replace or upgrade a drive in a laptop
    Step One: Repair the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Step Two: Remove the old drive and install the new drive.  Place the old drive in an external USB enclosure.  You can buy one at OWC who is also a good vendor for drives.
    Step Three: Boot from the Recovery HD on the external drive.  Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the Recovery HD then click on the downward pointing arrow button.
    Step Four: New Hard Drive Preparation
      1. Open Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your new hard drive (this is the entry with the
          mfgr.'s ID and size) from the left side list. Note the SMART status of
          the drive in DU's status area.  If it does not say "Verified" then the drive
          is failing or has failed and will need replacing.  Otherwise, click on the
          Partition tab in the DU main window.
      3. Under the Volume Scheme heading set the number of partitions from
          the drop down menu to one. Set the format type to Mac OS Extended
          (Journaled.) Click on the Options button, set the partition scheme to
          GUID  then click on the OK button. Click on the Partition button and
          wait until the process has completed.
      4. Select the volume you just created (this is the sub-entry under the
          drive entry) from the left side list. Click on the Erase tab in the DU main
          window.
      5. Set the format type to Mac OS Extended (Journaled.) Click on the
          Options button, check the button for Zero Data and click on OK to
          return to the Erase window.
      6. Click on the Erase button. The format process can take up to several
          hours depending upon the drive size.
    Step Five: Clone the old drive to the new drive
      1. Using Disk Utility still opened.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Check the box labeled Erase destination.
      5. Select the destination volume from the left side list and drag it to the
          Destination entry field.
      6. Select the source volume from the left side list and drag it to the
          Source entry field.
      7. Double-check you got it right, then click on the Restore button.
    Destination means the new internal drive. Source means the old external drive.
    Step Six: Open the Startup Disk preferences and select the new internal volume.  Click on the Restart button.  You should boot from the new drive.  Eject the external drive and disconnect it from the computer.

  • Installing oracle server on windows xp !!!!!

    Is it possible to install oracle application server 10g AND oracle developer suite 10g on my home PC under Windows XP ....
    If yes, How to do it for Apllication server 10g ... PLs steps
    Thanks alot

    Thanks for you...
    But i have 1 GB ram my pc p4-1700 ??? Is it will work ??
    last question IS it i need to install oracle server or not ,because i have project and i need to test it ......

  • Best Way to Install CS6 Design/Web Premium Upgrade

    Hi,
    CS6 Design/Web Premium Windows Upgrade (for CS5.5 Design Premium) is shipped and on its way for 5/10/12 delivery. Reading on these boards about CS6 installation problems (plus the installation difficulties for CS5 upgrade from CS4), prompt me to ask:
    What is the best way to install the CS6 upgrade?
    Is there a CS6 clean tool available?
    I would ordinarily first deactivate and uninstall CS5.5 Design Premium.
    Is this the best way to proceed?
    Regards,

    If you do not want to keep a CS5.5 concurrent installation , this is the best way in my opinion.
    The CS5.5 uninstallers do not remove everything of CS5.5 however. There will be e.g. left overs in the Help titles of the CS6 Help Manager. There is a cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html
    Cheers,
    Dave

  • Best way to install a photosmart 5180 on new 8.1

    What's the best way to install a Photosmart 5180 on a new 8.1 pc? I have the disc, but I don't think it'll work. Should I download the software and hook it up via USB cable or wireless. The pc is wireless, and I tried to find the printer on the network, but no luck.
    suggestions? 
    This question was solved.
    View Solution.

    Hi,
    I can't re-create your error. I've got NO problem at all:
    All I can say.: please download again, save it on desktop and run it from there.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Best way to install boot camp

    Hello, i got a MBP recently, and i would like to put boot camp on it, mostly so that i can play a online game (magic online) which is windows only, but isnt stressing on the video card, (just cards, nothing fast and flashy, so i would expect to be able to run it smoothly)
    What is the best way to go about this? Am i able to get an external harddrive/ big flash drive to put windows on and then only have it on here when i need it, i dont really want to partition my internal drive, as it seems like that always leads to problems later on...
    I guess what im asking, is you the people who use boot camp, what is the best/easiest/most reliable means of installation and use for boot camp. And where is the best to place to buy a windows cd for the installation (xp)
    Thanks!

    Hi,
    Microsoft has gone to great lenghts hindering the user to install Windows onto external devices.
    Googling through the net brings up some instructions on how-to do this nonetheless, but it is quite an effort.
    Best way to install WIndows on your Mac for playing games would be the useage of BootCamp and by following the BootCamp Installation Guide to be found here http://www.apple.com/support/bootcamp/ or inside the BootCamp Assistant in OSX (in the Applications/Utilities folder).
    Regards
    Stefan

  • What is the easiest and best way to install or open flash drive in Sarfari on my Macbook Pro...2010 model using mountain lion

    what is the easiest and best way to install or open flash drive in Sarfari on my 2010 macbook pro using mountain lion?

    There is no really good way to do what you want. Any tracks you purchase via your own iTunes Store account are for your personal use, tied to your iTunes Store account, and can't be given to anyone else. If you don't want to gift the tracks to her and can't access her iTunes Store account, the only option other than creating her a completely new iTunes Store account (which will require a new email address for her) is to buy the CDs those tracks are on.
    Regards.

  • What is the best way to install Lion?

    i already downloaded Lion but need to know that what is the best way to install lion?

    myimagination's Mac OS Lion FAQ.
    https://discussions.apple.com/message/15733040#15733040
    Topics covered in the FAQ.
    0. Cautions / Before Upgrading.
    1. Apple UpToDate Program.
    2. How many Macs?
    3. Re-downloading from App Store?
    4. Reinstalling Lion. (clean install)
    5. Making a Lion DVD.
    6. Java
    (will be updated)

Maybe you are looking for

  • Can anyone please advise me how to set up multiple users, with multiple devices while only sharing one iMac, thanks.

    My partner and I both have iPhones and iPads but share an iMac, as our contacts and calendars go through iCloud, both gets merged when it comes into iCal and contacts. Do we have to set up separate accounts on the iMac to handle this correctly? Thank

  • Script for parsing xml data and inserting in DB

    Thank you for reading. I have the following example XML in an XML file. I need to write a script that can insert this data into an Oracle table. The table does not have primary keys. The data just needs to be inserted. I do not have xsd file in this

  • How to change a 1:1 to a N+1 cluster

    Hi all, My customer has a 1:1 cluster, now I want to change the setup for OEAP600, this means I have to set the NAT Address on the Management Interface.This seems not be possible in a 1:1 Cluster. -> I have to break the cluster, set the NAT Address a

  • Import Profit center in invoice by DTW

    Dear experts, I have to import the "Profit center" in an invoice by the DTW but I don't find the column, in the templates, where to insert this data. Thanks.

  • How can I write a local subroutine in LabVIEW

    I have a large software package with a considerable number of subroutines only useable by a single upper level program. I would like to embed these subroutines into the program. I cannot enlarge the program drawing because of coding standards. Is the