This is an invalid webresource request

12 posts, 0 answers
  1. bharat kumar
    bharat kumar avatar
    53 posts
    Member since:
    Jan 2010

    Posted 08 Sep 2010 Link to this post


    Hi,

    i am getting the below error in my application randomly and i dont know the reason ....

    could you please help...

    Error Caught in Application_Error event
    Error in: http://aassdotnet/WebResource.axd?d=5YkmbJ6uEizMAdUejomAO0-QZB3R3KnB1B0M1kT1XqT30uD_24tkGqrLnvDxC1-PiOYKhJvv1FR8_DBSuRpDrQ2&t=634036585340000000
    Error Message:This is an invalid webresource request.
    Stack Trace:   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)

    waiting for your reply...
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 08 Sep 2010 Link to this post

    Hello Bharat,

    Based on the supplied information, it is hard to determine what is causing this error. It will be very helpful if you could send us small runnable application which demonstrates the described issue. We will test it locally and advise you further.

    Regards,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. bharat kumar
    bharat kumar avatar
    53 posts
    Member since:
    Jan 2010

    Posted 08 Sep 2010 Link to this post

    sorry but this issue is something which is coming randomly..there is no specific steps to reproduce it..and it comes ones in last 4-5 days which my manager reported me.
    the application is too big to send and there is no specific page or dll which i think causing this problem.
    also i saw on terelik forums and this issue was with others users also but there is no answer for this.

    please help.
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 09 Sep 2010 Link to this post

    Hello Bharat,

    Can you please provide a bit more information about your scenario and implementation? Which controls are used, what is the exact error you are getting and when? 

    Regards,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Flores
    Flores avatar
    8 posts
    Member since:
    Sep 2008

    Posted 12 Oct 2010 Link to this post

    I'm having the same issue.. happens ramdomly can't pinpoint it for now
  6. Flores
    Flores avatar
    8 posts
    Member since:
    Sep 2008

    Posted 12 Oct 2010 Link to this post

    I'm working with a IIS cluster.. and probably this is the problem:

    http://blogs.telerik.com/hristodeshev/posts/07-03-26/debugging_asp_net_2_0_web_resources_decrypting_the_url_and_getting_the_resource_name.aspx

    The machine keys in the cluster must be the same.
  7. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 15 Oct 2010 Link to this post

    Hi Flores,

    Can you tell us if this blog post helped you to solve the problem?

    Best wishes,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Flores
    Flores avatar
    8 posts
    Member since:
    Sep 2008

    Posted 15 Oct 2010 Link to this post

    Yes, it did.

    Turned out that that at server level the machine key was set, but because the default .NET version was 2.0 this did not affect the 4.0 site that I was using.

    Setting the machine key the same at both nodes at site level solved the problem.
  9. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 21 Oct 2010 Link to this post

    Hi Flores,

    I am glad everything is fine. Please do not hesitate to let us know if you have further questions.

    Regards,
    Pavlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. mac
    mac avatar
    137 posts
    Member since:
    May 2008

    Posted 29 Oct 2010 Link to this post

    Hi Flores
    Can you explain a bit further on what you meant by setting the machine key to be the same at both nodes? My understanding of .net machine.config is shaky. Can you explain exactly what you did to solve the issue?
    for eg. I have my application machine key set in my root web.config.
    in the Framework\v2.0.50727\CONFIG path there are multiple .config files... should we be setting our machine key to match that?
    Any help you can give would be apprectiated. I am being bombarded with webresource.axd errors.

    mac
  11. Flores
    Flores avatar
    8 posts
    Member since:
    Sep 2008

    Posted 29 Oct 2010 Link to this post

    It could only be a problem if you are using a load balancing cluster, are you using multiple nodes?

    If so, you want the machine key to be the same on all the machines in the cluster. It does not matter if you do that in the web.config or the machine.config

Back to Top