Error log file with same issue

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
gio50000
Commander (CMDR)
Commander (CMDR)
Posts: 123
Joined: Mon Feb 18, 2008 12:51 pm
Location: Orlando, FL
Contact:

Error log file with same issue

Post by gio50000 » Sun Sep 20, 2009 9:38 pm

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
Thank you,
Gio

User avatar
gio50000
Commander (CMDR)
Commander (CMDR)
Posts: 123
Joined: Mon Feb 18, 2008 12:51 pm
Location: Orlando, FL
Contact:

Re: Error log file with same issue

Post by gio50000 » Mon Sep 21, 2009 6:13 pm

Any help would be appreciated.

Thanks,
Gio

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Error log file with same issue

Post by jmestep » Tue Sep 22, 2009 3:50 am

There are posts on the forum about it, but it's basically an error that can be ignored.
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

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Error log file with same issue

Post by igavemybest » Tue Sep 22, 2009 8:02 am

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 :)

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Error log file with same issue

Post by mazhar » Thu Oct 15, 2009 4:12 am

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

Post Reply