Link to home
Start Free TrialLog in
Avatar of HKComputer
HKComputerFlag for United States of America

asked on

Runtime error 430 on Windows 98 (ADO reference in my VB6 app)

I have a clients win98 machine that cannot run my app.  As soon as the references are made to ADODB, the app hangs and returns the following error message:

Runtime Error 430 Class Does not support Automation or does not support expected interface

I have read the posts by others about this issue and I installed MDAC 2.8 SP1, the same version as the XP development machine.  But this did not fix the problem.

I'm seeing other posts about running DCOM98.exe and also checking to see if Jet 4.0 is installed.  I don't know how to check for Jet 4.0 and what about running/installing DCOM98.exe?  

MDAC installed fine without errors.

Does anyone have an idea on how to troubleshoot this issue or what to do next?
Avatar of leonstryker
leonstryker
Flag of United States of America image

Are you connecting to an Access database? If yes, which version?  Is MS Office installed on this machine, which version?  How is the application establishing a connection?  Could show us the connections string.  Do you have VB installed on this machine?

Leon
Avatar of HKComputer

ASKER

Connecting to Foxpro 8 Database
MSOffice installed = No
VB Installed = No

Connection String = "Provider=vfpoledb.1;Data Source=X:\MyDatabase.dbc"
Take a look here:

http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForVisualFoxPro

"The Visual FoxPro OLE DB Provider is not installed by MDAC 2.x.  You must install Visual FoxPro or download the OLE DB Provider "

There is more info in that link, which will tell you where to get the Provider.

Leon
Thanks for the tip.  I do have the oledb for foxpro driver installed already.  The only one I could find is for Foxpro 9.  I suppose it's backwards compatible with all other versions of Foxpro.
Not really sure. You may want to post a linking question to the Fox Pro TA and get some people from there to give you their opinion.
When I ran the "component checker" for MDAC, I did come up with some unexpected file versions.  So I renamed the unexpected files and reinstalled MDAC 2.8 SP1.  This did not fix the problem.

Next I downloaded the latest Windows 98SE updates and also installed the latest Windows Script Host.  (This machine appeared to have no updates installed at all.  I actually had to download IE6 in order to download updates.)

The updates seemed to have fixed my problem.  It did replace more of my MDAC files and my component checker evaluation actually shows more unexpected file versions than before.

The error message I posted about here is fixed.  I did end up with another really strange problem which I'll comment on briefly here.  It should be opened in another question if we're going to discuss it.

A third party application calls my third party application and passes command line parameters to it.  When my application gets called like this, it loads into memory (you can see it when you press Ctrl + Alt + Delete) but the first line of code never even executes.  I recoded it and recompiled it so that it gives a message box first thing, and that never happens.  If you load my app. by double clicking on the file, it works fine.  But if it's called by the third part app. it does not work.  Very strange.  Windows 98 is the only OS I'm having this trouble on but I cannot determine if it's the third party app or Win98 causing the trouble.

I'm going to request that this question be closed and points refunded unelss there are any objections.  Thanks.

HK
No objections

Leon
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial