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 27:                 //strQr = "gioi-thieu-futu1";
Line 28:                 objNew = News.GetByRewrite(strQr);
Line 29:                 Page.Title = objNew.Title;
Line 30:                 strNewTitle = objNew.Title; 
Line 31:                 updateViewTotal(objNew.News_id);

Source File: c:\Sites\futu1.com.vn\new-other-details.aspx.cs    Line: 29

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   new_other_details.Page_Load(Object sender, EventArgs e) in c:\Sites\futu1.com.vn\new-other-details.aspx.cs:29
   System.Web.UI.Control.LoadRecursive() +70
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177


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