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 |