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 208:                        Dim _elementID As Integer = Request.QueryString(ManagerRewrite.QuerystringSettore)
Line 209:                        Dim oSettore As Settore = New ManagerSettori().GetSettore(_elementID, LinguaID)
Line 210:                        _PageUrl = oConfig.http_path & oManagerRewriteLoc.GetFamigliaRewrite(oSettore.Rewrite)
Line 211:
Line 212:                    Case Enum_RewriteEntityType.FamigliaDettaglio

Source File: C:\home\site\wwwroot\App_Code\system\PageBaseWeb.vb    Line: 210

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   PageBaseWeb.SetUrlAlternativeLanguage() in C:\home\site\wwwroot\App_Code\system\PageBaseWeb.vb:210
   PageBaseWeb.Page_Init(Object sender, EventArgs e) in C:\home\site\wwwroot\App_Code\system\PageBaseWeb.vb:148
   System.Web.UI.Control.OnInit(EventArgs e) +97
   System.Web.UI.Page.OnInit(EventArgs e) +14
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +416


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