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 51: 			HtmlMeta metaTag1 = new HtmlMeta();
Line 52: 			metaTag1.Attributes.Add("property", "og:image");
Line 53: 			metaTag1.Content = domain + newsBO.Picture;
Line 54: 			this.Header.Controls.Add(metaTag1);
Line 55: 			HtmlMeta metaTag2 = new HtmlMeta();

Source File: c:\inetpub\vhosts\vietbis.vn\httpdocs\Default.aspx    Line: 53

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.default_aspx.OnPreLoad(EventArgs e) in c:\inetpub\vhosts\vietbis.vn\httpdocs\Default.aspx:53
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +605


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