VB2005没有正确部署 [英] VB2005 not deploying properly

查看:79
本文介绍了VB2005没有正确部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用Google搜索,直到我脸色苍白 - 无处可寻找解决方案

这个....


在vb.net 2005中开发了我的第一个真正的应用程序。在我的PC和我的

笔记本电脑(也安装了VB.Net 2005)上运行良好。


该应用程序还安装在我的朋友新的戴尔笔记本电脑上


然而,在我的其他电脑和另一台笔记本电脑上它不会运行。


System.IO.FileNotFoundException:无法加载文件或程序集''ADODB,

Version = 7.0.3300.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a''或者


的依赖项。系统找不到指定的文件。


文件名:''ADODB,版本= 7.0.3300.0,文化=中性,


PublicKeyToken = b03f5f7f11d50a3a''

这不是版本问题 - 目标PC _DOES NOT HAVE_ ADODB

ANYWHERE - 即使我安装了DonNetframework。


我做错了什么?该应用程序对ADADB的引用很好,所以

这个问题出了什么问题?


我注意到了故障 ; PC,只有两个文件在

C:\Program Files \ Mysoftoft.NET \Primary Interop Assemblies目录中而

我的有很多包括adodb.dll


Tym

I''ve googled until I''m blue in the face - nowhere can I find the solution to
this....

Developed my first real app in vb.net 2005. works great on my PC and my
laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won''t run.

System.IO.FileNotFoundException: 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''
It''s not a versioning issue - the target PC _DOES NOT HAVE_ ADODB on it
ANYWHERE - even though I''ve installed the DonNetframework.

What am I doing wrong? The app has the references to ADADB in it fine, so
what''s wrong with the delpoyment??

I noticed that on the "faulty" PC, there are only two files in the
C:\Program Files\Microsoft.NET\Primary Interop Assemblies directory whereas
on mine there are quite a few including adodb.dll

Tym

推荐答案

将ADODB.DLL复制到与EXE相同的目录它所用的机器

不起作用。


Tym写道:
Copy ADODB.DLL to the same directory as the EXE on the machines where it
doesn''t work.

Tym wrote:

I 直到我脸色苍白的谷歌 - 我无处可寻找这个解决方案。

这个....


开发我的第一个真实应用程序在vb.net 2005.在我的电脑和我的

笔记本电脑(也安装了VB.Net 2005)上工作得很好


该应用程序也在我的朋友安装新的戴尔笔记本电脑


然而,在我的其他电脑和另一台笔记本电脑上它不会运行。


System.IO .FileNotFoundException:无法加载文件或程序集''ADODB,


Version = 7.0.3300.0,Cu lture = neutral,PublicKeyToken = b03f5f7f11d50a3a''或者一个


的依赖项。系统找不到指定的文件。


文件名:''ADODB,版本= 7.0.3300.0,文化=中性,


PublicKeyToken = b03f5f7f11d50a3a''


这不是版本问题 - 目标PC _DOES NOT HAVE_ ADODB就好了

ANYWHERE - 即使我已经安装了DonNetframework。


我做错了什么?该应用程序对ADADB的引用很好,所以

这个问题出了什么问题?


我注意到了故障 ; PC,只有两个文件在

C:\Program Files \ Mysoftoft.NET \Primary Interop Assemblies目录中而

我的有很多包括adodb.dll


Tym

I''ve googled until I''m blue in the face - nowhere can I find the solution to
this....

Developed my first real app in vb.net 2005. works great on my PC and my
laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won''t run.

System.IO.FileNotFoundException: 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''
It''s not a versioning issue - the target PC _DOES NOT HAVE_ ADODB on it
ANYWHERE - even though I''ve installed the DonNetframework.

What am I doing wrong? The app has the references to ADADB in it fine, so
what''s wrong with the delpoyment??

I noticed that on the "faulty" PC, there are only two files in the
C:\Program Files\Microsoft.NET\Primary Interop Assemblies directory whereas
on mine there are quite a few including adodb.dll

Tym


6月11日上午8:41, ; TYM" < spamt ... @ ictis.netwrote:
On Jun 11, 8:41 am, "Tym" <spamt...@ictis.netwrote:

我用google搜索直到我脸色苍白 - 我无处可寻找

这个....


在vb.net 2005中开发了我的第一个真正的应用程序。在我的电脑上工作得很好我的

笔记本电脑(也安装了VB.Net 2005)


该应用程序还安装在我的朋友新的戴尔笔记本电脑上


然而,在我的另一台PC和另一台笔记本电脑不会运行。


System.IO.FileNotFoundException:无法加载文件或程序集''ADODB,


