Oracle.Dataaccess.dll using unmanaged for 32 and 64 bit Winform application.

Hello

I am new to oracle ODP.

I have a few questions about her.

1. If I give the reference only and do not include gac Oracle.Dataaccess.dll (suppose 2.11.3.XX) in my project and the client system has the access.dll of oracle version 2.11.2.XX(or autres) then what happens?

Be it use the 2.11.2.xx DLL to GAC or error.

2. I need to create some app for 32 and 64-bit client then should I develop a version for two separate, or are there other alternatives (I can't use the managed oracle DLLS due to .net 2.0).

I've already lost two days on managing versions of oracle as oci.dll ddll, oraop11s.dll etc.

Please suggest any other alternative if you have

Thank you

I think that if you run an application on machine Win x 64 with AnyCPU, 64-bit .NET will be always charged. I don't think you can change this even if you try to load a 32-bit DLL. There may be a way, but I do not know myself.

If you ODP.NET 11.2.0.3 on your system, I don't see why you need to install an earlier version of ODP.NET, such as 11.2.x

Tags: Database

Similar Questions

  • Only 32-bit Oracle.DataAccess.dll

    Hello

    I have the Oracle Client 11.2.0 32bits and 64bits installed side-by-side. When I run CORFLAGS. EXE on the Oracle.DataAccess.dll located in the 32 bit folder Bin of ODP NET and then run it on the dll, which is located in the Bin folder of 64 bit, here are the results:

    Oracle.DataAccess.dll (from folder for 32-bit)

    CorFlags Microsoft(r) .NET Framework Conversion tool.  Version 4.0.30319.1
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Version: v4.0.30319
    CLR header: 2.5
    PE: PE32
    CorFlags: 24
    ILONLY: 0
    32 BITS: 0
    Signed: 1


    Oracle.DataAccess.dll (from 64-bit folder)

    CorFlags Microsoft(r) .NET Framework Conversion tool.  Version 4.0.30319.1
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Version: v4.0.30319
    CLR header: 2.5
    PE: PE32
    CorFlags: 24
    ILONLY: 0
    32 BITS: 0
    Signed: 1

    Are these 2 files 'AnyCPU' which, in .NET, would make the binary 32 bits? Is there a 64-bit version of this DLL?

    Thanks in advance,

    Richard

    Sorry, I correct myself... DLLs are correct. I have a batch file that executes corflags on about 15 dll from a project that gives me an BadFormatImage exception, and I had made a mistake in the batch file. That made me believe that there is something wrong with my OClient. The corflags results now display correctly:

    32-bit Oracle.DataAccess.dll

    CLR header: 2.5
    PE: PE32
    CorFlags: 11
    ILONLY: 1
    32 BIT: 1
    Signed: 1

    Oracle.DataAccess.dll 64-bit

    CLR header: 2.5
    PE: PE32 +.
    CorFlags: 9
    ILONLY: 1
    32 BITS: 0
    Signed: 1

    Thank you Alex

  • Release of the ODAC 4 & 5 - Oracle.DataAccess.dll 4.112.3.0

    Has anyone else noticed that ODAC version 4 and 5 have the same 4.112.3.0 AssemblyVersion?

    Oracle (ODAC) for Windows data access components

    It took me a while to spot the problem.  I use Entity Framework 5 and hitting a machine with version 4.  He threw a completely misleading exception on the laundry.

    System.Reflection.TargetInvocationException: Exception was thrown by the target of a call. -> System.TypeInitializationException: the initializer for type for 'Oracle.DataAccess.Client.OracleConnectionStringBuilder' threw an exception. -> System.TypeInitializationException: the initializer for type for 'Oracle.DataAccess.Client.RegAndConfigRdr' threw an exception. ---> System.Configuration.ConfigurationErrorsException: MySchema.MyPackage.MyProcedure.RefCursorMetaData.CUROUT.Column.1 is not valid

    at Oracle.DataAccess.Client.RegAndConfigRdr.AddMetadataForRefCursor (String refCursorKey, String metadataInfo, Hashtable & schemaTable)

    to Oracle.DataAccess.Client.RegAndConfigRdr.RetrieveInfoFromConfig (NameValueCollection nvc, Hashtable & schemaTable, Boolean bIsCallFromODT)

    to Oracle.DataAccess.Client.RegAndConfigRdr... cctor()

    Since version 4 ODAC has been installed, the machine had Oracle.DataAccess.dll (4.112.3.0) in the GAC.  So, my application could not use my local copy of Oracle.DataAccess.dll (4.112.3.0) of version 5.

    There are problems with having the AssemblyVersion similarly for version 4 and 5.  Can we get an extra release with an updated version?

    There are two questions in your last post:

    (1) Oracle.DataAccess.dll versioning

    (2) DLL's Client Oracle unmanaged referenced by Oracle.DataAccess.dll

    The forum post you quote refers to the #2 problem.

    Problem #1, preferred the ODP.NET team is at version every single Oracle.DataAccess.dll version. We can not due to a conflict with the policy of general correction of Oracle. With the help of AssemblyInformationalVersionAttribute is the best compromise.

    If you have already downloaded an Oracle patch, you will notice the files share the same version number as other patches within a family group of patches Oracle. With each new group of patches or major version, Oracle.DataAccess, dll can then increase its version, just like every other DLL of Oracle.

  • How to refer to 64-bit Oracle.DataAccess.dll in VS2010?

    Hello!

    We installed the ODAC 64-bit 4.112.2.0 on our new developer computers. With the 32-bit version of the ODAC, we would do this option to add the oracle references: Add reference-> tab .NET and add Oracle.Web.dll and Oracle.DataAccess.dll. But after our transition to 64-bit files exist no more. We could do something like make a local reference (include the bin folder in project and place the files and point of reference to them for an example) but this does not seem like a good solution. Has anyone else experienced this problem and solved?

    /regards

    You need not reference on x 64 version. You can add the reference on x 86 version. If you want to run the VS project, you need x 86 version customer Oracle VS x 86 application.

    The two DLLS ODAC (x 86 and x 64) has the same signature. If you build the project with the option "any cpu" then right what ODP.NET version is used for execution.

  • Intermediate language of the oracle.dataaccess.dll version

    Is there an intermediate version of the oracle.dataaccess.dll that we can use to compile 64-bit applications using 32-bit computers?

    We develop our applications on x 32 and deploy on x 64 (it is strictly enforced by our Organization. This means that there is no option for execution of x 32 code on an x 64 server).

    The oracle.dataaccess.dll only comes in 2 versions from what I can tell; x 32 or x 64. This forces us to use x 64 build servers. We need the x 32 ODP installed on our machines to dev for the development and the x 64 ODP installed on the servers of x 64 compilation. Dev of 32-bit machines cannot compile an application with an x 64 native dll.

    Example:
    1. create a new class library.
    2. Add the oracle.dataaccess reference.
    3. change the platform target in the properties of the project to x 64.
    4 compile the application.
    5 examine the dll in the bin directory. (I used the reflector, but you can use the corflags util)

    The target platform for the class library is x 64. The target platform for the oracle.dataaccess.dll is x 86. Application will not work when you run it as x 64.

    ODP.NET is the only 3rd-party product .NET we use which doesn't seem to have an intermediate language dll, and so the only reason why we allocate and maintain separate x 64 build servers to compile our code for x 64 deployment.

    It's been a while since I looked into that, so I was wondering if there is a solution now.

    I guess the poster is after a fully managed version of the provider, but maybe not.

  • Not able to see the 64-bit oracle.dataaccess.dll of GAC

    Hello
    I installed the client of 11g oracle 64-bit with ODP.net and deployed Oracle.DataAccess.dll in the GAC (it is deployed on C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess). But I'm not able to return this dll to a project in Visual Studio, it does not appear in the window "Add reference". Please help me solve this problem. My system is a 64-bit computer.

    I did not submit this problem in the 32-bit computer. In 32-bit computer, I installed the client 32-bit oracle 11g and deployed Oracle.DataAccess.dll in the GAC (it is deployed on C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess). I could see this dll to the project in visual studio.



    Kind regards

    Kiran.

    Hello

    Do you mean the .net tab? I think the problem is u cant reference 64-bit dll like that, since the studio is a 32-bit application. We had the same problem and our solution was to install 32-bit odp.net on our 64-bit machines, and refer instead.

  • If anyone can help, I just bought a 2011 mac book pro and I use it for school and I work in education and currently I have lightroom, photoshop and adobe DC, are all the other apps I put on it?

    If anyone can help, I just bought a 2011 mac book pro and I use it for school and I work in education and currently I have lightroom, photoshop and adobe DC, are all the other apps I put on it?

    Chaka - welcome!

    What you want to do on your "new" MBP?

  • Using ps2 for years and today it tells me that my 30 day trial is over? I can't find the support or the re activation on line site. What is going on?

    Adobe has a phone support option? I've been using ps2 for years and today the program tells me that my 30 day trial is over... can someone help with this question?

    The activation servers have been closed.  Click here for a version that does not require activation, simply enter the serial number that will receive you:

    Download Acrobat 7 and CS2 products

  • Oracle 11.1.0.7 for Solaris Sparc 64-bit client

    Hi all

    Can you help me where I can download customer Oracle 11.1.0.7 for Solaris Sparc 64-bit.

    I tried google and OTN, but he's not here :(


    Thank you very much

    Kinz

    11.1.0.6 is older than 5 years - is not part of the 'family of newer version', which is 11 GR 2

    See page 4 here - http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf

    HTH
    Srini

  • Problem with access to the Oracle.DataAccess.dll in the application folder

    Hi all.
    http://StackOverflow.com/questions/3935808/how-can-i-deploy-a-NET-application-that-uses-ODAC-without-installing-the-whole

    Issue. It works with 11g? I don't want to install the whole ODAC on client computers

    who is Ellen

    Published by: 902645 on 21.01.2012 14:20

    Published by: 902645 on 22.01.2012 11:39

    Download the 11g ODAC Xcopy installation. It is around 50 MB compressed upward and you offer the minimum installation size possible. It is the smallest possible at this moment production which is taken in charge by Oracle. There is a 32-bit version and 64-bit, depending on the version of your .NET Framework.

    Be on the lookout for the beta of managed provider ODP.NET fate soon. Which will further reduce the size.

  • No problem at all. Company I work with that use IE w / their software online. Can I use IE for that and Firefox for all the rest?

    This company online system has been tested with IE. I met a little trouble trying to disconnect. When I log out, it takes me to the login screen, but I'm not disconnected and can not reconnect. I'll try using IE and see if the problem goes away. If so, can I use IE just for this company and use FF for everything else?

    Yes, you can even use IE as you are using Firefox, if you wish.

  • Have been using Mozilla for years and suddenly it will not not-cannot connect.

    I have been using Mozilla for about 2 years and I started getting error messages "Mozilla had to close...". ", I have sent reports to Mozilla every time that the error occurred. Then about 3 days ago Mozilla stopped and, although I have not changed anything, it does not open, not to the taskbar, the desktop shortcut or start menu. IE, I signed up on Firefox and decided to reinstall (upgrade), but it says that I must close Mozilla before the upgrade can take place. Your help is greatly appreciated!

    Thank you, can you please try to reboot your pc once, uninstall firefox via the system control panel (your settings as Favorites will not be affected by the present), and then install the 64-bit version of firefox at the following link: https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US

  • How can I replace a damaged Adobe Photoshop Elements 9 Editor?  I've used this for years and all of a sudden his damaged.  I do not have the CD - can't find it - just moved.

    How can I replace an editor Adobe Photoshop Elements 9 "damaged"?

    I have been using this program for years and all of a sudden - its damaged!

    I have not the CD more if that's how I got it in my Mac.

    I tried to retrieve the serial number through Adobe, but... the account I "had" with Adobe for years has been under a name of ID that I don't remember years ago.  None worked.

    I therefore restored a new account to be able to communicate with Adobe with this name for what to do.

    So, what should I do?

    I need this program.

    You can download the installation program:

    Download Photoshop Elements products | 9, 8, 7

    Your serial number issues will have to be developed with support, so call them.

    Mylenium

  • Re: Files I've accidentally pressed + create new folder. It changed all my file names to now show the full path that is users/Michael/pictures... and I see is no longer the name of the folder.  I use folders for EVERYTHING and I need to go all the way

    CC Lightroom library module: I tried to do something else and I pressed on '+ create a new folder.  All the names of my files now have the full path as their name, i.e. of C:\Users/Michael...  It changed my folder name so much more that I can see is no longer.  I use folders for EVERYTHING.  I never use collections or anything else, and my inability to quickly determine the names of my files is driving me crazy.  How can I get rid of all this nonsense of path?  He was never there until I hit this sign.

    On the same dropdown menu selected "name of folder only.

  • Try not to save artboard when you export or using save for web and devices

    Hello

    I use AI CS5 and I'm recording a logo located on a 8.5 x 11 artboard.  When I try to export or 'save for web and devices', I get plan all work to be saved - not only the logo as I want.  I never had this problem in CS3 and just start with CS5, so I don't know if there is something new that I have to be put out just to save the logo rather than the entire page of 8.5 x 11.

    Any help is appreciated,

    Kristie

    The option named "Clip for work plan" and that you find in the menu object > Slice or in the dialog Web save for

Maybe you are looking for

  • Why Motorola is sponsoring this forum?

    He does nothing but provide a source of embarrassment to Mortorola by problems and posted questions and the Motorola refusing to attack one of them. It would be much better for them to close this forum for Motorola.

  • Cliq xt never capable of 720 p video?

    I see that other phones like the streak of dell 2.1 and record video 720 p capable of becoming. I was wondering if it would be possible with our phone: /.

  • ODBC SQL Server for Solaris 64-bit drivers

    Does anyone know if there is a driver available for ODBC SQL Server for Solaris 64 bit server? Thank you CB [edit: moved to SQL Server questions]

  • Hardware upgrade of the mobile

    I use HP 2000-2106TU (Intel Celeron - 2 GB - 500 GB - BACK - 15.6 ")... Intel Celeron Dual Core B830 - 1.8 Ghz... Laptop... and you want to upgrade my process to i5 or i3... Is it possible to do this with my current motherboard and it will help me ha

  • Operating system not recognized, can not update windows

    I can't update microsoft products, or get online as my operating system has become "unrecognizable."  This prevents me to access patches from microsoft online, or get updates.  I tried to repair the installation, but that doe not work either.  All ot