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 7:  <script runat="server">
Line 8:      Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
Line 9:          MyBase.OnInit(e)
Line 10:        If iscache Then
Line 11:            Exit Sub

Source File: D:\www\travels\show.aspx    Line: 9

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   TourEx.Web._travels_show.ShowPage() +118
   TourEx.Pages.BasePage.OnInit(EventArgs e) +49
   ASP.travels_show_aspx.OnInit(EventArgs e) in D:\www\travels\show.aspx:9
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


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