Solved

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

Posted on 2003-11-07
3
2,048 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

770 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