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 8:                  <div class="col-sm-12">
Line 9:                      <div class="heading-text">
Line 10:                         <h1 class="entry-title"><%= tag.Name %></h1>
Line 11:                     </div>
Line 12:                     <ol class="breadcrumb">

Source File: c:\Website\TuanSon\TruyenAudio\hemtruyenma.info\Controls\ProductTag.ascx    Line: 10

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.controls_producttag_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Website\TuanSon\TruyenAudio\hemtruyenma.info\Controls\ProductTag.ascx:10
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   ASP.main_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Website\TuanSon\TruyenAudio\hemtruyenma.info\Main.master:41
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4238


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4682.0