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 21: 
Line 22:         If Not Page.IsPostBack Then
Line 23:             If Not Request.Form("zip").Length > 4 Then
Line 24:                 noResults.Text = "<p>Please try your search again using a valid zip code</p>"
Line 25:                 noResults.Visible = True

Source File: D:\Webroot\wisdompanel\mixed_breed_analysis\Vet_Locator\results.aspx.vb    Line: 23

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   mixed_breed_analysis_Vet_Locator_results.Page_PreRender(Object sender, EventArgs e) in D:\Webroot\wisdompanel\mixed_breed_analysis\Vet_Locator\results.aspx.vb:23
   System.Web.UI.Control.OnPreRender(EventArgs e) +2117788
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041


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