Sunday, 8 September 2013

SIMPLE SOLUTION FOR DLL WAS LOADED BUT THE CALL TO DLLREGISTERSERVER FAILED WITH ERROR CODE 0X80004005

        Try these steps to get the dll file register succeeded  with DllRegisterServer.

     1. Boot the system in safe mode.
(START – Run – MSCONFIG –System Configuration –Boot Tab check Safe boot and                            select Network under Boot options.  Apply  OK. Then restart the system)
    2. Login as Administrator.
       (Select “Switch User” option and enter your admin user name & password or           Right click on "computer" select "manage" look for the Local Users and Groups section, on the users screen right click on the administrator account and select properties, uncheck the "account disabled" option.)

    3. Register the dll files.
       (Right click at the dll file- select Open with – choose default program-Browse for file “C:\Windows\System32\regsvr32.exe” click OK.  Also Check - Always use the selected program to open this kind of file.)
This worked successfully  in Windows 7 Professional SP1 and Windows Vista Business SP1, even after turning off UAC and run Command Prompt with administrator rights also failed to register the custom dll files.
Turn off UAC in Win 7
   Start –Run – MSCONFIG –Tools Tab – select Change UAC settings- click Launch- drag the selection bar to bottom – never notify – click OK – OK .
Turn off UAC in Vista
 Start –Run – MSCONFIG –Tools Tab – select Disable UAC - click Launch- click OK.
Run Command Prompt with administrator rights
Start – Programs – Accessories-  right click on Command Prompt – select Run as Administrator.   

0 comments:

Post a Comment

This information provided by NFPE karimnagar. Powered by Blogger.

About Me

KARIMNAGAR, TELANGANA, India
Working as a Postal Assistant from March 28, 2011 Karimnagar Head Post Office and worked as Divisional treasurer for NFPE Union from February 03, 2013 to April 19, 2015.