Full Error
Code:
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 291: temp &= ("<td valign=""bottom"" align=""center"" bgcolor=""#EEEEEE"">")
Line 292: Dim ImgWidth As Integer = AppLogic.AppConfigNativeInt("Admin.MultiGalleryImageWidth")
Line 293: temp &= ("<img " & CommonLogic.IIF(ImgWidth <> 0, "width=""" & ImgWidth.ToString() & """", "") & " src=""" & AppLogic.LookupProductImageByNumberAndColor(ProductID, skinID, ThisCustomer.LocaleSetting, Localization.ParseUSInt(ImageNumbersSplit(j)), AppLogic.CleanSizeColorOption(ColorsSplit(i)), TheSize) & """><br/>")
Line 294: temp &= ("<input style=""font-size: 9px;"" type=""file"" name=""Image" & FormFieldID.ToString() & """ size=""24"" value=""""><br/>" & Constants.vbLf)
Line 295: temp &= ("<input type=""checkbox"" name=""Delete_" & FormFieldID.ToString() & """> <small>Delete</small>")
Source File: C:\FTP\nokomis2\Htdocs\ams\EntityProductImageMgr.aspx.vb Line: 293
Stack Trace:
[FormatException: Input string was not in a correct format.]
Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +201
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +66
[InvalidCastException: Conversion from string "" to type 'Integer' is not valid.]
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +246
AspDotNetStorefrontAdmin.EntityProductImageMgr.LoadData() in C:\FTP\nokomis2\Htdocs\ams\EntityProductImageMgr.aspx.vb:293
AspDotNetStorefrontAdmin.EntityProductImageMgr.Page_Load(Object sender, EventArgs e) in C:\FTP\nokomis2\Htdocs\ams\EntityProductImageMgr.aspx.vb:228
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627