[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DLL Registration Error Code 0x80004005

Posted on 2012-08-31
7
Medium Priority
?
11,123 Views
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"

Thanks
NuanceExpertsPost1.doc
0
Comment
Question by:JasonLattin
  • 4
  • 3
7 Comments
 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 38354332
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.
0
 

Author Comment

by:JasonLattin
ID: 38354616
CSI-Windows_com,

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.
0
 

Author Comment

by:JasonLattin
ID: 38359452
CSI-Windows_com

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?

http://download.cnet.com/RegDllView/3000-2094_4-10733715.html?tag=mncol;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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 38359744
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: http://www.nirsoft.net/utils/registered_dll_view.html
0
 

Author Comment

by:JasonLattin
ID: 38366333
CSI-Windows_com,

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?

Thanks
NuanceDLLs.png
0
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 2000 total points
ID: 38366381
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.
0
 

Author Closing Comment

by:JasonLattin
ID: 38367883
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.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses
Course of the Month20 days, 5 hours left to enroll

872 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