Link to home
Start Free TrialLog in
Avatar of CorporateRobot
CorporateRobot

asked on

Error registering msado25.tlb during setup

I have an application that uses a database.  I used the packaging add-in of VB6 to create the setup files.  When I run the setup program I receive an error message stating, "an error occurred registering msado25.tlb" and the same message for msadox.dll.  

The program goes on to work correctly anyway (probably because ADO is already installed on the machine). I have tried installing these files in different locations (AppPath, WinSysDir, etc.) but it doesn't seem to matter.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of agriggs
agriggs

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Éric Moreau
Find vb6dep.ini on your harddrive. Open it in an editor (maybe Notepad!!!). Find
the section named "MSADO20.TLB" or ("MSADO21.TLB"). Copy these 6 lines just under and rename MSADO20.TLB to MSADO25.TLB.
Avatar of CorporateRobot
CorporateRobot

ASKER

That worked, thanks very much. . .
You should have accept my comment if this was the one that worked!!! agriggs explained what a TLB is but not how to fix your problem.
emoreau, I'm sorry you feel that way.  The advice that agriggs gave to me that worked was that I only needed the mdac_typ.exe file -- not the two msado files.  I was including all of them because I didn't know what I was doing.  When I deselected the the two msado files in the Package and Deployment Wizard, it worked without error messages.  It is true that he also explained what a TLB file is (although I am still not sure what a TLB is!?), however, it was irrelevant in solving the problem.  

I don't mean to upset anyone.  I have read good advice that you have provided on many posts.  You are obviously a top expert in the VB category (over 180,000 expert points!!)  However, in this particular case, agriggs' advice was what helped me.