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 47: </asp:Content>
Line 48: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Line 49:     <asd:Window Apply="WebBase.Composer.ProductComposer" runat="server">
Line 50:         <div class="wrapBreadcrumb">
Line 51:             <div class="page-width">

Source File: c:\CODE\MayTinhCamTay\Product.aspx    Line: 49

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   WebBase.Composer.ProductComposer.OnInit() in D:\CODE\WebsiteTriPham\MayTinhCamTay\WebBase\Composer\ProductComposer.cs:36
   WebBase.Code.Component.Window.set_Apply(String value) in D:\CODE\WebsiteTriPham\MayTinhCamTay\WebBase\Code\Component\Window.cs:62
   ASP.product_aspx.__BuildControl__control2() in c:\CODE\MayTinhCamTay\Product.aspx:49
   ASP.product_aspx.__BuildControlBodyContent(Control __ctrl) in c:\CODE\MayTinhCamTay\Product.aspx:48
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.template_site_master.__BuildControlMainContent() in c:\CODE\MayTinhCamTay\Template\Site.Master:97
   ASP.template_site_master.__BuildControlpageMain() in c:\CODE\MayTinhCamTay\Template\Site.Master:47
   ASP.template_site_master.__BuildControlTree(template_site_master __ctrl) in c:\CODE\MayTinhCamTay\Template\Site.Master:1
   ASP.template_site_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f7002ab5\39060826\App_Web_303trvvf.1.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +37
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +697
   System.Web.UI.Page.get_Master() +56
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +302


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