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 82:                 ElseIf sTaal = "nl" Then
Line 83:                     Dim oPage As clsPage = clsPageDA.getItemById(Request.QueryString("id"))
Line 84:                     Dim oVertaalPage As clsPage = clsPageDA.getItemById(oPage.VertaalID)
Line 85:                     If Not IsNothing(oVertaalPage) Then
Line 86:                         lnkTaal.HRef = clsFuncties.getWebConfigKey("url") & "/" & sVertaalTaal & "/" & oVertaalPage.Url

Source File: D:\Websites\www.itb-info.be\http\MasterPage.master.vb    Line: 84

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   MasterPage.Page_Load(Object sender, EventArgs e) in D:\Websites\www.itb-info.be\http\MasterPage.master.vb:84
   System.Web.UI.Control.OnLoad(EventArgs e) +131
   System.Web.UI.Control.LoadRecursive() +65
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427


Version Information: Microsoft .NET Framework Version:2.0.50727.8810; ASP.NET Version:2.0.50727.8745