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 14:         End If
Line 15: 
Line 16:         If Not wNews.Category Then
Line 17:             ViewState("newsID") = wNews.ElementID.ToString
Line 18:             pnlHistoryBack.Visible = False

Source File: h:\root\home\panostz-001\www\edilingua-it\it-it\Novita.aspx.vb    Line: 16

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   it_it_Novita.Page_LoadComplete(Object sender, EventArgs e) in h:\root\home\panostz-001\www\edilingua-it\it-it\Novita.aspx.vb:16
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +8804482
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +735


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175