Solved

Odd runtime error...

Posted on 2001-06-21
7
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

739 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