Page 1 of 1
Error log file with same issue
Posted: Sun Sep 20, 2009 9:38 pm
by gio50000
I'm getting tons of this error, "An error has occured at
http://www.mysite.com/ScriptResource.ax ... 0111293238".
The debug data says, "This is an invalid script resource request.; Padding is invalid and cannot be removed."
Any idea on how I can resolve this?
Thanks,
Gio
Re: Error log file with same issue
Posted: Mon Sep 21, 2009 6:13 pm
by gio50000
Any help would be appreciated.
Thanks,
Gio
Re: Error log file with same issue
Posted: Tue Sep 22, 2009 3:50 am
by jmestep
There are posts on the forum about it, but it's basically an error that can be ignored.
Re: Error log file with same issue
Posted: Tue Sep 22, 2009 8:02 am
by igavemybest
There is a reason for this, most likely only 2 reasons, but it is not the fault of AbleCommerce. The "Padding is invalid and cannot be removed" error is probably being caused by the users session expiring and then the browser is loading a cached version of the page, but is still requesting the script resource referenced in the cached page from the server. Alternatively, I am assuming you are not on a dedicated server, so you need to set the "machinekey" in your web.config file, which will also fix/prevent other errors including this one. Here is a generator:
http://aspnetresources.com/tools/keycreator.aspx
Paste it on the line right before this "</system.web>"
What is MachineKey you ask? Most of the things you do in asp.net are encrypted, things like roles cookies, viewstate, etc. If you are on shared hosting, these errors can happen if your site is spread across more than one machine, so you need to set the "machinekey" manually for your app. That should fix your errors! Let us know in case other search for the same thing in the future

Re: Error log file with same issue
Posted: Thu Oct 15, 2009 4:12 am
by mazhar
Please read discussion in following bug report. You can also apply patch for your 7.0.3 store from this bug report
http://bugs.ablecommerce.com/show_bug.cgi?id=8285