#62008/7/28 16:43:58
点5D博客首页上边的“我的博客”里边的“写日志”,出现以下内容的网页:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.
Source Error:
Line 496: endindex = temp.IndexOf(endkey);
Line 497:
Line 498: intclass = Convert.ToInt32(temp.Substring(beginindex + beginkey.Length, endindex - (beginkey.Length + beginindex)));
Line 499:
Line 500: beginkey = "<!-- EditMode_Begin -->\r";
Source file: e:\WebSite\5D_Blog\ctrl\BlogPost.aspx.cs Line: 498
Stack Trace:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112
System.Convert.ToInt32(String value) +68
useradmin_blogpost.ReadSave(Int32 intUser) in e:\WebSite\5D_Blog\ctrl\BlogPost.aspx.cs:498
useradmin_blogpost.Page_Load(Object sender, EventArgs e) in e:\WebSite\5D_Blog\ctrl\BlogPost.aspx.cs:32
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
曾经沧海亦未老,
有缘到此皆为朋。