Solved

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

Posted on 2003-11-07
3
2,060 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month5 days, 18 hours left to enroll

627 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