Server Error in '/' Application.

Argument 'Length' must be greater or equal to zero.

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.ArgumentException: Argument 'Length' must be greater or equal to zero.

Source Error:


Line 443:					dim item_lat,item_long,item_point as string
Line 444:					item_point = objDR("bus_point")
Line 445:					item_long = left(item_point,item_point.indexof(","))
Line 446:					item_lat = item_point.substring(item_point.indexof(",")+1,item_point.indexof(",0")-item_point.indexof(",")-1)
Line 447:

Source File: C:\sites\ebrandon\business.aspx    Line: 445

Stack Trace:


[ArgumentException: Argument 'Length' must be greater or equal to zero.]
   Microsoft.VisualBasic.Strings.Left(String str, Int32 Length) +723348
   ASP.business_aspx.PopulateBusinessInfo() in C:\sites\ebrandon\business.aspx:445
   ASP.business_aspx.Page_Load(Object obj, EventArgs e) in C:\sites\ebrandon\business.aspx:139
   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.8793; ASP.NET Version:2.0.50727.8762