Could not load file or assembly ‘ADODB, Version=7.0.3300.0

Could not load file or assembly ‘ADODB, Version=7.0.3300.0

When run cc.net to build and test the web project, it throws an exception:

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

after a research on the internet, found the solution:

Copy the gacutil.exe (D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin) to the destination pc.

Copy adodb.dll(D:\Program Files\Microsoft.NET\Primary Interop Assemblies) to the destination pc.
run gacutil /i adodb.dll to register the adodb to the gac.

Everything is ok now.

Leave a Reply