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

When run 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.

posted on 2007-08-16 16:59  Wade  阅读(3046)  评论(0编辑  收藏