Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2003-11-07
3
Medium Priority
?
2,074 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 1000 total points
ID: 9700762
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

926 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