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 21: 
Line 22: 		Dim nIdUtente As Integer = n2Int(Session("idUtente"))
Line 23: 		Dim lAccesso As Boolean = UtentiGruppo(nIdUtente, sErrore) <= nw.Gruppo
Line 24: 
Line 25: 		If Not lAccesso Then

Source File: D:\inetpub\webs\bnasenioresit\EventiDettaglio.aspx.vb    Line: 23

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   EventiDettaglio.Page_Init(Object sender, EventArgs e) in D:\inetpub\webs\bnasenioresit\EventiDettaglio.aspx.vb:23
   System.Web.UI.Control.OnInit(EventArgs e) +91
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +385
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1187


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