DLL Registration Error Code 0x80004005

Posted on 2012-08-31
Last Modified: 2012-09-05
I am trying to register a DLL and receive the following error message: .....DLL was loaded but the call to the DLLRegisterServer failed with error code 0x80004005.

Can someone help by providing a proven, tested resolution, as I have exhausted all the what-ifs I have found searching the Web?

The attached document shows the error messages in both Word and Windows. The Word interface used in relation to the add-in is also shown. The system specifications are shown.

System Information:

Windows 7 Professional 64-bit Service Pack 1
Home computer, not a networked computer. I have administrative privileges.
UAC is turned off.
Microsoft Office Professional Plus 2010 (Word)

The DLL is related to Nuance PDF Converter 7.3 software. It is an add-in for Microsoft Word. The technical support folks with Nuance have been very helpful but unable to find a solution.

I think the problem is with Windows, i.e., the prevention of loading of the DLL.

I have searched the Web endlessly. I see a number of posts regarding the error message, that is, the same problem. I have found no solution that works, having tried many.

I have searched Experts Exchange. I have tried all suggestions that I found.

I have tried the following:

Ensured the DLL is in the path used with the register command.
Disabled the Windows firewall and anti-virus software.
Tried to add the DLL to Word’s add-ins using Word’s options.
Run the register DLL command at the command prompt as an administrator. That is, I used an elevated command prompt.
Run the register DLL command in the Run dialog box as an administrator.
Run the register DLL command in Safe Mode using the command prompt and as adminstrator.
Uninstalled the software multiple times.
Repaired Microsoft Office (Word) multiple times.
Run the register DLL command after each repair attempt.
Uninstalled and reinstalled Office.
Tried running the unregister DLL command as well. The error is the same.
Checked security on the DLL file. As the user, I have full control. Set up Everyone with full control.

The software is installed on another computer with the same operating system and Office 2010. There is no problem with the DLL.

I am using the commands below to unregister and register the DLL. The error message each time is essentially the same.

Regsvr32 "C:\Program Files (x86)\Nuance\PDF Professional 7\PDF Driver\OfficeAddIn\ZnWordAddIn.dll"

Regsvr32 /u "C:\Program Files (x86)\Nuance\PDF Professional 7\PDF Driver\OfficeAddIn\ZnWordAddIn.dll"

Question by:JasonLattin
    LVL 10

    Expert Comment

    1) I can see that you are on a 64-bit machine, but trying to register a 32-bit DLL.

    The problem may be due to a bitness mismatch between the DLL and the version of regsvr32 you are using.

    Please try using the following command in an elevated command prompt (assumes default Windows folder location):

    c:\Windows\syswow64\regsvr32.exe "C:\Program Files (x86)\Nuance\PDF Professional 7\PDF Driver\OfficeAddIn\ZnWordAddIn.dll"

    2) If the DLL registration searches for office, it might be that 64-bit Office has been installed on the failing machine and the DLL registration is failing on it.

    3) It could also be due to a permissions problem in the registry.

    I would advise that you
    *) Unregister the DLL
    *) Run RegDLLView as Admin to find the DLL in question and see if any registrations remain
    *) Try to remove them with RegDLLView

    Also find the GUID registry key (as noted in RegDLLView "Class ID" column) under HKEY_MACHINE_USER\Software\Classes\Wow6432Node\CLSID and delete the KEY.  If the GUID KEY exists under: HKEY_USER_USER\Software\Classes\Wow6432Node\CLSID also delete it from there.

    If you can successfully delete it you should also delete any bad permissions that it might have.

    Some installers will change permissions on CLSID keys to prevent overwriting by other installers - which can sometimes break the original software that installed the CLSID key.

    Author Comment


    Thanks for the quick reply.

    I don't have access to the subject machine currently.

    I will try your suggestions and let you know the results.

    Author Comment


    I tried to register the DLL using the following string, but was not successful. The error message was the same as that provided with my first post.

    c:\Windows\syswow64\regsvr32.exe "C:\Program Files (x86)\Nuance\PDF Professional 7\PDF Driver\OfficeAddIn\ZnWordAddIn.dll"

    I tried to unregister the DLL but was unsuccessful.

    I saw no indication that the DLL registration searched for Office as you suggested in number 2 below.

    “2) If the DLL registration searches for office, it might be that 64-bit Office has been installed on the failing machine and the DLL registration is failing on it.”

    Before I continue with your next steps, I have some questions.

    In 2) above, you indicated that 64-bit Office might be installed and the DLL registration failing on it.

    I do in fact have Office/Word 64-bit. Could that be the problem?

    I have asked the software manufacturer if the software is compatible with Word 64-bit, but I haven’t received an answer as yet.

    You suggested running RegDLLView and additional steps. I am not familiar with RegDLLView. Are you referring to the product reviewed by CNET at the address below?;1#editorsreview

    If not the product above, could you provide a few more details so that I can make sure I use the correct product.

    Thank you for any insight you can provide.
    LVL 10

    Expert Comment

    I am 99% sure the software is not compatible with 64-bit Office because it is installed in "Program Files (x86)" which means it is the 32-bit version.  There is a slight possibility they have a 64-bit version of the plug-in in that folder - but it is not a common thing.

    99% of organizations run 32-bit office on 64-bit Windows for this exact reason - current plug-ins and most of those bought in the next 1-2 years will only be available in 32-bit versions.

    So the bigger thing to look at is whether you should have 64-bit office on any of your machines.

    Apologies about not including a link to the mentioned utility.  Here it is:

    Author Comment


    I suspect you are correct in saying that the software is not compatible with 64-bit Office. I haven't received an answer to this question from the manufacturer as yet – still waiting.

    I didn't find any evidence of a 64-bit DLL or other 64-bit indicators.

    I ran RegDLLView. I do not see that the DLL in question is registered, that is,

    C:\Program Files (x86)\Nuance\PDF Professional 7\PDF Driver\OfficeAddIn\ZNWordAddin.DLL

    I have attached NuanceDLLs.png to show what I see. Did I miss anything?

    LVL 10

    Accepted Solution

    No you have not missed anything.

    The 32-bit ZnWordAddIn.dll will be looking for registry keys for 32-bit word to integrate itself into word.  It won't find these keys if 64-bit office is installed.

    Author Closing Comment

    I believe the answer to my question is that the software is not compatible with Office 64-bit.

    While the answer is not what I hoped for, I will still award 500 points, the maximum, because without the help of CSI-Windows_com, I might still be looking for a solution to the problem. Now I know that the problem is not caused by me or the procedures that I have been using.

    I would also like to commend CSI-Windows_com for the responiveness and the detailed instructions. I found the numbered steps and suggestions easy to follow. It also appeared CSI-Windows_com did an excellent job of reviewing my questions. This was evident because I was not asked to try steps that I had documented as having been tried previously, and subsequent questions were answered with the correct amount of detail.

    Thank you for all your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
    Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now