"System.Web.HttpException (0x80004005): This is an invalid webresource request" Exception!

0 Answers 19 Views
Ajax AjaxPanel Editor General Discussions Grid Security
Birender
Top achievements
Rank 1
Birender asked on 26 Jul 2022, 06:01 PM

Hi,

I'm getting the following exception multiple time throughout the application in error log and the exception generates randomly while accessing any page in the application. It's  pretty much difficult to identify the exact reason for exception occurrence as the application is vast to debug in depth. Also, I'm using Telerik Control as well as Telerik Reporting in multiple place in the application.

EXCEPTION URL :

https://abp.roc-p.com:443/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZFJTiB1HaFtaGUfEvk469M0Ahcb1VPA81p1stPBulIctJXoc9_fThOXkBpob-_Dmsw2%29%20WAITFOR%20DELAY%20%270%3A0%3A5%27%20AND%20%284423%3D4423&t=637453852754849868

EXCEPTION MESSAGE :

System.Web.HttpException (0x80004005): 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.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Can anyone please provide all the possible reason behind this exception along with its step to resolve. Any help will be highly appreciated!

NOTE :

I have already visited multiple page in the forum those have similar issue but the solutions provided were specific to their script attached. Here, I'm not sure about the script which causes this exception randomly. I need to try all possible solution to get this issue resolve.

 

Rumen
Telerik team
commented on 27 Jul 2022, 07:14 AM

Hi Birender,

This is most likely a cached URL for web resource generated by the asp:ScriptManager, which is made invalid when the IIS pool is being recycled. 

The available options here are:

  • ignore the error
  • increase the time between the application recycling
  • recycle only in the small hours during the night when the traffic is insignificant
  • reduce the use of web resources by enabling CDN for the native ASP.NET WebForms and Telerik resources.

    On a side note, the problem might not be directly related to the Telerik components since in the stack trace of the error log there isn't anything related to Telerik :

System.Web.HttpException (0x80004005): 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.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

No answers yet. Maybe you can help?

Tags
Ajax AjaxPanel Editor General Discussions Grid Security
Asked by
Birender
Top achievements
Rank 1
Share this question
or