当我运行从vb.net创建的应用程序时,显示以下错误

问题描述:

未处理的异常:Exception.InnerException:无法加载文件或程序集"ADODB,版本= 7.0.3300.0,区域性=中性,PublicKeyToken = b03f5f7f11d50a3a"或其依赖项之一.系统找不到指定的文件.
文件名:``ADODB,Version = 7.0.3300.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a''& quot;
我正在使用adodb控件
安装程序也安装在该计算机上,计算机中的操作系统是Windows XP专业版Service Pack 2

Unhandled exception:Exception.InnerException: 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.
File name: ''ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'' "
i am using adodb control
setup also installed in that machine , the os in the machine is windows xp professional edition service pack 2

我不知道您为什么选择使用ADO而不是.Net OLEDB提供程序(system.data.oledbclient),但是您很可能在开发计算机上创建了自动" com互操作包装器(通过设置对ADODB COM对象的引用),但是无法复制和在目标计算机上注册.
I don''t know why you would choose to use ADO instead of the .Net OLEDB provider (system.data.oledbclient), but it is likely that you created an "automatic" com interop wrapper on your development machine (by setting a reference to the ADODB COM object), but failed to copy and register that on the target machine.