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 133:        End If
Line 134:
Line 135:        BlogPage = Request("BlogPage")
Line 136:        BlogCategoryAlias = Core.ProtectParam(Request("BlogCategoryAlias"))
Line 137:        BlogPostYear = Core.ProtectParam(Request("BlogPostYear"))

Source File: F:\Inetpub\wwwroot\rosie.com\web\modules\Blog.ascx.vb    Line: 135

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +211
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +84

[InvalidCastException: Conversion from string "" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +238
   BlogCtrl.Page_Load(Object sender, EventArgs e) in F:\Inetpub\wwwroot\rosie.com\web\modules\Blog.ascx.vb:135
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


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