Solved

File or assembly name ADODB or one of it's dependencies was not found.

Posted on 2003-11-07
3
2,051 Views
Last Modified: 2013-12-25
I created a simple VB.NET program that uses the ADODB.DLL to connect to an access database.  It works great, until I copy the EXE to another PC.  It then gives the message:

"File or assembly name ADODB or one of it's dependencies was not found."

The DLL is not located on the target computer, although the .NET framework is installed.  I've tried copying the DLL to the Winnt\System32 directory, but to no avail.  

How can I fix this problem?

Thanks,

ssteeves
0
Comment
Question by:ssteeves
3 Comments
 
LVL 1

Expert Comment

by:KeyPakt
ID: 9700660
I'm pretty sure that you must register the ADODB.dll on the other computer. Just make a small install package and run on the other machine and it shall work.
0
 
LVL 1

Author Comment

by:ssteeves
ID: 9700756
I will try that, but I'm also trying to avoid using a setup program.  We have  300 computers to deploy this type of programs on.  What we want to to have the PC configure itself automatically.  We have a script that can copy the DLL to the computer and register it if needed.

For a test, we tried registering the ADODB.DLL control on the PC manually, and we got this message:

"C:\Winnt\System32\Adodb.dll was loaded, but the DllRegisterServer entry point was not found.

DLLRegisterServer may not be exported, or a corrupt version of C:\Winnt\System32\Adodb.dll may be in memory.  Consider using Pview to detect and remove it."

And suggestions based on this?

ssteeves
0
 
LVL 29

Accepted Solution

by:
leonstryker earned 250 total points
ID: 9700762
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

685 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