We have been getting several exception emails sent from ELMAH in our web application since we applied the security patch for ASP.NET on Friday night. I have confirmed that both the servers in our web farm have the exact patch applied. The servers are Windows
Server 2008 R2 with .net 3.5 sp1 (default install)
Here is one of the emails that we receive from Elmah (the end-user doesn’t see any error). We are getting an error almost every minute. I couldn’t find anything regarding this on the forums. Please let me know how to resolve this.
System.Web.HttpException: This is an invalid webresource request.
Generated: Mon, 04 Oct 2010 17:53:28 GMT
System.Web.HttpException: This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.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)
We have the same problem since a couple days. We also applied the patch. Our logger has some additional information, see below. We receive these error multiple IP's, and both IE6 and IE8
Exception: This is an invalid script resource request.
My guess is that those are browsers that have cached pages in their client-cache and are re-validating the scriptresource/webresource content. You'll see this for a short period - after which your users client side caches will be up to date. If you
are still seeing this for awhile send me email (scottgu@microsoft.com) and we can help.
Thanks,
Scott
---- and an other comment of Scott
That is probably to be expected. It is likely search engine traffic that was accessing your webresource.axd and scriptresource.axd handlers before failing when they try to request old cached versions. You will see this for awhile until they switch
to the new URLs. If you check your logs my guess is that most of the requests are coming from the same IP address (which is either Google or Bing).
Note that the content coming from these resource handlers isn't really indexable - so it shouldn't impact your SEO driven traffic (since they weren't really user links to begin with).
I'm also still receiving these errors after a couple of days. The are coming in batches: 30 a minute, but sometime I don't receive anything for 2 hours. .. ... it looks like that indeed only 'older cached requests' are causing this behavior. I will monitor
our logging for a couple more days. Without a decreased number of error I will comment at Scott Guthries blog again.
If you can't wait that long, post a comment by yourself and update this thread if you have a response from Scott/Microsoft.
pratikkothar...
0 Points
3 Posts
invalid webresource request
Oct 04, 2010 06:14 PM|LINK
We have been getting several exception emails sent from ELMAH in our web application since we applied the security patch for ASP.NET on Friday night. I have confirmed that both the servers in our web farm have the exact patch applied. The servers are Windows Server 2008 R2 with .net 3.5 sp1 (default install)
Here is one of the emails that we receive from Elmah (the end-user doesn’t see any error). We are getting an error almost every minute. I couldn’t find anything regarding this on the forums. Please let me know how to resolve this.
System.Web.HttpException: This is an invalid webresource request.
Generated: Mon, 04 Oct 2010 17:53:28 GMT
System.Web.HttpException: This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.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)
security webresource request
Markuz
Member
72 Points
16 Posts
Re: invalid webresource request
Oct 05, 2010 03:03 PM|LINK
Hi,
We have the same problem since a couple days. We also applied the patch. Our logger has some additional information, see below. We receive these error multiple IP's, and both IE6 and IE8
Exception: This is an invalid script resource request.
Url: xxxx/ScriptResource.axd?d=V8Vg3g6jKsedS_tFtqy86Z8j23_bCBcY4T_mT3ArOm4TCscC5steo29iBCC9zQdIdbc9aiwXj8UYpsS5oBMTytQfVAmTdXQR6Ti_eCN8ble> </div> <div class=
User: 200072805 @ 195.73.xxx.xxx, UserAgent=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)
Details:
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
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)
And another variant
Exception: This is an invalid webresource request.
Url: xxxxx/WebResource.axd?d=odUw0V7wDqM6iCN6sA_qUA2&t=633416046121406250
User: 159.xxx.xxx.xxx, UserAgent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Details:
System.Web.HttpException: This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.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)
How knows what's going on??
Mark
Markuz
Member
72 Points
16 Posts
Re: invalid webresource request
Oct 06, 2010 06:47 AM|LINK
Message from Scott Guthrie (Microsoft)
My guess is that those are browsers that have cached pages in their client-cache and are re-validating the scriptresource/webresource content. You'll see this for a short period - after which your users client side caches will be up to date. If you are still seeing this for awhile send me email (scottgu@microsoft.com) and we can help.
Thanks,
Scott
---- and an other comment of Scott
That is probably to be expected. It is likely search engine traffic that was accessing your webresource.axd and scriptresource.axd handlers before failing when they try to request old cached versions. You will see this for awhile until they switch to the new URLs. If you check your logs my guess is that most of the requests are coming from the same IP address (which is either Google or Bing).
Note that the content coming from these resource handlers isn't really indexable - so it shouldn't impact your SEO driven traffic (since they weren't really user links to begin with).
Scottie2Win
Member
2 Points
1 Post
Re: invalid webresource request
Oct 07, 2010 04:16 PM|LINK
Is there a way to get the browser(s) to update faster.
We have been getting thousands of these after the patch was applied today.
Thanks,
Scott
Markuz
Member
72 Points
16 Posts
Re: invalid webresource request
Oct 07, 2010 05:24 PM|LINK
I'm also still receiving these errors after a couple of days. The are coming in batches: 30 a minute, but sometime I don't receive anything for 2 hours. .. ... it looks like that indeed only 'older cached requests' are causing this behavior. I will monitor our logging for a couple more days. Without a decreased number of error I will comment at Scott Guthries blog again.
If you can't wait that long, post a comment by yourself and update this thread if you have a response from Scott/Microsoft.
Markuz