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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

登陆后台出错 [复制链接]

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

编译器错误消息: BC30081: “If”必须以匹配的“End If”结束。

源错误:

 
行 3:  <head>行 4:  <title>pageadmin v3.0管理后台</title>行 5:  </head><%if(Request.Cookies["master"]!=null){%>行 6:  <frameset  cols="140,*" framespacing="0" border="0"  id="leftmenu" name="leftmenu" >行 7:      <frame src="left.aspx" id="left" name="left" scrolling="auto" noresize frameborder=no marginwidth=0 marginheight=0>

源文件: d:\freehost\cfdetw\web\e\guanli\index.aspx    行: 5

c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /tbrary /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\7b935347\26e6782c_50e7ce01\PageAdmin.Log.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\13139397\22c22ef3_9b32cf01\PageAdmin.Web.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /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.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\eb1641d9\dc686930_50e7ce01\PageAdmin.Watermark.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\6a34fd1a\088e432d_50e7ce01\PageAdmin.Md5.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\1efbaf85\786c1a2b_50e7ce01\PageAdmin.Global.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\512c9cd4\7a9376f0_9b32cf01\PageAdmin.FCKeditor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\8e61805f\72a80730_50e7ce01\PageAdmin.Thumbnai.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\83702c74\48602331_50e7ce01\PageAdmin.Conn.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\c4b544d5\742b9b2b_50e7ce01\PageAdmin.Html.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.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\a0af4bca\9e4f7627\assembly\dl3\d97a5c08\308fd3f0_9b32cf01\PageAdmin.Install.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\assembly\dl3\bde6c49d\bcacaa2f_50e7ce01\PageAdmin.Pay.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\App_Web_index.aspx.39abd255.malmfaa5.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\knsktrtt.res" /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\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\App_Web_index.aspx.39abd255.malmfaa5.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0af4bca\9e4f7627\App_Web_index.aspx.39abd255.malmfaa5.1.vb"


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

d:\freehost\cfdetw\web\e\guanli\index.aspx(5) : error BC30081: “If”必须以匹配的“End If”结束。

         if(Request.Cookies["master"]!=null){
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:\freehost\cfdetw\web\e\guanli\index.aspx(5) : error BC30311: 类型“System.Web.HttpCookieCollection”的值无法转换为“Boolean”。

         if(Request.Cookies["master"]!=null){
           ~~~~~~~~~~~~~~~~                  
d:\freehost\cfdetw\web\e\guanli\index.aspx(5) : error BC30203: 应为标识符。

         if(Request.Cookies["master"]!=null){
                            ~                
d:\freehost\cfdetw\web\e\guanli\index.aspx(16) : error BC30035: 语法错误。

             }else{
             ~    
d:\freehost\cfdetw\web\e\guanli\index.aspx(19) : error BC30035: 语法错误。

                 }
                 ~

分享 转发
TOP
2#

是 配置文件 web.config 问题,已经解决
TOP
发新话题 回复该主题