Assembly ADODB注册

在运行Web程序时遇到ADODB程序集加载错误,系统找不到文件。解决方案包括将gacutil.exe复制到目标计算机,将adodb.dll和stdole.dll也一并复制,并使用gacutil /i命令注册adodb.dll到全局程序集缓存。完成注册后,可以在C:/WINDOWS/assembly中看到ADODB已成功加入。
摘要由CSDN通过智能技术生成

运行Web程序,报错:

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.

解决

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

说明:

全局程序集缓存工具(gacutil.exe)

程序集查看器可以使用Windows浏览器查看和删除程序

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值