Version = 7.0.3300.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a''或者一个


的依赖项。系统找不到指定的文件。


文件名:''ADODB,版本= 7.0.3300.0,文化=中性,


PublicKeyToken = b03f5f7f11d50a3a''


这不是版本问题 - 目标PC _DOES NOT HAVE_ ADODB

ANYWHERE - 即使我已经安装了DonNetframework。


我做错了什么?该应用程序对ADADB的引用很好,所以

这个问题出了什么问题?


我注意到了故障 ; PC,只有两个文件在

C:\Program Files \ Mysoftoft.NET \Primary Interop Assemblies目录中而

我的有很多包括adodb.dll


Tym
I''ve googled until I''m blue in the face - nowhere can I find the solution to
this....

Developed my first real app in vb.net 2005. works great on my PC and my
laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won''t run.

System.IO.FileNotFoundException: 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''

It''s not a versioning issue - the target PC _DOES NOT HAVE_ ADODB on it
ANYWHERE - even though I''ve installed the DonNetframework.

What am I doing wrong? The app has the references to ADADB in it fine, so
what''s wrong with the delpoyment??

I noticed that on the "faulty" PC, there are only two files in the
C:\Program Files\Microsoft.NET\Primary Interop Assemblies directory whereas
on mine there are quite a few including adodb.dll

Tym



ADODB是旧的 ADO版本 - 并未与.Net

框架一起打包。相反,你应该使用ADO.Net,而你的

错误应该消失。


顺便说一句,我从发布中删除了经典的VB newgroup清单,

不要在那里发布VB.Net问题。


谢谢,


Seth Rowe


请原谅。但我不认为它会修复它。我在vs2005 C#proj中有相同的

问题,水晶报告XI。我有同样的错误。

我的情况是我在同一个文件夹上有一个exe加2个dll,并且所有* .RPT

(Crystal报告)都在同一个文件夹中文件夹,仍在寻找其他东西,

SOMETHING ELSE是一个丢失的文件,每个人都找不到

错误文件..


" rowe_newsgroups"写道:
pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.
my case is I have one exe plus 2 dlls on same folder, and all the *.RPT
(Crystal reports) in the same folder and still is looking for something else,
"SOMETHING ELSE" is the missing file that everyone is getting for as an
error file not found..

"rowe_newsgroups" wrote:

6月11日上午8:41,Tym < spamt ... @ ictis.netwrote:
On Jun 11, 8:41 am, "Tym" <spamt...@ictis.netwrote:

我用google搜索直到我脸色苍白 - 我无处可寻找

这个....


在vb.net 2005中开发了我的第一个真正的应用程序。在我的电脑上工作得很好我的

笔记本电脑(也安装了VB.Net 2005)


该应用程序还安装在我的朋友新的戴尔笔记本电脑上


然而,在我的另一台PC和另一台笔记本电脑不会运行。


System.IO.FileNotFoundException:无法加载文件或程序集''ADODB,


Version = 7.0.3300.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a''或者一个


的依赖项。系统找不到指定的文件。


文件名:''ADODB,版本= 7.0.3300.0,文化=中性,


PublicKeyToken = b03f5f7f11d50a3a''


这不是版本问题 - 目标PC _DOES NOT HAVE_ ADODB

ANYWHERE - 即使我已经安装了DonNetframework。


我做错了什么?该应用程序对ADADB的引用很好,所以

这个问题出了什么问题?


我注意到了故障 ; PC,只有两个文件在

C:\Program Files \ Mysoftoft.NET \Primary Interop Assemblies目录中而

我的有很多包括adodb.dll


Tym
I''ve googled until I''m blue in the face - nowhere can I find the solution to
this....

Developed my first real app in vb.net 2005. works great on my PC and my
laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won''t run.

System.IO.FileNotFoundException: 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''

It''s not a versioning issue - the target PC _DOES NOT HAVE_ ADODB on it
ANYWHERE - even though I''ve installed the DonNetframework.

What am I doing wrong? The app has the references to ADADB in it fine, so
what''s wrong with the delpoyment??

I noticed that on the "faulty" PC, there are only two files in the
C:\Program Files\Microsoft.NET\Primary Interop Assemblies directory whereas
on mine there are quite a few including adodb.dll

Tym



ADODB是旧的 ADO版本 - 并未与.Net

框架一起打包。相反,你应该使用ADO.Net,而你的

错误应该消失。


顺便说一句,我从发布中删除了经典的VB newgroup清单,

不要在那里发布VB.Net问题。


谢谢,


Seth Rowe


这篇关于VB2005没有正确部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