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 1:  <%@ control language="C#" autoeventwireup="true" inherits="OpenWeb.display.advertising.u_advertising_dynamic_position_defaultstyle, App_Web_iuwjymn2" %>
Line 2:  <%--<%=INGACMS.classes.Advertisings.LoadAdvertisingsV3(OpenWebCommunity.CustomTemplates.CurrentLanguage, Position, "list","advitem","","item")%>--%>
Line 3:  <%=Advertisings.LoadAdvertisingsV3(OpenWebCommunity.CustomTemplates.CurrentLanguage, Position, "list","advitemtops","topad","itemtops") %>

Source File: c:\HostingSpace\pinka\pinpka.vn\pinpka.vn\wwwroot\cms\display\utilities\advs\dynamic\u_advertising_dynamic_position_defaultstyle_tops.ascx    Line: 3

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Advertisings._LoadAdvertisingsV3(Int32 icid, String type) +350
   Advertisings.LoadAdvertisingsV3(String lang, String positionkey, String displaytype, String containercss, String itemcontainercss, String itemcss) +528
   ASP.cms_display_utilities_advs_dynamic_u_advertising_dynamic_position_defaultstyle_tops_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpace\pinka\pinpka.vn\pinpka.vn\wwwroot\cms\display\utilities\advs\dynamic\u_advertising_dynamic_position_defaultstyle_tops.ascx:3
   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.cms_display_templates_templates_default_u_template_display_default_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpace\pinka\pinpka.vn\pinpka.vn\wwwroot\cms\display\templates\templates\default\u_template_display_default.ascx:70
   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.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11662590
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +46
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +52
   ASP.index_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpace\pinka\pinpka.vn\pinpka.vn\wwwroot\index.aspx:118
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   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.4700.0