Solved

Class not registered

Posted on 2001-07-09
10
721 Views
Last Modified: 2013-11-13
when i am trying to setup my application on a windows 95 os i am getting an error -2147221164 with the message "class not registered" i am using vb6 with access 2000 and ado's 2.1

thanks
0
Comment
Question by:sumbul
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 33

Expert Comment

by:hongjun
ID: 6265435
Register the dll file manually using this syntax.
regsvr32 c:\your_dll.dll

I am assuming your dll file is in c:\

hongjun
0
 
LVL 4

Accepted Solution

by:
VincentLawlor earned 50 total points
ID: 6265724
Could you elaborate please...

Is the setup program a automatic setup program like Wise Installer, Install Shield etc.

It sounds like you have not included some dll's with the install. Most likely MDAC (Data Access)

You can get MDAC from the Microsoft downloads web site.

0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6265926
Have you runned DCOM95.exe (or DCOM98.EXE) before installing ADO? This is a sure requirement.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:sumbul
ID: 6272159
thanks all of you, i figured the answer myself after some r&d.  the problem was that i needed to install mdac2.5 which adds the required dll's used by ado 2.1 library.
0
 
LVL 4

Expert Comment

by:VincentLawlor
ID: 6272356
Any chance of the points ?
Since I suggested getting MDAC ?
0
 
LVL 33

Expert Comment

by:hongjun
ID: 6275434
VincentLawlor should deserve it.

hongjun
0
 
LVL 4

Expert Comment

by:VincentLawlor
ID: 6276275
Thanks for the backup.

Now where's me points :-(

Vin.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 6276413
Perhaps you got to wait for sumbul to reply. Cannot help you.

hongjun
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7135258
A request has been made (http://www.experts-exchange.com/cleanup/Q_20320181.html) that this question be closed with the following resolution: points to VincentLawlor

EXPERTS: Please leave any comment regarding this request here; I will return in seven (7) days to close the question.

Netminder
CS Moderator
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7158557
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now