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 54: 
Line 55:                 If Body.Length > 300 Then
Line 56:                     Body = Left(Body, Body.IndexOf(" ", 300)) & " [...]"
Line 57:                 End If
Line 58: 

Source File: F:\inetpub\wwwroot\nwcemss.org\web\masterpages\rss\newsrss.aspx.vb    Line: 56

Stack Trace:


[ArgumentException: Argument 'Length' must be greater or equal to zero.]
   Microsoft.VisualBasic.Strings.Left(String str, Int32 Length) +723284
   news_rss.Page_Load(Object sender, EventArgs e) in F:\inetpub\wwwroot\nwcemss.org\web\masterpages\rss\newsrss.aspx.vb:56
   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.9061; ASP.NET Version:2.0.50727.9062