Server Error in '/ripm' 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 668:            '    SessionHandler.DBName = Request("dbName")
Line 669:            'End If
Line 670:            If (Not SessionHandler.DBName.ToString().Contains("1")) Then
Line 671:                'btnSearch.Style("cursor") = "pointer"
Line 672:                'btnSearch.ToolTip = "Disabled"

Source File: C:\inetpub\wwwroot\Ripm\Source\DefaultNew.aspx.vb    Line: 670

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   DefaultNew.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Ripm\Source\DefaultNew.aspx.vb:670
   System.Web.UI.Control.OnLoad(EventArgs e) +131
   System.Web.UI.Control.LoadRecursive() +65
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062