Server Error in '/' Application.

Unhandled Execution Error

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.ApplicationException:

Source Error:


Line 120:            If Len(CategoryId) > 10 Then
Line 121:                Throw New ApplicationException("")
Line 122:            End If
Line 123:        Else
Line 124:            CategoryId = "7656"

Source File: C:\inetpub\server\web\YELLOWPAGESOFELECTRICIANS.COM\search1.aspx.vb    Line: 122

Stack Trace:


[ApplicationException]
   search1.DataBind1() in C:\inetpub\server\web\YELLOWPAGESOFELECTRICIANS.COM\search1.aspx.vb:122
   search1.Page_Load(Object Sender, EventArgs E) in C:\inetpub\server\web\YELLOWPAGESOFELECTRICIANS.COM\search1.aspx.vb:46
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.8762