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 3:  		Dim strURLReferrer As Uri
Line 4:  		strURLReferrer = Request.UrlReferrer
Line 5:  		Response.Redirect(strURLReferrer.ToString)
Line 6:  	End Sub
Line 7:  </script>

Source File: D:\HTDOCS\MassDevelopment\custom\custom.aspx    Line: 5

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.custom_aspx.Page_Load() in D:\HTDOCS\MassDevelopment\custom\custom.aspx:5
   System.Web.Util.ArglessEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +10
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407