Asking Again, Why Would I Have This Runtime Error

D

David C. Barber

Asking again, I've just built my first Setup-Installable VB 2005 package. I
have the full
Profession Edition VS 2005, not the Express edition, and am patched to the
current SP. It installs on the development machine (Win 2K) and runs just
as well as it does in the VS IDE. I used the Walkthrough for Deploying a
Windows-based Application in the MSDN files supplied. This application
accesses Active Directory in several ways, including using ADODC to make a
database-like LDAP call.

However, when I install it on a new XP Pro machine and execute it the form
comes up fine. However, when I
attempt the access of the LDAP information using an ADODC recordset I get
the following error:

---
Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue.
If you click Quit, the application will close immediately.

Could not load file or assembly 'ADODB, Version=7.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f11d50a3a' or one of its dependencies. The system
cannot find the file specified.
---

I don't understand why the build of the setup files didn't show any errors,
yet I get this at runtime. And how do I fix it?

Thanks!
 
C

Cor Ligthert [MVP]

David.

Adodb is not a part of the Net it has to be installed or more likely you
have to install is seperately (Your version 7, you can mostly download those
from MSDN as MDAC sets.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top