Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error - Could not load file or assembly ADODB 1

Status
Not open for further replies.

jbehrne

Programmer
Dec 18, 2002
484
US
Hi All,

I recently depolyed an app. on several computers that I built using VB.Net 2005. All of the computers are running Win XP w/SP2 with all of the latest patches, etc. applied.

On one computer whenever I run the application I get the following error:

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

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

Any ideas as to what is going wrong? Thanks for any help...

jbehrne

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
Hello, have you looked at the .net framework version?
Good luck,
djj
 
DJJ,

The computer currently has 1.0, 1.1 and 2.0 installed. Will it run with all of the frameworks installed (this isn't a problem on the other computers...).

Thanks,

jbehrne

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
ADODB isn't framework, it's COM. You need to make sure that the dll is on the system. The easiest way is to copy it from your computer and do regsvr32 from a command line.
 
macleod1021,

I'll give your suggestion a shot and see what happens.

jbehrne

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
In case anyone else runs across this error here is how I solved it:

Copied "ADODB.dll" from another computer and dropped it in the folder "C:\Windows\Assembly"

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
ThatRickGuy,

I initially thought that the samething but Windows update did not turn up any updates. The Windows XP Pro disk that I used for the problem computer has all of the lastest critical and recommened updates slip streamed in it... I got it from my universities Computing Services department.. Maybe thier copy is messed up.

jbehrne

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
Yes, I'm positive. I even went so far as to download and try to install MDAC 2.8 (which would not install because it found SP 2 had already been installed). I thought that it was included too!

If at first you don't succeed, call in an airstrike. - Murphy's Laws of Combat Operations
 
I just had this problem on a windows service app. Solved it by adding a reference to adodb. Didn't need it when testing on my own development machine, but the problem became apparent when I deployed to the target server. The reference includes the dll in the installation kit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top