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 200:                    sDescription = Left(sDescription, 170)
Line 201:                    While Right(sDescription, 1) <> " "
Line 202:                        sDescription = Left(sDescription, Len(sDescription) - 1)
Line 203:                    End While
Line 204:                    If Mid(sDescription, Len(sDescription) - 1, 1) = "." Then

Source File: C:\Inetpub\vhosts\hotvsnot.com\httpdocs\handle.aspx    Line: 202

Stack Trace:


[ArgumentException: Argument 'Length' must be greater or equal to zero.]
   Microsoft.VisualBasic.Strings.Left(String str, Int32 Length) +150647
   ASP.handle_aspx.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\hotvsnot.com\httpdocs\handle.aspx:202
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


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