Link to home
Start Free TrialLog in
Avatar of bbth
bbth

asked on

DBEngine failure

I just installed an app that I wrote on a new machine. The app runs fine on my development machine, but dies on the econd machine. I isolated the error to the following line:

Set db =Engine.Workspaces(0).OpenDatabase("iqserver.mdb")

The error that occurs is 424: Object required. I wrote a program that basically tried to open and then close the database. It works on the devlopment machine and fails on the other machine. If I try to display DBEngine.version the app fails with the "Object Required" error. It shows 2.5 on the development machine. I think I have all of the required
OCX and DLL files on both machines. Any clues would be greatly appreciated.

BTW, this is a 16 bit app.

Thanks,
Bill

--
Bill Thompson
BBT Software
bbth@global2000.net
Time and place are fractions, God is an integer. - Meister Eckhart
ASKER CERTIFIED SOLUTION
Avatar of y96andha
y96andha

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
Avatar of bbth
bbth

ASKER

Thanks, that's right. The proble was being caused by a faulty install setup that was not registering DAO2516.DLL even though it wasbeing copied. I created a new install setup and then it worked. We've now corrected the original install routine and it works too.