业务组件缺少dll [英] Business Component missing dlls

查看:62
本文介绍了业务组件缺少dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置一个可重用的库(业务组件),我可以在一堆页面中使用




我建立了文件,它几乎编译,但我不知道我是什么

缺少。


vbc命令和结果是:

********************************************* ***** **********************

C:\ Inetpub \ www.root \Development> vbc / t :library emailClass.vb

/r:system.web.dll /r:system.data.dll


Microsoft(R)Visual Basic .NET编译器版本7.10.6001.4

for Microsoft(R).NET Framework版本1.1.4322.2032

版权所有(C)Microsoft Corporation 1987-2002。保留所有权利。


C:\Inetpub\wwwroot\Development\EmailClass.vb(20):错误BC30456:

''配置

设置''不是''配置''的成员。


Dim ConnectionString as String

= System.Configuration .ConfigurationSe

ttings.AppSettings(" MM_CONNECTION_STRING_ftsolutio ns)

~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~

~~~~~~

C:\Inetpub\wwwroot \Development\EmailClass .vb(21):错误BC30007:参考

requ

red to assembly''System''包含基类

''系统.ComponentModel.Compo

nent''。在你的项目中添加一个。


将新的SqlConnection(ConnectionString)调暗为objConn

~~~~~~~~~~~~~ >
C:\Inetpub \ www.root \ Development.\\EmailClass.vb(23):错误BC30007:参考

requ

red to imbly to assembly' '系统''包含基类

''System.ComponentModel.Compo

nent''。在你的项目中添加一个。


将objCmd变为新的SqlCommand(CommandText,objConn)

~~~~~~~~~~


C:\ Inetpub \ www.root \Development>

********************** **************************** ********************** ***


我想念的是什么?


谢谢,


Tom

I am trying to set up a reusable library (business component) that I can use
in a bunch of my pages.

I built the file and it almost compiles, but I am not sure what I am
missing.

The vbc command and results are:

************************************************** **********************
C:\Inetpub\wwwroot\Development>vbc /t:library emailClass.vb
/r:system.web.dll /r:system.data.dll

Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\Inetpub\wwwroot\Development\EmailClass.vb(20) : error BC30456:
''Configuration
Settings'' is not a member of ''Configuration''.

Dim ConnectionString as String
=System.Configuration.ConfigurationSe
ttings.AppSettings("MM_CONNECTION_STRING_ftsolutio ns")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(21) : error BC30007: Reference
requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objConn as New SqlConnection (ConnectionString)
~~~~~~~~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(23) : error BC30007: Reference
requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objCmd as New SqlCommand(CommandText,objConn)
~~~~~~~~~~

C:\Inetpub\wwwroot\Development>
************************************************** *************************

What dlls am I missing?

Thanks,

Tom

推荐答案

/r:System.dll?


Juan T. Llibre

ASP.NET MVP
http://asp.net.do/foros/

Foros de ASP.NET en Espa?ol

Ven,y hablemos de ASP.NET ...

=== ===================

" tshad" < TS ********** @ ftsolutions.com>在留言中写道

新闻:e2 ************** @ TK2MSFTNGP12.phx.gbl ...
/r:System.dll ?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"tshad" <ts**********@ftsolutions.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
我试图设置我可以在我的页面中使用一个可重用的库(业务组件)。

我构建了文件,它几乎可以编译,但我不确定我缺少什么。

vbc命令和结果是:

*************************** *********************** ********************** *
C. :\ Inetpub \ www.root \Development> vbc / t:library emailClass.vb /r:system.web.dll
/ r:system.data.dll

Microsoft(R )Visual Basic .NET编译器版本7.10.6001.4
Microsoft(R).NET Framework版本1.1.4322.2032
版权所有(C)Microsoft Corporation 1987-2002。保留所有权利。

C:\Inetpub\wwwroot \ Development @\\ EmailClass.vb(20):错误BC30456:''配置
设置''不是''配置''。

Dim ConnectionString as String = System.Configuration.ConfigurationSe
ttings.AppSettings(" MM_CONNECTION_STRING_ftsolutio ns)
~~~~~~~~ C:\ Inetpub \ www.root是~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \Development\EmailClass.vb(21):错误BC30007:引用需要包含基类''System.ComponentModel.Compo
nent''的程序集''System''。在你的项目中添加一个。

将objConn作为新的SqlConnection(ConnectionString)哼~~~~~~~~~~~~~
C:\ Inetpub \ wwwroot \Development\EmailClass.vb(23):错误BC30007:参考需要组装''系统''包含基类''System.ComponentModel.Compo
nent''。添加一个到你的项目。

将objCmd作为新的SqlCommand(CommandText,objConn)来
C:\ Inetpub \wwwroot \Development>
************************************** ************ *************************

我想念的是什么?

谢谢,

Tom
I am trying to set up a reusable library (business component) that I can use in a bunch
of my pages.

I built the file and it almost compiles, but I am not sure what I am missing.

The vbc command and results are:

************************************************** **********************
C:\Inetpub\wwwroot\Development>vbc /t:library emailClass.vb /r:system.web.dll
/r:system.data.dll

Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\Inetpub\wwwroot\Development\EmailClass.vb(20) : error BC30456: ''Configuration
Settings'' is not a member of ''Configuration''.

Dim ConnectionString as String =System.Configuration.ConfigurationSe
ttings.AppSettings("MM_CONNECTION_STRING_ftsolutio ns")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(21) : error BC30007: Reference requ
ired to assembly ''System'' containing the base class ''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objConn as New SqlConnection (ConnectionString)
~~~~~~~~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(23) : error BC30007: Reference requ
ired to assembly ''System'' containing the base class ''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objCmd as New SqlCommand(CommandText,objConn)
~~~~~~~~~~

C:\Inetpub\wwwroot\Development>
************************************************** *************************

What dlls am I missing?

Thanks,

Tom



" Juan T. Llibre" <无*********** @ nowhere.com>在消息中写道

news:et ************** @ TK2MSFTNGP10.phx.gbl ...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:et**************@TK2MSFTNGP10.phx.gbl...
/ r:System。戴尔?


就是这样。


谢谢,


Tom

Juan T. Llibre
ASP.NET MVP
http:// asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven,y hablemos de ASP.NET ...
====== ================

" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:e2 ************** @ TK2MSFTNGP12.phx.gbl ...
/r:System.dll ?
That was it.

Thanks,

Tom
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"tshad" <ts**********@ftsolutions.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
我正在尝试建立一个可重用的库(业务组件)我可以在我的一些页面中使用。

我构建了文件并且它几乎可以编译,但我不确定我缺少什么。

vbc命令和结果是:

*************************** *********************** ********************** *
C. :\ Inetpub \ www.root \Development> vbc / t:library emailClass.vb
/ r:system.web.dll /r:system.data.dll

Microsoft(R )Visual Basic .NET编译器版本7.10.6001.4
Microsoft(R).NET Framework版本1.1.4322.2032
版权所有(C)Microsoft Corporation 1987-2002。保留所有权利。

C:\Inetpub\wwwroot \ Development @\\ EmailClass.vb(20):错误BC30456:
''配置
设置''是不是''配置'的成员。

Dim ConnectionString as String
= System.Configuration.ConfigurationSe
ttings.AppSettings(" MM_CONNECTION_STRING_ftsolutio ns)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\wwwroot \Development\EmailClass.vb(21):错误BC30007:
参考需要装配''系统''包含基类< br'>''System.ComponentModel.Compo
nent''。在你的项目中添加一个。

将objConn作为新的SqlConnection(ConnectionString)哼~~~~~~~~~~~~~
C:\ Inetpub \ wwwroot \Development\EmailClass.vb(23):错误BC30007:
参考re /
ired to assembly''System''包含基类
''System.ComponentModel.Compo
nent''。添加一个到你的项目。

将objCmd作为新的SqlCommand(CommandText,objConn)来
C:\ Inetpub \wwwroot \Development>
************************************** ************ *************************

我想念的是什么?

谢谢,

Tom
I am trying to set up a reusable library (business component) that I can
use in a bunch of my pages.

I built the file and it almost compiles, but I am not sure what I am
missing.

The vbc command and results are:

************************************************** **********************
C:\Inetpub\wwwroot\Development>vbc /t:library emailClass.vb
/r:system.web.dll /r:system.data.dll

Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\Inetpub\wwwroot\Development\EmailClass.vb(20) : error BC30456:
''Configuration
Settings'' is not a member of ''Configuration''.

Dim ConnectionString as String
=System.Configuration.ConfigurationSe
ttings.AppSettings("MM_CONNECTION_STRING_ftsolutio ns")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(21) : error BC30007:
Reference requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objConn as New SqlConnection (ConnectionString)
~~~~~~~~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(23) : error BC30007:
Reference requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objCmd as New SqlCommand(CommandText,objConn)
~~~~~~~~~~

C:\Inetpub\wwwroot\Development>
************************************************** *************************

What dlls am I missing?

Thanks,

Tom




Btw,


会话和跟踪需要什么样的dll?我使用相同的vbc线

(添加了system.dll - 工作正常),但添加了几行

引用了我的会话变量以及一对trace.warn

陈述。


谢谢,


汤姆


" tshad" < TS ********** @ ftsolutions.com>在消息中写道

news:eP ************* @ TK2MSFTNGP15.phx.gbl ...
Btw,

What dlls do I need for sessions and trace? I was using the same vbc line
(with system.dll added - that worked fine), but added a couple of lines that
referenced my session variables as well as a couple of trace.warn
statements.

Thanks,

Tom

"tshad" <ts**********@ftsolutions.com> wrote in message
news:eP*************@TK2MSFTNGP15.phx.gbl...
" Juan T. Llibre" ; <无*********** @ nowhere.com>在消息中写道
新闻:et ************** @ TK2MSFTNGP10.phx.gbl ...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:et**************@TK2MSFTNGP10.phx.gbl...
/r:System.dll?
/r:System.dll ?



就是这样。

谢谢,

Tom



That was it.

Thanks,

Tom



Juan T. Llibre
ASP.NET MVP
http:// asp。 net.do/foros/
Foros de ASP.NET en Espa?ol
Ven,y hablemos de ASP.NET ...
======== ==============

" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:e2 ************** @ TK2MSFTNGP12.phx.gbl ...

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"tshad" <ts**********@ftsolutions.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
我正在尝试建立一个可重用的库(业务组件)我可以在我的一些页面中使用。

我构建了文件并且它几乎可以编译,但我不确定我缺少什么。

vbc命令和结果是:

*************************** *********************** ********************** *
C. :\ Inetpub \ www.root \Development> vbc / t:library emailClass.vb
/ r:system.web.dll /r:system.data.dll

Microsoft(R )Visual Basic .NET编译器版本7.10.6001.4
Microsoft(R).NET Framework版本1.1.4322.2032
版权所有(C)Microsoft Corporation 1987-2002。保留所有权利。

C:\Inetpub\wwwroot \ Development @\\ EmailClass.vb(20):错误BC30456:
''配置
设置''是不是''配置'的成员。

Dim ConnectionString as String
= System.Configuration.ConfigurationSe
ttings.AppSettings(" MM_CONNECTION_STRING_ftsolutio ns)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\wwwroot \Development\EmailClass.vb(21):错误BC30007:
参考需要装配''系统''包含基类< br'>''System.ComponentModel.Compo
nent''。在你的项目中添加一个。

将objConn作为新的SqlConnection(ConnectionString)哼~~~~~~~~~~~~~
C:\ Inetpub \ wwwroot \Development\EmailClass.vb(23):错误BC30007:
参考re /
ired to assembly''System''包含基类
''System.ComponentModel.Compo
nent''。添加一个到你的项目。

将objCmd作为新的SqlCommand(CommandText,objConn)来
C:\ Inetpub \wwwroot \Development>
************************************** ************ *************************

我想念的是什么?

谢谢,

Tom
I am trying to set up a reusable library (business component) that I can
use in a bunch of my pages.

I built the file and it almost compiles, but I am not sure what I am
missing.

The vbc command and results are:

************************************************** **********************
C:\Inetpub\wwwroot\Development>vbc /t:library emailClass.vb
/r:system.web.dll /r:system.data.dll

Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\Inetpub\wwwroot\Development\EmailClass.vb(20) : error BC30456:
''Configuration
Settings'' is not a member of ''Configuration''.

Dim ConnectionString as String
=System.Configuration.ConfigurationSe
ttings.AppSettings("MM_CONNECTION_STRING_ftsolutio ns")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(21) : error BC30007:
Reference requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objConn as New SqlConnection (ConnectionString)
~~~~~~~~~~~~~
C:\Inetpub\wwwroot\Development\EmailClass.vb(23) : error BC30007:
Reference requ
ired to assembly ''System'' containing the base class
''System.ComponentModel.Compo
nent''. Add one to your project.

Dim objCmd as New SqlCommand(CommandText,objConn)
~~~~~~~~~~

C:\Inetpub\wwwroot\Development>
************************************************** *************************

What dlls am I missing?

Thanks,

Tom





这篇关于业务组件缺少dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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