4 Replies Latest reply: Jul 11, 2012 6:00 AM by 939572 RSS

    Install ODAC112030Xcopy_32bit, should version 4 be in gac?

    Steve C.
      I just installed ODAC112030Xcopy_32bit on a new server with all of the DotNet frameworks installed (1 thru 4). When I look in the GAC, I only see the Oracle.DataAccess for version 2.112.3.0. Shouldn't I also see Oracle.DataAccess for version 4.112.3.0.
      How can I tell if my program is using version 4?
      Steve
        • 1. Re: Install ODAC112030Xcopy_32bit, should version 4 be in gac?
          Jenny -Oracle
          Steve,

          Framework 4 GAC is in a different location and not exposed by the windows explorer plug-in.

          Look here:

          C:\WINDOWS\Microsoft.NET\assembly

          Regards
          Jenny
          • 2. Re: Install ODAC112030Xcopy_32bit, should version 4 be in gac?
            Jenny -Oracle
            Also, if you have targeted Framework 4, it will look in that location of the GAC if you did not deploy Oracle.DataAccess.dll to the bin directory of the application. You can use Process explorer to verify its picking up 4.112.3.0 Oracle.DataAccess.dll.
            • 4. Re: Install ODAC112030Xcopy_32bit, should version 4 be in gac?
              939572
              Hi Steve. It sounds like you had the same problem as me. Is it solved?

              My problem is that I am forced to use an application pool that enables 32 bit applications. I guess this is because the correct version of the Oracle.DataAccess assembly cannot be found. I would prefer since the server is 64 bit that the apps and services hosted on IIS7 would run 64 bit.

              When I "Enable 32 bit Applications" in my advanced app pool settings then the applications and services work.

              I am targetting the .NET Framework 4 and my development machine is Windows XP 32 bit. I have Oracle.DataAccess.dll version 4.112.3.0 under my Oracle home folder on my development computer.

              The server is Windows Server 2008 running IIS7. When I list the Oracle.DataAccess assemblies in the GAC here's the output:

              C:\Users\Administrator>gacutil /l Oracle.DataAccess
              Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
              Copyright (c) Microsoft Corporation. All rights reserved.

              The Global Assembly Cache contains the following assemblies:
              Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f4
              29c47342, processorArchitecture=AMD64
              Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f4
              29c47342, processorArchitecture=x86
              Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f4
              29c47342, processorArchitecture=x86

              Number of items = 3


              The server does not contain an AMD64 processor. It's Intel. Does the AMD64 work also for Intel?

              Does 4.112.3.0 exist for 64 bit? I searched and could not find it.

              In Windows Explorer, I do not see anything Oracle in C:\Windows\Microsoft.NET\assembly\GAC_64 but I see v4.0_4.112.3.0__89b483f429c47342 in C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess

              Is it possible to use 4.112.3.0 on a 64 bit machine in 64 bit mode?

              I thank you.

              Robert