Asp.NET VB.Net Object reference not set to an instance of an object.

2013 年 3 月 16 日4730

when I try to view in browser, just page says this, and says these

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]



ASP.anasite_default_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) +302



System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109



System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8



System.Web.UI.Control.Render(HtmlTextWriter writer) +10



System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27



System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100



System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25



System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208



System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173



System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31



System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53



System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27



System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100



System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40



System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208



System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8



System.Web.UI.Control.Render(HtmlTextWriter writer) +10



System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27



System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100



System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25



System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208



System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8



System.Web.UI.Page.Render(HtmlTextWriter writer) +29



System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27



System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100



System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25



System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060

0 0