Solved

Error While registering MSADO21.tlb

Posted on 2002-06-26
3
502 Views
Last Modified: 2007-11-27
When installing VB progs on win2000 i'm getting :
"Error While Error While registering MSADO21.tlb"

It happens all the time, what is wrong with then file ?
0
Comment
Question by:computech1
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7113133
Find vb6dep.ini on your harddrive. Open it in an editor (maybe Notepad!!!). Find the section named "MSADO20.TLB". Copy these 6 lines just under and rename MSADO20.TLB to MSADO21.TLB.
0
 

Author Comment

by:computech1
ID: 7119966
Can I fix it in the installtion process ?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 20 total points
ID: 7122225
The only way you can fix it is to distribute and run MDAC_TYP.EXE manually before your setup and ignore the error while the setup is running.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 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