7 Replies Latest reply: Feb 11, 2013 6:47 AM by Tridus RSS

    ODP .NET client not working with Windows 2k8 SP2

    793234
      I've got a new server running a Win2k8 sp2 os. After moving all my services to this new server I'm getting the following exception when trying to connect to Oracle.
      Attempt to load Oracle client libraries threw BadImageFormatException.
      This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.


      Base on this, I tried installing a 64 bit .NET Oracle Client. This failed as the install was starting up with the following error:
      JAVA(TM) 2 Platform Standard Edition binary has stopped working


      I tried looking for a solution via the internet and read that I should try this client (10204_vista_w2k8_x64_production_client).
      When I executed this install I ran into this error.


      Checking installer requirements...
      Checking operating system version: must be 5.0, 5.1, 5.2 or 6.0.    Actual 6.1
      Failed <<<<
      Exiting Oracle Universal Installer, log for this session can be found at C:\Program Files (x86)\Oracle\Inventory\logs\installActions2010-10-18_02-31-55PM.log
        • 1. Re: ODP .NET client not working with Windows 2k8 SP2
          Jenny -Oracle
          Hi,

          Can you verify the OS version? Are you really trying to install on Windows 2008 with Service Pack 2 or Windows 2008 R2.


          If you are attempting to install on Windows 2008 R2 then you would get that message. The first versions supported on Windows 2008 R2 x64 are 11.2 and 10.2.0.5.0. So, you must be at 10.2.5.0 for Windows 2008 R2, or go with 11.2.

          If you need to install 10.2.0.4.0 x64 on Windows 2008 R2, you will need to set the following parameter to disable system pre-reqs and avoid that error.

          -ignoreSysPrereqs

          Then apply the 10.2.0.5.0 patch set to be supported or go with the latest ODAC bundle 11.2.0.1.2 which is certified on Windows 2008 R2.


          HTH
          Jenny B.
          • 2. Re: ODP .NET client not working with Windows 2k8 SP2
            793234
            Sorry for that, your correct. R2 not SP2. Yesterday was a bad day and I've been fighting with Oracle for months now.

            I'll try all that. As far as versions 10 versus 11, I don't know what we are using. I'm assuming these are Oracle Server versions and not client versions. I'm a .NET developer with no experience with Oracle , so bear with me please.

            Thanks,
            Jeff
            • 3. Re: ODP .NET client not working with Windows 2k8 SP2
              793234
              I tried running the install with the ignore prerequisites arg and still got the Java error.

              I checked the version of the database and got this.

              Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
              PL/SQL Release 10.2.0.4.0 - Production
              CORE     10.2.0.4.0     Production
              TNS for Solaris: Version 10.2.0.4.0 - Production
              NLSRTL Version 10.2.0.4.0 - Production

              Edited by: jreddy on Oct 19, 2010 10:15 AM
              • 4. Re: ODP .NET client not working with Windows 2k8 SP2
                Jenny -Oracle
                Hi,

                Are you installing from the Vista/Windows 2008 install bundle when you get the java error. You must use the 10.2.0.4.0 install bundle for Vista/2008 ((10204_vista_w2k8_x64_production_client) and the OUI option to ignore the prereqs when installing on Windows 2008 R2. Then in order to be in a support configuration, you must apply the 10.2.0.5.0 patch set. is there any reason why you are installing 10.2.0.4.0 on windows 2008 r2. We have a 11.2 client bundle that is certified and supported against older database versions.

                Jenny
                • 5. Re: ODP .NET client not working with Windows 2k8 SP2
                  793234
                  The database itself (version I listed) is installed on a server elsewhere (Linux box). I simply need the client on the Win2k8 server. I'm giving up on this as I wasted over 8 hours trying to get it to work. I'm going to spin up a Win2k3 server and see if I can't get things running on there.
                  • 6. Re: ODP .NET client not working with Windows 2k8 SP2
                    990055
                    I tried the -ignoreSysPrereqs switch that did absolutely nothing. can I run the 11g ODP.NEt with the x64 10g client? Or do I have to load the x64 11g client as well? Our db is 10g.
                    • 7. Re: ODP .NET client not working with Windows 2k8 SP2
                      Tridus
                      Client stuff needs to match, so you'd need to use an 11g client to use 11g ODP.net libraries. Your best bet is just to grab 11.2 and install that, as it'll work on 2008 R2.

                      Server version doesn't matter in this case.