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 16:         Dim prevPage As String = String.Empty
Line 17:         If (Not IsPostBack) Then
Line 18:             prevPage = Request.UrlReferrer.ToString()
Line 19:         End If
Line 20:         If Request.QueryString("ur") = "yy" Then

Source File: C:\vhosts\gurmukhifontconverter.com\httpdocs\asp_code\_login_guest.aspx    Line: 18

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.asp_code__login_guest_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in C:\vhosts\gurmukhifontconverter.com\httpdocs\asp_code\_login_guest.aspx:18
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11835080
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +46
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +49
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8752


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