Solved

Odd runtime error...

Posted on 2001-06-21
7
252 Views
Last Modified: 2010-05-02
I've build an app that uses ADO 2.5 and have installed it successfully on multiple machines.  There is one box in particular, however, that it will not run on.  This box has the same basic software config as the others...

The runtime that I get is "Run time error '430': Class does not support Automation or does not support expected interface"

I looked at MSDN and found info that this is a ado dll versioning thing - http://support.microsoft.com/support/kb/articles/Q259/3/79.ASP however this article pretty much says that you need to use ado 2.0 (Msado20.tlb) if you want backward compatibility.  That seems ludicrous to me!  The setup for the app automatically includes an install of MDAC 2.5 so that dll should be there...

Anyone experience this or have a suggestion?

Thanks.
0
Comment
Question by:jogmen
7 Comments
 
LVL 2

Accepted Solution

by:
chandukb earned 50 total points
ID: 6215857
I had this problem once, Here is what I did:

I checked the ado dlls once client machine againes my
development machine and I found that the client has two
ado dlls one is the old one(because of a different app installation) and a new one with my installation, I deleted
the old one and reinstalled my app, then everything works fine.

Hope this helps.

Just make sure the versions are same in your client and
development machine.

Chandu
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6216307
Take your mdac files from your Service pack on development machine and reinstall them on target machine. Believe me.
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 6217631
The question is, did your installation package actually include MDAC 2.5? Sometimes even though you have installed this it does not get included in the package because the version of MDAC_TYP.EXE in the \program files\microsoft visual studio\vb98\wizards\pdwizard\redist folder is not the correct one. Check the version of this file in this folder first, you may well find that it is actually 2.0 rather than 2.5 and therefore the older version is being included in the installation package.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:jogmen
ID: 6235243
Appreciate all the help...will try out your suggestions and let you know.  Thanks!
0
 
LVL 1

Expert Comment

by:Garfy
ID: 6884390
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7139658
Hi jogmen,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Split points between: chandukb and Richie_Simonetti and TimCottee and Garfy

jogmen, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

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

Netminder
CS Moderator

Richie_Simonetti: points for you at http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328617
TimCottee: points for you at http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328621
Garfy: points for you at http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328622
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

914 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

22 Experts available now in Live!

Get 1:1 Help Now