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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

后台登录不正常(第一次使用) [复制链接]

1#
Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 48:         {
Line 49:      %>
Line 50:      var Permissions="<%=System.Web.HttpContext.Current.Request.Cookies["master"].Values["Permissions"].ToString()%>";
Line 51:      var LoginName="<%=System.Web.HttpContext.Current.Request.Cookies["Master"].Values["UserName"].ToString()%>";
Line 52:      if(Permissions.indexOf("basic")>=0 || LoginName=="admin")


Source File: d:\www\web\rszj\wwwroot\master\left.aspx    Line: 50

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.master_left_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\www\web\rszj\wwwroot\master\left.aspx:50
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

上传到空间,然后解压后,先安装,再登录,出现上面情况
PageAdmin版本号:V2.1 20090610
分享 转发
TOP
2#

文件是否完整?
TOP
3#

文件应该是完整的,直接下载的最新版本,然后把文件上传到空间再解压
出问题前,不出现登录界面
TOP
4#

检查是否浏览器禁止了cookie
TOP
5#

没禁止,我上传20090210能正常使用,后台登录也正常
上传20090610页面显示也是正常的,就是后台登录左边框和上边框不出现
TOP
6#

可能是服务器缓存吧,重启一下IIS
TOP
7#

重启后还是不能用,找不到原因
TOP
发新话题 回复该主题