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:

  1. copy the gacutil.exe (D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin) to the destination pc.
  2. copy adodb.dll(D:\Program Files\Microsoft.NET\Primary Interop Assemblies) to the destination pc.
  3. run gacutil /i adodb.dll to register the adodb to the gac.

everything is ok now.

你可能感兴趣的:(Could not load file or assembly 'ADODB, Version=7.0.3300.0)