HELP!!! - DllRegisterServer in <<filename.ocx>> failed. Return Code was: 0x80004005

M

mark

We have a large user base for a contact management software developed
in VB6 and this is the first time I have ever run into this problem.
I don't think it has anything to do with VB6, thus the reason for
posting here...

The user has Windows XP Home but is on a small peer to peer network.
She is logged in as the User with Admin rights.

We can install the software package using Windows Installer and
everything is fine - but we needed to apply some changes to some .ocx
files and it causes the system to error out after they are installed.

The VB Program returns with "Unexpected Error; Quiting..."

If I go to register our .OCX files manually (some register fine but
most are returning back the following message: DllRegisterServer in
<<filename.ocx>> failed. Return Code was: 0x80004005

I'm thinking it is a security rights issue but I don't know...

We have had this application in place for 3 years and never run into
this before - any help would be greatly appreciated!!! GREATLY!!!

Mark A. Stepp
(e-mail address removed)
www.AdvantageXi.com
 
D

Doug Knox MS-MVP

If the OCX is a replacement, your installation process should unregister the existing version, then replace it, then register the new version.
 
M

mark

OK - I will make sure we do that but why wouldn't I be able to
register an existing file that I am not updating - I've not ever seen
that before...

Example: There is a file that I'm NOT updating but is located in the
Windows\system32 folder (Lead Technologies Image Control) and I get
the same error - yet another control that we use registers fine. But
if I update a file it gives me the "Unexpected Error; Quiting"

Thanks....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top