Invalid script resource

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/16/2009 4:09:56 PM
Gravatar
Total Posts 64
Gerry Roston gerry (at) pairofdocs (dot) net

Invalid script resource

I have been getting a fairly large number of errors of the type 'invalid script resource'. Here is an example:

2009-12-16 16:57:20,163 ERROR mojoPortal.Web.Global - 124.115.0.166-zh-CN - /ScriptResource.axd

System.Web.HttpException: This is an invalid script resource request.

at System.Web.Handlers.ScriptResourceHandler.Throw404()

at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)

at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)

at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)

at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

It is possible that this particular IP address is from a botnet (as suggested by some google searching). However, there are a few other IP addresses which cause the same problem. Is this a possible bug in my site or is someone trying to break in? I am not aware of any pages which are not behaving properly.

Thanks.

12/17/2009 1:32:23 PM
Gravatar
Total Posts 18439

Re: Invalid script resource

Hi Gerry,

One day about a week or so ago I started seeing these in my logs over and over every few minutes from a range of ip addresses, it is a bad request, I mean if you enter the url in the browser http://yoursiteroot/ScriptResource.axd it will create and log an error.

What I did was open a text file and make a sequential list of all the ip addresses I saw causing this error, I kept my eye on the log off and on through the day and whenever I saw a new ip with that error I added it to the list, they were all in a specific range, after I was pretty sure I had them all listed I went through and banned them 1 by 1 because this is not normal traffic and it is coming from China. It is not doing any harm other than being a nuisance but I figure its better to ban them than to let them keep going logging these errors like clockwork. I figure if they get an access denied response for long enough they will eventually give up and leave me alone.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.