I get javascript errors on the Admin side when clicking on some of the buttons. This happens on my test server, but not on my development server. I've used WinMerge to compare the files on the two servers and I don't see any missing files, except for some themes that I'm not using. It could be a configuration on the test server. It's 32 bit Window Server SP2 with IIS 7. I've pasted in the error message from the app.log below. They all have the same
"Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format." message.
2013-11-21 15:13:54,091 ERROR AbleCommerce An error has occured at http://estore2010/Store/Admin/Products/ ... fault.aspx
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Web.UI.WebControls.ImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_products_producttemplates_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\store\f7ac5287\81289c4b\App_Web_301qjfkn.4.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Script Errors on Some Buttons
- MisterMike
- Ensign (ENS)
- Posts: 12
- Joined: Tue Apr 16, 2013 7:37 am
Re: Script Errors on Some Buttons
Microsoft released an update last month for .NET 4.0 which will fix some issues with later browsers and image buttons. You might want to make sure the server has this update - http://support.microsoft.com/kb/2836939/en-us
If you can report back and let us know if this fixes the problem, that would be great.
Thanks
Katie
If you can report back and let us know if this fixes the problem, that would be great.
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Script Errors on Some Buttons
You also might want to look at the following file on the file system to see what that line of code is doing.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\store\f7ac5287\81289c4b\App_Web_301qjfkn.4.cs
I do see the message you are having on numerous sites but is kind of a random thing and when I go to the same page on the site, there is no error. Possible something gets truncated so a variable is read incorrectly. I remember a problem in the past when people had a lot of software installed on their machine - something to do with the request headers, but it might be the IE 10 bug also. Here is a post with the same input string error message.
viewtopic.php?f=42&t=17111&hilit=input+string
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\store\f7ac5287\81289c4b\App_Web_301qjfkn.4.cs
I do see the message you are having on numerous sites but is kind of a random thing and when I go to the same page on the site, there is no error. Possible something gets truncated so a variable is read incorrectly. I remember a problem in the past when people had a lot of software installed on their machine - something to do with the request headers, but it might be the IE 10 bug also. Here is a post with the same input string error message.
viewtopic.php?f=42&t=17111&hilit=input+string
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- MisterMike
- Ensign (ENS)
- Posts: 12
- Joined: Tue Apr 16, 2013 7:37 am
Re: Script Errors on Some Buttons
That server hasn't been updated in over a year. I ran the Windows Update and it looks like the buttons are working now. Thanks for the suggestions everyone!