| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1179 人关注过本帖
标题:请问以下错误提示什么意思?
只看楼主 加入收藏
bigbaby2008
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-3-3
收藏
 问题点数:0 回复次数:1 
请问以下错误提示什么意思?
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'dsCatalogs' is not declared.

Source Error:

Line 292:  <![endif]>
Line 293: </tr>
Line 294: <%# dsCatalogs.FieldValue("name", Container) %>
Line 295: <tr style='mso-yfti-irow:3'>
Line 296:  <td style='padding:.75pt .75pt .75pt .75pt'>


Source File: c:\inetpub\wwwroot\mysite2\5-001-y.aspx    Line: 294


Show Detailed Compiler Output:

C:\WINDOWS\system32> "C:\WINDOWS\\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\\Framework\v2.0.50727\Temporary Files\root\26676eb7\92c7e946\assembly\dl3\38fa6148\001af7fa_bec2c501\DreamweaverCtrls.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /out:"C:\WINDOWS\\Framework\v2.0.50727\Temporary Files\root\26676eb7\92c7e946\App_Web_wpgggbsa.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:\WINDOWS\\Framework\v2.0.50727\Temporary Files\root\26676eb7\92c7e946\App_Web_wpgggbsa.0.vb" "C:\WINDOWS\\Framework\v2.0.50727\Temporary Files\root\26676eb7\92c7e946\App_Web_wpgggbsa.1.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.832
for Microsoft (R) .NET Framework version 2.0.50727.832
Copyright (c) Microsoft Corporation.  All rights reserved.

c:\inetpub\wwwroot\mysite2\5-001-y.aspx(3) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

            dataBindingExpressionBuilderTarget.DatabaseType = System.Convert.ToString( System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_link1") , System.Globalization.CultureInfo.CurrentCulture)
                                                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                       
c:\inetpub\wwwroot\mysite2\5-001-y.aspx(3) : warning BC40000: 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

            dataBindingExpressionBuilderTarget.ConnectionString = System.Convert.ToString( System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_link1") , System.Globalization.CultureInfo.CurrentCulture)
                                                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                 
c:\inetpub\wwwroot\mysite2\5-001-y.aspx(294) : error BC30451: Name 'dsCatalogs' is not declared.

            target.SetDataBoundString(3, System.Convert.ToString(dsCatalogs.FieldValue("name", Container), System.Globalization.CultureInfo.CurrentCulture))
                                                                 ~~~~~~~~~~                                                                                 



Version Information: Microsoft .NET Framework Version:2.0.50727.832; Version:2.0.50727.832
搜索更多相关主题的帖子: 意思 提示 
2008-03-04 12:49
川流不息
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:2000
专家分:47
注 册:2006-11-8
收藏
得分:0 
dsCatalogs.FieldValue("name", Container),   我的猜测是,你的这个dsCatalogs没有这个:name的字段.

日月更替,天地輪回,人間已是幾回春。 江山不老,人正少年,只手能擎半邊天。
2008-03-05 11:11
快速回复:请问以下错误提示什么意思?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016859 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved