Server Error in '/octopus' 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 132:int idBrand	= 0; if(null != Request.QueryString["cb"] && !Request.QueryString["cb"].Equals("")) idBrand = Convert.ToInt32(Request.QueryString["cb"]);
Line 133:int codMenu1st = 0; if(null != Request.QueryString["cm1"] && !Request.QueryString["cm1"].Equals(""))codMenu1st=Convert.ToInt32(Request.QueryString["cm1"]);
Line 134:int codMenu2nd = 0; if(null != Request.QueryString["cm2"] && !Request.QueryString["cm2"].Equals(""))codMenu2nd=Convert.ToInt32(Request.QueryString["cm2"]);
Line 135:int codMenu3rd = 0; if(null != Request.QueryString["cm3"] && !Request.QueryString["cm3"].Equals(""))codMenu3rd=Convert.ToInt32(Request.QueryString["cm3"]);
Line 136:

Source File: c:\octopus\http\current\dsp_system.aspx    Line: 134

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14784004
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +172
   System.Convert.ToInt32(String value) +60
   ASP.dsp_system_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\octopus\http\current\dsp_system.aspx:134
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0