Topic
  • 5 replies
  • Latest Post - ‏2012-12-04T14:23:55Z by SystemAdmin
SystemAdmin
SystemAdmin
106 Posts

Pinned topic ibmdadb2.dll failed to register.

‏2008-11-07T20:47:23Z |
I'm trying to uninstall the IBM Data Server Runtime Client. It gets through most of what it wants to do, and then hangs endlessly. So, I thought I'd outsmart it and do a REPAIR first, and THEN un-install it. Well, when I run the repair, it gets all the way to the end and then I get an error message that says:


Error 1904.Module C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll failed to register.  HRESULT -2147023782.  Contact your support personnel.


I can hit "retry" over and over, to no avail. If I hit "abort", it rolls back to where it was before I started the process. If I hit "ignore", I'm back in the same place that I was...where the uninstall hangs at the very end.

Can anyone enlighten me on what I might need to do in order to get rid of this?

Thanks in advance,
Scott
Updated on 2012-12-04T14:23:55Z at 2012-12-04T14:23:55Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: ibmdadb2.dll failed to register.

    ‏2009-09-23T01:40:05Z  
    One is Improper privileges for SQLLIB directory and other one is registry problem of IBM ODBC dll, The solutions: providing full access to the SQLLIB directory and manually registering the IBM ODBC dll (IBMDADB2.DLL)

    Steps:
    Providing full privileges for the SQLLIB directory
    1. Go to the system drive and find the Program Files\IBM\SQLLIB
    2. Right click on the SQLLIB directory and find the properties
    3. Go to the Security tab
    4. Give full access controls to the groups DB2ADMINS and DB2USERS
    5. Exit from the Properties

    Manually registering IBMDADB2.DLL (or use registry easy)
    1. Find the latest IBMDADB.dll (You may can find more than one and choose the latest dll)
    2. Manually register the dll with ‘regsvr32’ command
    3. RESTART THE PC
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: ibmdadb2.dll failed to register.

    ‏2011-10-26T06:59:09Z  
    Hello,
    If you're on Windows or Dos operating system, why don't you open cmd prompt (Start->Programs->Accessories->Command Prompt).
    At the prompt type:
    regsvr32 C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll /u
    regsvr32 C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll

    Close the prompt, and you should be all set.
    Explanation: First line ending with "/u", will unregister the dll, 2nd line will register it again. In this case, you don't need to reboot (if it worked). If not, well, that's different story.
    Try and let us know if that helped.

    Best regards,
    Scaffolding Services | Psychiatrist San Jose
  • zabalex
    zabalex
    6 Posts

    Re: ibmdadb2.dll failed to register.

    ‏2011-10-26T07:05:49Z  
    Hello,
    If you're on Windows or Dos operating system, why don't you open cmd prompt (Start->Programs->Accessories->Command Prompt).
    At the prompt type:
    regsvr32 C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll /u
    regsvr32 C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll

    Close the prompt, and you should be all set.
    Explanation: First line ending with "/u", will unregister the dll, 2nd line will register it again. In this case, you don't need to reboot (if it worked). If not, well, that's different story.
    Try and let us know if that helped.

    Best regards,
    Scaffolding Services | Psychiatrist San Jose
    JavaKing,

    You're right, however if this is on Windows, you need ["] around path:
    regsvr32 "C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll" /u

    Alicka SEO Bay Area | Bay Area Website Development
  • RonGC
    RonGC
    1 Post

    Re: ibmdadb2.dll failed to register.

    ‏2012-04-02T20:33:02Z  
    • zabalex
    • ‏2011-10-26T07:05:49Z
    JavaKing,

    You're right, however if this is on Windows, you need ["] around path:
    regsvr32 "C:\Program Files\IBM\SQLLIB\BIN\ibmdadb2.dll" /u

    Alicka SEO Bay Area | Bay Area Website Development
    Hello guys, I'm at a loss here...

    I've tried to do everything you wrote here :
    creating new user & admin groups and giving them all of the privileges,
    downloading a new ibmdadb2.dll file to the location of the old one,
    being C:\program files\ibm\sqllib\bin\
    then trying to unregister/register it (with the "/u" parameter),
    and even tried to add the path to the "path" environment variable, then writing the "regsvr32 ibmdadb2.dll" command

    but still - I'm getting an error from win 7 that says :

    The module "ibmdadb2.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.
    A dynamic link library (DLL) initialization routing failed.

    any help would be much appreciated.
  • SystemAdmin
    SystemAdmin
    106 Posts

    Re: ibmdadb2.dll failed to register.

    ‏2012-12-04T14:23:55Z  
    I too am experiencing this issue, We just upgraded to Windows 7, I am trying to connect to db2 using Ole Db in Visual Studio 10, I get an exception stating that IBMDADB2 is not regitered on the local machine, I have installed v9.5fp3b_ntx64_rtcl_EN. When i try and run c:\windows\syswow64 regsvr32 "C:\Program Files\IBM\SQLLIB_v95\BIN\ibmdadb2.dll" i receive an error that says " The module C:\Program Files\IBM\SQLLIB_v95\BIN\ibmdadb2.dll failed to load" I have been working on this for 5 days now, tried all the google links and am my wits end, any help appreciated.

    Mark