PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

v3.0 2015-4-14版发布及升级说明 [复制链接]

1#

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0117: “PageAdmin.Conn”并不包含“Constr”的定义

源错误:


行 14:  {
行 15:     Conn myconn=new Conn();
行 16:     Conn=new OleDbConnection(myconn.Constr());
行 17:     TheLicense=ConfigurationManager.AppSettings["License"].ToString();
行 18:     if(TheLicense!="")

源文件: d:\freehost\lxiang\web\update.aspx    行: 16


显示详细的编译器输出:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /tbrary /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\9f51cb50\182515f3_5627d101\PageAdmin.Conn.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\e85c1076\0203a3f7_5627d101\PageAdmin.Log.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\a3000317\4e8ad9f2_5627d101\PageAdmin.CommMethod.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\29f0320a\dca1dbf5_5627d101\PageAdmin.Editor.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\996f7fe4\040dcaf6_5627d101\PageAdmin.Html.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\5aff6726\a2fb97f6_5627d101\PageAdmin.Global.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\8ceaa544\c2b756f7_5627d101\PageAdmin.Install.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_global.asax.3tkugy93.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\307fb003\084e49f6_5627d101\PageAdmin.FCKeditor.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\2f08e198\561afff8_5627d101\PageAdmin.Thumbnai.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\0b8f6aa2\76a98cf8_5627d101\PageAdmin.SendMessage.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\43e6d7ab\5ec92ef9_5627d101\PageAdmin.Watermark.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\436ea5db\72d09602_5727d101\PageAdmin.Web.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\4c7af746\043afbf7_5627d101\PageAdmin.Md5.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\assembly\dl3\013108a3\7c2164f8_5627d101\PageAdmin.Pay.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_Web_wtb0c5a4.dll" /debug- /optimize+ /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\wtb0c5a4.res" /w:4 /nowarn:1659;1699;1701  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_Web_wtb0c5a4.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_Web_wtb0c5a4.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_Web_wtb0c5a4.2.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2f54db8d\9ad13d7d\App_Web_wtb0c5a4.3.cs"


Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.3053
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
版权所有(C) Microsoft Corporation 2001-2005。保留所有权利。

warning CS1668: “LIB 环境变量”中指定的搜索路径“C:\Program Files\SQLXML 4.0\bin\”无效 --“拒绝访问。 ”
d:\freehost\lxiang\web\update.aspx(16,37): error CS0117: “PageAdmin.Conn”并不包含“Constr”的定义
d:\freehost\lxiang\web\update.aspx(166,8): warning CS0219: 变量“HasExists”已赋值,但其值从未使用过
d:\freehost\lxiang\web\update.aspx(250,9): warning CS0168: 声明了变量“e”,但从未使用过
d:\freehost\lxiang\web\update.aspx(381,3): warning CS0168: 声明了变量“e”,但从未使用过
d:\freehost\lxiang\web\update.aspx(392,3): warning CS0168: 声明了变量“e”,但从未使用过
d:\freehost\lxiang\web\update.aspx(452,9): warning CS0219: 变量“IsEffective”已赋值,但其值从未使用过
d:\freehost\lxiang\web\update.aspx(517,8): warning CS0219: 变量“Hased”已赋值,但其值从未使用过
d:\freehost\lxiang\web\update.aspx(583,9): warning CS0168: 声明了变量“e”,但从未使用过
分享 转发
TOP
发新话题 回复该主题