Error Log full of errors

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Error Log full of errors

Post by draneb » Sat Jul 04, 2009 9:13 am

Hello,

I have a lot of errors in my error log and I can't make them out because they look all weird. Here is a list of the ones currently in my error log.

1. An error has occured at /ScriptResource.axd?d=UOGWKXgwq75mpr-p61eSGd2Mm2eb5a4MWVgzloKvgtSoLdJQ0r6HqVuQ75wjS6DwkMgtE6HxHsFr1Gm_kKeeiwGSgGMmQ4j4crBMF_cU8bQ1&t=75c56e49 This is an invalid script resource request.; Padding is invalid and cannot be removed.

2. An error has occured at /WebResource.axd?d=IFCKvLvryILbb16_fC-BPHKve4ilLdEKcJw34cr728bygYiRUIO2-pEr2INSNnPW0&t=633796564560000000 Padding is invalid and cannot be removed.

3. An error has occured at /ScriptResource.axd?d=TcS1_JL2kbbjDWFrIGFD6ZTAgKQhwoGez6GiONUAb0e2Hg_rzYw_YGpzsR4Rt5gFJUCJK= Invalid viewstate.

4. An error has occured at /WebResource.axd?d=saziHu1_dUdTB3hAoQ07Afg3cSwHKc1idt9AeMGwuZvTpyvKATG6tfKXGZ87VLe1CDaiZNJk5SvZFJxgC_te4zeFfw4gpLP51gqDxCPSNgN4LFO8vCv5D<input name= Invalid viewstate.

5. An error has occured at /ScriptResource.axd?d=4qTGcdPeYLR42pFdcontentLayout Invalid viewstate.

6. An error has occured at /ScriptResource.axd?d=TcS1_JL2kbbjDWFrIGFD6ZTAgKQhwoGez6GiONUAb0e2Hg_rzYw_YGpzsR4Rt5gFJUCJKgbs4zbqpbkn8M4cyRT <div id= Invalid viewstate.

7. A PM Error An error has occured at /ScriptResource.axd?d=TcS1_JL2kbbjDWFrIGFD6ZTAgKQhwoGez6GiONUAb0e2Hg_rzYw_YGpzsR4Rt5gFYUgnRs4fXnel'], [], [], 90);//]]></script> <div id= Invalid viewstate.


There are a lot more too. Does anyone have an idea as to what may be going on?
Thank you..
AC 7.0.3 build 13937

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

Re: Error Log full of errors

Post by jmestep » Sat Jul 04, 2009 10:11 am

It could be a spider or something like HackerSave scanning the site.
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

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Re: Error Log full of errors

Post by afm » Sat Jul 04, 2009 10:39 am

ASP.NET 2.0 and above use the *.axd URL's to identify resources embedded in DLL's. By resources, I mean snippets of javascript (i.e. ScriptResource.axd) and small images such as icons. The querystring at the end of the URL identifies the resource and often some other pieces of information that make caching possible. Unfortunately, when the querystring parameter expires, ASP.NET responds with the error message you see.

The "fix" is to use your robots.txt file to exclude all *.axd URL's. There is nothing in them that you want to index anyway, so you are not losing anything by excluding them.

There are 2 benefits to excluding all *.axd URL's: 1) no more error messages like the ones you posted, and 2) the indexer will spend more time on URL's that do mean something.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: Error Log full of errors

Post by draneb » Sat Jul 04, 2009 11:16 am

Wonderful, thank you!

So I just opened up robots.txt and included a line
Disallow: /*.axd

if that is not correct please let me know. Thanks again.
AC 7.0.3 build 13937

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Re: Error Log full of errors

Post by afm » Sat Jul 04, 2009 11:26 am

That should work for most crawlers. I have read that not every crawler will honor a wildcard in the Disallow. If you still get errors, you may have to list WebResource.axd and ScriptResource.axd explicityly.

You can use Google's "Analyze robots.txt" tool to see what Google will do,

http://www.google.com/webmasters
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Re: Error Log full of errors

Post by draneb » Wed Aug 05, 2009 8:19 am

Hello,

Great... I have listed those files in the robots.txt file.

I am still getting error messages daily. They are showing up in the Admin under the Errors area.

So this is common? There is nothing wrong with the site or pages on the site that I need to worry about?

Thank you.
AC 7.0.3 build 13937

User avatar
troutlet
Lieutenant (LT)
Lieutenant (LT)
Posts: 77
Joined: Mon Sep 24, 2007 3:01 am
Location: USA
Contact:

Re: Error Log full of errors

Post by troutlet » Wed Aug 05, 2009 1:52 pm

I get a lot of them too. As long as they are ScriptResource, or WebResource I do not worry about it. I think it's a cache thing.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Error Log full of errors

Post by Logan Rhodehamel » Wed Aug 05, 2009 5:23 pm

I have a suspicion that setting a machinekey for the application might help reduce some of these errors.

See viewtopic.php?f=42&t=7121#p30026.

If anyone implements this, I would be interested to know whether the frequency of the script resource viewstate errors reduces.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

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

Re: Error Log full of errors

Post by jmestep » Thu Aug 06, 2009 6:26 am

We're getting a lot of errors on a site that is having these problems also:
viewtopic.php?f=42&t=10855&p=51403#p51403
There are a lot of invalid viewstate errors also.
Logan, I can pm you the log if you want it.
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
troutlet
Lieutenant (LT)
Lieutenant (LT)
Posts: 77
Joined: Mon Sep 24, 2007 3:01 am
Location: USA
Contact:

Re: Error Log full of errors

Post by troutlet » Thu Aug 06, 2009 6:47 am

Judy,
I'm one of your sites, if that helps.

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

Re: Error Log full of errors

Post by jmestep » Thu Aug 06, 2009 8:36 am

troutlet-
Our standard installs are done with a generated machinekey put in the web.config as Logan mentioned. That way we don't run into errors if we need to move the site or go with a web farm if your site gets really big.
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

Post Reply