run this as a batch file and make sure that the adodb.dll generated from this command is referenced from teh project. At that point you can deploy adodb.dll to the end users system.
Main Topics
Browse All TopicsThis is the first installation of a new project onto the live Exchange Server.
The project was developed on a stand alone exchange system and runs successfully. When it is installed on the live system we get an error that says :-
"Could not load file or assembly 'ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
I have searched all over the live and development machines but this version of adodb.dll cannot be found ??
Is it possible that the version number being reported is different to the file version in the .dll properties ?
Is it possible that my installation has corrupted a registry setting somewhere ?
Do I need to copy the adodb.dll from my development machine to the live machine and register it with regsvr32 or regasm or something ?
Do I need to include the adodb.dll in my project install (not currently included) ?
Any help and assistance would be greatly appreciated.
Thank You.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Be careful with talker2004's suggestion.
1. You must reference the exact same version that you compiled against or you may have issues.
2. You should not sign the assembly yourself. You should use a Microsoft published version, or you may conflict with other software.
This download http://www.microsoft.com/d
Absolutely agree that the choice is with the author, but best practice is to use a published version:
http://msdn2.microsoft.com
http://msdn2.microsoft.com
Note also the particular logic that .NET will use the vendor-provided PIA if it is installed.
The test machine, if it has Visual Studio installed, will almost certainly be using a Microsoft PIA.
Here's an extract:
By definition, primary interop assemblies are always signed by their publisher to ensure uniqueness. As the single, official definition of the types they describe, you can expect popular primary interop assemblies to be installed in the global assembly cache even if you deploy the same assembly to an application directory. The common language runtime always directs your application to the primary interop assembly in the global assembly cache when both the global assembly and your local assembly have the same vendor signature. In this case, your application is not insulated from version changes initiated by the vendor. When your application requires such insulation, generate your own interop assembly by using Type Library Importer (Tlbimp.exe) instead of using the primary interop assembly.
---
Note as well that you may not be able to legally redistribute a PIA with your product that you produce yourself for another company/organisation's product.
Finally, I'd recommend that you consider migrating to ADO.NET although this may require a medium-to-long-term approach.
Thank you to everyone that has sent in suggestions to my problem.
I have however resolved this issue with the help of another post on the Microsoft Forum from Jason K (27 Feb 2006, 4:17 PM UTC). You can find the post here : -
http://forums.microsoft.co
The solution that worked for me was to copy the "C:\Program Files\Microsoft.Net\Primar
One thing that confused the hell out of me when working on this is the version number of the file reported as not found - adodb.dll version 7.0.3300.0. The version number of the adodb.dll on the development machine is 7.10.3077.0, its only when its dropped on the C:\Windows\Assemblies folder that you see the version 7.0.3300.0 being reported. I imagine this must be a product version or other such reference.
I hope this helps anyone else stuck in the same situation.
Thanks again to everyone that contributed.
Business Accounts
Answer for Membership
by: SteveH_UKPosted on 2008-02-28 at 10:55:51ID: 21006905
This is an interop assembly. Have a read of the following article:
om/kb/3216 88
om/kb/3185 59 (it is referenced by the previously mentioned article)
http://support.microsoft.c
This is particularly important reading: http://support.microsoft.c
Ask if you need further assistance.