Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Odd runtime error...

Posted on 2001-06-21
7
Medium Priority
?
261 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 200 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:jogmen
ID: 6235243
Appreciate all the help...will try out your suggestions and let you know.  Thanks!
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Suggested Courses

705 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