Registering ODAC Dlls

Hello everyone!
Normally before installing my app I install the ODTwithODAC112030. But I've just recently been able to get a hold of a registered copy of Visual Studio 2010 Ultimate and was exploring the Setup Package. I came across the "Global Assembly Cache Folder" and was wondering if it is possible to just add the ODAC dlls on this folder and then free myself from Installing the ODTwithODAC112030 everytime I install an app. I tried it but i get this error:
System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
at Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()
--- End of inner exception stack trace ---
at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at cdoearth.module_connection.connectToDB(String dbu, String dbp, String dbs, String ceu, String cep)
at cdoearth.loginFrm.loginBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: m.davide on Mar 8, 2012 10:37 PM

Problem with acces to Oracle.DataAccess.dll in application folder
Hello,
actual there are only 2 methods to install and register these DLLs. Xcopy and universal installer
Please read this thread for more information.
Your Exception:
I got the same message. I tried to place the DataAcess Dll into the application folder and removed them from GAC. This does not work. It seems that they need some underlying non managed Dlls and cannot access them in this way.
regards Ellen

Similar Messages

  • How to register a dll from the java code

    Hi,
    We can use windows utility Regsv32.exe to register a the components. Is it possible to register the Dll from the java code. If possible please try to provide me the code for the registring the dll.
    Thanks in adavance
    Aswad

    if a try this variant it doesnt work
    static {
            System.loadLibrary("shellExec.dll");
    but in this way it work (without .dll extension)
    static {
            System.loadLibrary("shellExec");
    }

  • Register AcroPDF.dll Windows XP

    How can I Register AcroPDF.dll of version 9.1.0.163 in Windows XP in 32 bit version,so that i can use as PDF viewer control in VS2005.
    Note from host: Please to do not duplicate your question in the subject line. The subject line is a brief sysnopsis of your query---with the emphasis on brief.

    Please repost your query in the SDK forum.

  • Error registering crqe.dll

    Post Author: wkiess
    CA Forum: General
    Hi All,
    I am working with VB6 SP6 and CR10 and have used the VB6 Package and Deployment Wizard to create a setup for my application. When running the setup in a WinXP VM, I got an error message towards the end of the installation which reads "An error has occurred registering file C:\Program Files\Common Files\Cyrstal decision\2.5\bin\crqe.dll". I retried a couple of times, gave up and skipped it. Then I received an error about a file not found ImagX7.dll (which I later checked it was actually there) and finally I received another registering error "An error occurred registering file C:\Windows\System32\Imagx7pr.dll". again I retried a couple of time and gave up and skipped it. The application appears to run ok, although I have not tired to execute a report (as there are database connectivity issues to be ironed out). I tried to register the dlls manually and got an "Access Denied" message.
    Could the fact that I'm running in a VM be causing these issues? Is it a permissions/security problem? How do I covercome this problem?
    Update: Just found the solution to the Imagx7.dll problem: As there was no dependency file for the Imagx7 control, the Imagx7.dll was not included in the package. Including the file has solved the errors associated with that file. Now only need to solve the crqe.dll not registering poblem...

    This may help you:
    /discussions/board/message?board.id=pcsuite&message.id=4215&view=by_date_ascending&page=2

  • Register a DLL? or some other problem?

    I have an app written in C# that I have copied out to several 32 bit machines. It works fine. We just started rolling out some 64 bit machines. I installed sql developer on that machine and we struggled a bit, but finally got it working fine. Then, I installed my app. When it runs, and tries to connect to Oracle, the error is "Type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
    I am wondering if I need to register a dll? If so, I don't know which one? We have tried updating everything we could find. All machines have .NET 4.5 running. I think I need to hook Oracle to Windows?
    Any thoughts would be appreciated.
    Thanks,
    Dave

    It'd be helpful to know what the exception being thrown is (would be the InnerException of the one you're catching), but it's most likely a problem with the bit-ness of the application. If the compiler is set to AnyCPU (and it is by default), on the 64 bit machine you'll need a 64 bit version of the Oracle client. If you set it to x86, then you'll need a 32 bit Oracle client on all the machines (including the 64 bit ones).
    Just registering a DLL won't be enough to solve this unless you're using the managed client beta, in which case you could do that or add the necessary entries into the app config file (and not have to register anything).

  • Error 1904 "Cannot register ExportSDK.dll" when installing BOXI

    When installing BO Entreprise XI Release 2 on my PC WXP SP2, had 2 error messages 1904 "Cannot register dll" on :
    - ExportSDK.dll
    - importent6.dll
    I had to ignore both errors to complete install.
    Although BOXI seams to work fine, should I fix the error and how to ?
    Marc

    Hi Marc,
    Could you please review the following information it might help you to resolve the issue.
    Hi Chris,
    This is with reference to the information provided by you.
    Could you please test the following solutions to resolve the issue?
    Solution1:
    1. Log in as u2018Computer Administratoru2019.
    2. Make sure that no anti-virus program or spy ware is running on your machine.
    3. Copy and paste all the installation files of BOXI to your local drive of your machine.
    4. Start the installation by running the setup file from your local machine.
    5. Click ignore to all the 1904 errors you get while installing and it should finish the install process
    6. Once the install is complete, go to the Control Panel -> Add/Remove Programs and reinstall BOXI.
    7. The installation the second time should register those dlls without error
    8. After successful installation, restart your machine.
    9. Open BOXIR2 and let me know what happens
    If the above mentioned solution doesnu2019t works then could you please apply the following solution?
    Solution2:
    You need to disable the DEP option for all services and programs other than those needed by the Operating System, before installing the product.
    To disable DEP:
    1) Go to Start > Settings > Control Panel > System > Advanced tab > Settings button > Data Execution Prevention tab.
    2) Select the top radio button and restart the system for changes to take effect.
    3) Upon completing these steps, you can now successfully install the product.
    Solution3:
    Sometimes we fail to register the .DLL using REGSVR32 because in the system there is the alias copy of these DLLs. Therefore, could you please check the system folders that is there any alias .DLLs are present for ExportSDK.dll and Import6.dll if there is any such .DLLs could you please remove the dlls and try to register again.
    In case of queries please do revert we will be glad to help you.
    Regards,
    Sarbhjeet Kaur

  • Re-Register AdobePDF.dll?

    I own Acrobat Pro 7. My OS is XP Pro. I have a 3d party app (DocScan Pro) which uses Acropdf.dll to display PDFs which it creates by scanning. The problem is that the app thinks acropdf.dll is not installed, so it nags me to install Acrobat Reader (and, fails to display any pdfs). I've tried installing Reader 8, then Reader 9, then uninstalling them, then reinstalling, them, etc., but the problem persists.
    My guess is that somehow acropdf.dll is not registered in the registry properly. It exists where you'd expect to find it. There are numerous references to it in the registry, but maybe not the one which lets a 3d party app call it?
    I've always had Acrobat Pro set to be my default PDF viewer (why use Reader if you paid for Pro?). I also have PDFs on the internet set to display in Acrobat and *not* the browser. However, when I reverse that and try to display an internet pdf in my browser, the browser (Firefox) gives me an error indicating that it can't display it.
    Q. - How can I re-register Acropdf.dll to fix this?

    I have a customer who is having the same problem. We sell an application that uses acropdf.dll for display of pdf files in the program. My customer has Reader 9 installed, but it seems the acropdf.dll file is not correctly registered on the machine because our application cannot load the pdf files in our viewer. Our program is written currently in VB5. It works just fine for most everybody on both XP and Vista, but some encouter this problem.
    The user has unistalled and re-installed Reader 9 at my suggestion, but with no success (this does fix the problem for most people). The acropdf.dll file is located in the expected location.
    Does anybody have any suggestions on how to fix this apparent registration problem, when uninstalling and re-installing of Reader 9 is unsuccessful in fixing it? Is there anything the user should check/do after uninstalling Reader 9 to make sure that acropdf.dll will be registered correctly upon re-installation.
    Thanks in Advance!

  • How to register a DLL used by Framemaker

    Hi all,
    I have a trouble with an installation of a structured framemaker XML DTD.
    This DTD (I will call it application from now on) has been written by a customer of mine to automatically create publications from an XML file, but now, after having moved the application to a new machine, I am not able to make it working any more.
    This application uses a DLL to extract datas from the XML file and save it after having "manipulated" (it creates general indexes and an alphanumerical index to be put at the end of the publication).
    The Framemaker version used is 7.0
    My questions are:
    1 - can be a problem if Framemaker has been moved from a Win2k machine with english OS to a WinXp Pro one with german OS?
    This question is made because Framemaker does not re format automatically the document and if I apply the command "Apply Master Pages" manually, it does not work
    2 - how can I register the DLL and make the application working again on the new PC?
    The question #1 applies only for an installation on the new German OS machine
    Question 2 applies for both an installation on Framemaker 7.0 and 7.2 (OS indipendently)
    The steps I have performed in order to move the application are:
    1 - copy the directory with the DTD and all the informations (templates, rules, etc)  in the "$STRUCTDIR\xml" directory (the file contained are: edd.fm, 3 template to be used for the different sections of the book, rules.fm, one DTD file and one DLL file)
    2 - added the application to the structapps.fm file copying the data from the old file to the new one
    Many thanx
    Flavio

    Ok, this is what happen on my PC:
    1 - I open the XML file and then I am asked to save the file somewhere (the normal procedure require to save a .book file)
    2 - Framemaker starts parsing the XML file adding many different file (one for each chapter) to the .book file
    3 - at the end, framemaker open (modify, I suppose) and close each file (possibly this procedure is started in order to update the layout (something like the "apply master page" commad), but without success (if that is the requested action)
    The result is a non-well formatted book, but immediately after having saved the book, and after having commanded the Update Book (including the apply master pages from here), the book looks "perfect".
    From what I have been said form the customer (which have given me the "application") on the old PC (which is not mine and which is know "broken"), the book came out perfect and complete of indexes (that have not been able to create on my PC).
    This is the reason that makes me think about the DLL that does not seems to work...
    Flavio

  • 'OraOLEDB.Oracle' provider is not registered - ODAC 11.1.0.6.10 Beta2

    Hello,
    I have installed the ODAC 11.1.0.6.10 Beta2 and when working with ASPX pages that use OraOleDB, it raises the following error:
    Additional information: The 'OraOLEDB.Oracle' provider is not registered on the local machine.
    Do I have to do something else to set the OraOleDB registered? during the installation I selected to install all the components of the Odac (except the MTS service). This app was working fine whith a previos previous intallation of the ODAC 10.2.02.20. (to try the new version, I uninstalled the previous version)
    Thanks.

    Hello Buddie, how you doing?
    I just solved my problem.
    Verifying which DLL were missing through OraOleDB.dll, using the tool "Dependency Walker", I downloaded and put them into the respective directories. I'm going to show you.
    Must be aware you needn't overwrite any DLL.
    In my scenario, having Oracle Client 8.1.7.0, the missing dll are following below:
    %ORACLE_HOME%\bin :
    - OraOLEDButl.dll
    - OraOLEDBrst.dll
    - OraOLEDBgmr.dll
    - OraOLEDBpus.dll
    - OraOLEDBus.dll
    %WINDIR%\system32\ :
    - DWMAPI.dll
    - WINHTTP.dll
    - GDIPLUS.dll
    Just make sure the OraOleDB.dll registering is complain to the tree DLL dependencies.
    I hope it can help you.
    Igor Monteiro.

  • Problem registering CremePie.dll file

    Hi All,
    I am working with signature capture in standard MAM. I am trying to run the standard signature capture functionality in PDA. I have deployed mamsignapplet.cab and
    signaturecapture.cab files in side WEB-INF\signature folder.
    In SAP Note 897289, I read that we need to register the some dll files in PDA, so that the browser will supports the applets in it.
    Also in the same document it was mentioned like
    For CrEme versions 3.25, 3.26 and 3.27a there is an acknowledged by NSICOM
    bug as plug-in registration link contains wrong dll path for those
    versions. Copy/Paste both "Register/Unregister Plug-In" files from
    \Windows\CrEme\Demos to your desktop with the help of ActiveSync, open both
    dlls and change the existing line with the following
    \windows\regsvrce.exe \windows\creme\bin\CremePie.dll.
    I have copied Register Plugin/Unregister Plugin files to my desktop and  tried to edit them. But they saved as shorcut and I could not edit them. I have checked the properties of that file. There file type is Shortcut and target is \windows\regsvrce.exe CremePie.dll.
    Can any body please tell me how to edit this file or can we create this file.
    Regards
    Murthy

    Hi,
    for that I use the software "total commander" from http://www.ghisler.com/ running directly on  the PDA. This gives me the ability to edit the file on the PDA.
    Please see if REGSVRCE.EXE is available in your windows directory. Some verndors do not deliver that file, cause it is not supported as standard CE file. If this is the case, download the .NET SDK for CE. This installs the file on the PC in the WINCE500 directory - you can download it from there to the device then.
    I hope this helps to solve the issue!
    Regards,
    Oliver

  • Re-registering comctl32.dll on Windows 8.1

    I was advised to re-register the common control after upgrading both my OS (to Win 8.1) and MS Access (to 2013). Events that worked on Win 7 and Access 2010 no longer appear in the development environment or fire when the app is run.
    (See: https://social.msdn.microsoft.com/Forums/office/en-US/6e9e3b61-f55e-42b0-be9e-9c5a0a1511f4/changes-to-treectrl-events-from-access-2010-to-2013?forum=accessdev)
    However, I count six files named comctl32.dll in as many directories on my computer. I am not sure which to unregister before registering the one in SysWOW64. I'm worried that unregistering all of them and re-registering only one might mess something up.
    Also, I'm not entirely certain it will fix the problem since Win 8.1 and Access 2013 are new, fresh installs. It should, as my previous answerer said, just work. It don't. ;)
    Thank you.

    Copy the one with the highest version to syswow64, then register it from a command prompt with elevated permissions.
    -Tom. Microsoft Access MVP

  • Problems registering craxdrt.dll

    Hi Everybody,
    I am trying to get an application that makes use of Crystal Reports to build but have run into problems due to dlls not being registered on my build machine. The error message I get is:
    "The type or namespace name 'CRAXDRT' could not be found (are you missing a using directive or an assembly reference?)".
    This is due to a reference we have to craxdrt.dll (which is not registered on the build machine) in our application. The problem is that when I try to register the craxdrt.dll file with regsvr32 I get the following error:
    "The module "craxdrt.dll" failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found."
    I've had a look at craxdrt.dll with dependency walker, which lists the following dlls as missing:
    API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
    API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL
    CSLIBU-2-1.DLL
    DCOMP.DLL
    GPSVC.DLL
    IESHIMS.DLL
    MFC71U.DLL
    I'm not sure if these are a red herring though as they appear to be Windows system DLLs for the most part, which I would not expect to have to redistribute with my application.
    Any help would be greatly appreciated as its starting to feel like banging my head against a brick wall trying to get this to work and getting nowhere.
    Thanks a lot for any help you are able to give!

    Hi Max,
    Moved your post to the Legacy SDK forum.
    Need more info, what version of CR are you using?
    And since the RDC is only supported in Visual Studio 6 I assume this is what you are using?
    Current version of the RDC packages up to CR XI R2 ( version 11.5 ) have redist packages available so don't try to deploy the runtime manually yourself, use the MSM or MSI.
    MSI should have all of the dependencies include, MSM will be missing ALL of the dependencies so you need to include them yourself.
    Don

  • How to register a dll written in LV?

    Hi LV'ers,
    I have written a simple dll in labview and I am trying to register it using regsvr32.  I get the following error message:
    "Test was loaded, but the  DllRegisterServer entrypoint was not found.
    Test does not apppear to be a .DLL or .OCX file"
    (Test is the name of the dll I created).
    Is it possible to create labview dll's that can be registered in this way?
    I have attached my example code (LV7) ....
    Thanks,
    mr_e_cat
    Attachments:
    dll test.zip ‏23 KB

    Why are your trying to run regsvr32? You normally use this to register OLE or ActiveX controls and a LabVIEW dll is neither.

  • Error 0x80004005 trying to register vb6idemousewheeladdin.dll on Win 7 ultimate 64-bit

    I am trying to restore mouse wheel functions into the VB6 IDE.
    The microsoft-supplied dll will not register giving the error code 0x80004005.
    This is supposed to be a previledge-related error.
    UAC is off. Command prompt runs with administrator previledges.
    Anybody know how to get around this?
    Thanks

    Hi,
    Thanks for posting in Microsoft TechNet forums.
    I recommend you do the following:
    1. Run CMD.exe as administrator
    2. Browse to SysWow64 folder
    3. Use normal REGSVR32 command for registering the VB6IDEMouseWheelAddin.dll
    4. Go to Add-in manager in VB6 IDE & add Mouse Wheel in normal way.
    Hope it helps!
    Best Regards,
    Miya Yao
    TechNet Subscriber Support
    in forum. If you have any feedback on our support, please contact
    [email protected]
    This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer
    your question. This can be beneficial to other community members reading the thread.

  • How to access or register a dll developed in C++ (VS 6.0) with C# application.

    Hi,
    How can I register or access a native dll (win32) developed in c++ on VS6.0 with visual studio 2008 C# app targetted to 2.0 framework.
    I have tried to register with regsvr32 (of system32 on an XP SP2 machine), but was endup receiving an error message, "specified module could not be found". and some time "Invalid access to memory location".
    I have tried with admin access and couldn't succeed.
    I even have tried dependency walker to know if there might be any reference issues... and couldn't actually found any...
    This is a legacy code and is to be run with same hardware setup...
    Please help me on this... 
    Thanks,
    Manoj

    Thank you Bordon for the quick reply.
    I have tried [DllImport("<dllname>", , CallingConvention = CallingConvention.Cdecl)] but also endup with same error, "specified
    module could not be found". and some time "Invalid access to memory location".
    I have been trying from a week and couldn't forward on this.
    Appreciate any suggestion or workarounds on this..
    Thanks,
    Manoj.

Maybe you are looking for

  • How do you pay with a credit card when the Store has a cash balance?

    I think the iTunes Store automatically applies your cash balance with before it tries to charge your credit card on file. Is there a way to override this and manually enter your credit card information to pay for a song purchase? I have a half dozen

  • How do I pause a podcast?

    I'm trying to listen to my first podcast "StarTalk" by Neil deGrasse Tyson.  I run a helpdesk & have plenty of time to listen but get frequent calls.  When I get a call there is no pause option, only stop.  Then it starts over.  This makes podcasts 1

  • Absolute Layout and Invocation Interface

    Hi again :) I hav just another Problem. I Made a Gui and want to call it from a C prog throug the Java Invocation Interface. When I use GridbagLayout or flowlayout everything works fine. But when i use Absloute Layout nothing is shown and the Java Gu

  • Port in my number to overwrite the current verizon number

    Let's say I opened a line with Verizon to test it out and signed a 2-year contract, and got phone number AAA-AAA-AAAA. After a couple of months when I think everything is great, can I port my number BBB-BBB-BBBB from another provider to my account, a

  • IPad iOS 4.3.1 problems with  raw images after upgrading

    Hi all I recently updated my iPad to iOS 4.3. Since then, I could not view and edit Raw images imported with camera kit although It shows a low res/ low size preview I'm also experiencing general troubles with viewing some jpeg attached to email. Any