Self-registration of DLL failed?

Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

hlross72

Thread Starter
Joined
Nov 3, 2001
Messages
2
When installing an application the installation aborts with "Self-registration of 'filename' failed, result code -1". I have had this problem with other installations, so it's not package specific. I also get this or a similar message when I use REGSVR32 or REGOCX32 to register a Visual Basic custom control. I think it may be a file involved in the registration process is possibly corrupt or missing. But I have no idea which files these are, so that I can replace them. But it's probably a lot more complicated then that! Anybody got any ideas?
 
Joined
Dec 9, 2000
Messages
45,855
It is indeed a complex process, to get an idea you can read this:

http://support.microsoft.com/support/kb/articles/q249/8/73.asp

If you are really gung-ho to troubleshoot this you can install Dependency Walker (it's the "depends.exe" referred to in the above link). Learn the basics of using it (very geeky), then open regsvr32.exe and click on the Profile tab. enter the dll you want to register in the "Program Arguments" field.

I don't know what it will turn up, or how to interpret it, I've only experimented using a successfully registerable dll.

http://www.dependencywalker.com/
 
Joined
Aug 17, 2001
Messages
7,486
Which version of Visual Basic do you have? If 6.0 you already have depends.exe
I would reinstall Visual Basic as a start. I would also install the service packs and see if that makes a diference.
 
Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top