This is a migrated thread and some comments may be shown as answers.

"This is an invalid webresource request" Exception!

50 Answers 1433 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 2
Eric asked on 24 Jun 2010, 02:19 PM
Hi,

Since I upgraded my solution to ASP.NET 4 (webforms) and to Telerik RadControls 2010.1.519.40, I keep getting the following exception every time there is a new request to the server:
Exception ID:   0 
From:   System.Web 
Time of Error:  6/23/2010 6:42:06 PM 
Exception Type: System.Web.HttpException 
Exception Message:  This is an invalid webresource request. 
Exception Source:   System.Web 
Source: Path :/WebResource.axd - Raw Url :/WebResource.axd?d=ajTmsUGo059i8jVyULN6WJxyGEzDWeYyk5iXrJ-hlCbfDyKpxWCzGgr__HcHehjE45vAS9-jMMZQxEhj5WlSgsmmlvC8804M8q7f1ZWxcrM4ODuYtuHJilKNWiCjODeP0&t=634129147086009932 
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) 

And here is how my web.config looks like just in case it can help:
<?xml version="1.0"?> 
<configuration> 
  <appSettings> 
    <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" /> 
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Enabled" /> 
  </appSettings> 
  <system.web> 
    <compilation debug="true" targetFramework="4.0" /> 
    <customErrors mode="Off" /> 
    <sessionState compressionEnabled="true"></sessionState> 
    <httpRuntime maxRequestLength="2097151" /> 
    <pages maintainScrollPositionOnPostBack="true" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"
    </pages> 
    <httpHandlers> 
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
    </httpHandlers> 
    <httpModules> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
    </httpModules> 
  </system.web> 
  <system.webServer> 
    <modules runAllManagedModulesForAllRequests="true"
      <remove name="RadUploadModule" /> 
      <remove name="RadCompression" /> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" /> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" /> 
    </modules> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <handlers> 
      <remove name="ChartImage_axd" /> 
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" /> 
      <remove name="Telerik_Web_UI_DialogHandler_aspx" /> 
      <remove name="Telerik_RadUploadProgressHandler_ashx" /> 
      <remove name="Telerik_Web_UI_WebResource_axd" /> 
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" /> 
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" /> 
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" /> 
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" /> 
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" /> 
    </handlers> 
    <security> 
      <requestFiltering> 
        <requestLimits maxAllowedContentLength="2147482624" /> 
      </requestFiltering> 
    </security> 
  </system.webServer> 
</configuration> 

Is anyone experiencing the same problem? Any help will be greatly appreciated!

Eric

50 Answers, 1 is accepted

Sort by
0
Eric
Top achievements
Rank 2
answered on 24 Jun 2010, 03:37 PM
I solved it. It turned out to be a reference in an embedded resource from a custom library that didn't exist. What's weird is that it was like this for several months but only threw an exception when I upgraded to .NET 4.0.....

Eric
0
Stanley
Top achievements
Rank 1
answered on 04 Jul 2010, 08:45 PM
" ... a reference so an embedded resource", could you give more details on your fix? I might have the same issue - but in my case it only/always happens in IE, always OK with Firefox and Chrome.
Thanks Eric!
0
mac
Top achievements
Rank 1
answered on 29 Oct 2010, 04:15 PM
Could you expand on this issue? I am encountering the same thing at a volume of 100+ errors a day.
0
GDPR_erased
Top achievements
Rank 1
answered on 12 Nov 2010, 08:20 PM
Same with me 100+ errors a day!
0
Simon
Telerik team
answered on 16 Nov 2010, 04:07 PM
Hello Bill and mac,

It seems Eric has found the cause of the issue as stated in his second post.

Are the circumstances in your cases the same? Which version of Telerik.Web.UI are you using? What is the URL of the request that triggers the exception? Does replacing RadScriptManager with ScriptManager resolve the issue?

Sincerely yours,
Simon
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Scott Li
Top achievements
Rank 1
answered on 21 Dec 2010, 07:20 PM
I am having the same problem, so many errors in the audit log, can anyone from Telerik tell us which reference needs to be added?

Thanks,

Scott
0
Simon
Telerik team
answered on 22 Dec 2010, 06:17 PM
Hello Scott,

Could you please log a failing request with FiddlerCap and send us the logs through a support ticket? Additionally, if possible, please send us the application or a subset of it, which exhibits this behavior.

Regards,
Simon
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Eric
Top achievements
Rank 2
answered on 22 Dec 2010, 08:04 PM
In a custom library I had references such as the following that caused the exception when I upgraded to 4.0

Page.ClientScript.GetWebResourceUrl(GetType(), "Namespace.file.png")

Hope this helps,
Eric
0
mac
Top achievements
Rank 1
answered on 22 Dec 2010, 11:13 PM
I have been chasing this ghost for months now... my errors look like this:
---------------------------------------
This is an invalid webresource request. at http://intranet/WebResource.axd?d=bjUPUSWQ4JmcTyMVIrIh1jGscEgqGVqj2ae3m6JJeXHOzWM7YlRfJNuJyAr_tLuAdTFEoVQUb-s73bm8hsuCnocmP40cdgrA_R6HS2gLIjY1&t=633716706420000000

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)Generated by: domain\username

http://intranet/WebResource.axd?d=bjUPUSWQ4JmcTyMVIrIh1jGscEgqGVqj2ae3m6JJeXHOzWM7YlRfJNuJyAr_tLuAdTFEoVQUb-s73bm8hsuCnocmP40cdgrA_R6HS2gLIjY1&t=633716706420000000
Referring Page: http://intranet/default.aspx
--------------------------------------
I have tried:
recompile
redeploy
set machine keys
added to the web.config 
  <httpHandlers>
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />

I found this site but couldn't get the page to give me anything
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
paste this: bjUPUSWQ4JmcTyMVIrIh1jGscEgqGVqj2ae3m6JJeXHOzWM7YlRfJNuJyAr_tLuAdTFEoVQUb-s73bm8hsuCnocmP40cdgrA_R6HS2gLIjY1 and get nothing back.

The only thing that has worked for me is to contact the individual who has the issue and ask them to clear their temp files. problem is that if they don't clear the temp, then the UI is actually affected. 
I get about 300 a day and about 10/second when one of the afftected users is running.
Its pretty frustrating to say the least. I have all but given up at this point.
Code compiles, no errors, no warnings.


0
Gary Meagher
Top achievements
Rank 1
answered on 20 Jan 2011, 10:47 PM
This is a very serious issue on our web application.
Controls started disappearing.
We tried adding the skin to each Rad control but issue still happens on some machines.

System.Web.HttpException: This is an invalid webresource request.

Generated: Thu, 20 Jan 2011 21:43:29 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)
		
0
Simon
Telerik team
answered on 27 Jan 2011, 06:06 PM
Hello Eric,

The most common cause of such a mysterious issue is a missing file that is requested through the WebResource.axd handler.

Can you get the WebResource URL that is generating this error? If so, please use the approach suggested in this blog post to get the name of this particular resource. This will give us a clue about what is this resource and where it is located. If it is in our assembly, we will investigate it further.

Kind regards,
Simon
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Ian Pellicano
Top achievements
Rank 1
answered on 28 Jan 2011, 08:45 AM
Dear All,

Have you found a solution to this problem? Recently I just started getting these errors up to 40 a day .. and even 6 in few seconds.. Here is the error :

/WebResource.axd?d=rIXG_7apM8YM7VCIbyza4Y3RaewiCbR7BXKxTEZ8RsfH_yanrqHpdtNwLEgn4pH_ATVgbGr2Xho_tuvB1WFg-Cs3sjYN2FDBuIvqnEJrHKM1&t=634248267500000000

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)

..
Can you help ??
0
preeti
Top achievements
Rank 1
answered on 03 Feb 2011, 11:51 AM

Hi m getting same error.

Using AsyncUpload / Progress control.
Exception Details:Exception-Detail:MESSAGE: Path '/Telerik.Web.UI.WebResource.axd' was not found..
please help me.
0
Simon
Telerik team
answered on 29 Mar 2011, 10:58 AM
Hi preeti,

Please make sure the axd extension is registered in IIS as described in this blog post.

I hope this helps.

All the best,
Simon
the Telerik team
0
Matthew
Top achievements
Rank 1
answered on 17 Aug 2011, 02:53 PM
What is the approach to identify the missing file. I am getting the same error.
0
Simon
Telerik team
answered on 19 Aug 2011, 11:22 AM
Hi Matthew,

Here is a blog post showing the approach. I hope it helps.

Kind regards,
Simon
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Alexander Shashkin
Top achievements
Rank 1
answered on 14 Feb 2012, 05:59 PM
Hi Simon,
I have similar problem and I found that I have this problem because of 
Telerik.Web.UI.Skins|Telerik.Web.UI.Skins.Common.loading.gif 

I didn't checked it in depth, but looks like this issue becomes important. May be you have some advice for me?
0
Simon
Telerik team
answered on 16 Feb 2012, 01:59 PM
Hello Alexander,

I just verified the latest version of the skin assembly for such embedded resource and there wasn't. This means some RadControl is requesting this resource erroneously.

Which version of RadControls are you using? Could you remove RadControls from the page one by one to catch exactly which one is requesting the resource?

Greetings,
Simon
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Alexander Shashkin
Top achievements
Rank 1
answered on 26 Feb 2012, 11:02 PM
Hello Simon,
Thanks for your response and sorry for delay.
After your post I decide to just update controls lib.
I updated lib from 2011.3.1115.35 to 2012.1.215.35

And I can say that I don't receive these errors anymore. Not sure what control had this "bad request", but looks like in newest version it is already fixed.


0
Chris Poirier
Top achievements
Rank 1
answered on 09 May 2012, 06:29 PM
Hello,

I am getting this error intermittently on a few of our RadControls applications, and I haven't been able to figure out what is going on. I tried the method mentioned in the blog post to find the resource being requested, but I get an error when I try to run it:
Error decrypting data. Are you running your page on the same server and inside the same application as the web resource URL that was generated?
Exception has been thrown by the target of an invocation.
Unable to validate data.


This is being run within the same application that generated the error, and the same server. We are running under RadControls for ASP.NET AJAX Q2 2011 SP1.
0
Genady Sergeev
Telerik team
answered on 15 May 2012, 08:30 AM
Hi Eric,

As long as the same machine key was used for encrypting the url, the provided code should be working. Please make sure that the machine key is the same and that you are using the code in the same manner as shown on this page.


Greetings,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Kevin Warnke
Top achievements
Rank 1
answered on 28 Aug 2012, 04:25 AM
I have been experieincing this same problem for some time now.  I believe it started (as it did for others) after upgrading to .NET 4.0.

Today, I upgraded to the latest version of the controls (RadControls for ASP.NET AJAX Q2 2012 SP1) to see if that would fix the issue.  It did not.

The problem is the same as described above, although it's intermittent.  Sometimes a page will load perfectly fine.  Other times it will fail with this error for one of the resources and then the page will look funny (since 1 set of resources was not served).

I can't proactively reproduce this problem.  When I try, everything works (of course).

But I see this error in the logs frequently for other users, and I will also occaisionally see it when I'm running the site myself.

When this happens, I'll try and use the page discussed to take the problem resource URL and decode it, but I see the same failure as the other person:
Error decrypting data. Are you running your page on the same server and inside the same application as the web resource URL that was generated?
Exception has been thrown by the target of an invocation.
Unable to validate data.


But, I'm not sure that article really works correctly for ASP.NET 4.0 anyways.  I can take a resource URL that worked fine, paste it into that sample page, and I'll get some other error like "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters."

Then again, the same test page with another working resource URL will work fine and gets decoded as expected.

I am at my whit's end on this one.  I need some additional guidance on how to debug this issue to find out why it sometimes fails while othertimes it works fine (on the same exact page).

Thanks,
Kevin
0
Matthew
Top achievements
Rank 1
answered on 28 Aug 2012, 05:01 AM
Is it happening with IE and Chrome?
0
Kevin Warnke
Top achievements
Rank 1
answered on 28 Aug 2012, 03:25 PM
It's not just IE and Chrome.  Looking back a week or so I've seen the following user agents with this problem:
  • IE6
  • IE8
  • IE9
  • FireFix 14.0.1
  • Chrome 21.0.1180.83
  • iPad (Safari)
  • iPhone (Safari)
  • Safari (on MAC)
  • Googlebot

I'm sure others have had it too.

Thanks,
Kevin

0
Matthew
Top achievements
Rank 1
answered on 28 Aug 2012, 03:38 PM
Try clearing the cache for the individual browsers. Mine error was only happening with Chrome and when I cleared the cached and deleted all the temp files everything worked.
0
Genady Sergeev
Telerik team
answered on 30 Aug 2012, 03:23 PM
Hello Kevin,

We are aware of several causes for this problem. Most often is that if there are embedded resources in the dll that are dated in the future (this can happen if you compile the dll in europe and host it in the USA). Could you please verify that this is not the case? Here is more info:

Link1


Link2


Kind regards,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Luca B
Top achievements
Rank 1
answered on 06 Nov 2012, 03:07 PM
Hi Genady Sergeev,
sorry to bring up an old thread but I have this exact issue, although with an older version on Telerik controls. I tried all the suggestions found in this thread, without success.
It's happening randomly, some users (such as myself) have not experienced this at all.
I am unable to decode the webresource url ("Unable to validate data" error).
I am not using future-dated resources and I am using a single web server (production, of course, on my dev box everything looks fine).
The .axd extension is registered and both <httpHandlers> and <handlers> nodes are configured (using Telerik's wizard).
In at least one case we can see the missing resources are related to RadWindow (the borders and icons do not appear).
Any suggestion left?
Thanks
0
Genady Sergeev
Telerik team
answered on 12 Nov 2012, 09:50 AM
Hello Luca,

We are still unable to find out the reason for some of the Invalid Web Resource exceptions. I believe that in you case applies to that category, unfortunately. We will now test the web resource decode url code in ASP.NET 4.0 and post the fixed version here so that you can use it to troubleshoot which is the failing resource.

Kind regards,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Luca B
Top achievements
Rank 1
answered on 14 Nov 2012, 10:26 AM
Hi, thanks for your support.
I don't know if this helps in investigating the issue, but let me explain our application layout.
We have an application that is nested in a bigger one. We moved the outer application from ASPNET 2 to 4 and we added Telerik controls to it as well (so, now we also have Telerik handlers and settings in the outer web.config). I am not sure, but from that point on the inner application started to fail with the webresource.axd error.
I do not know if this makes sense, but could it be that the inner application is trying to decode urls/resources based on the outer application settings?
Thanks
0
Genady Sergeev
Telerik team
answered on 16 Nov 2012, 12:43 PM
Hi Luca,

What you are saying makes sense, however, if that would be the case all the WebResource.axd url's should have failed. Now, as you know the machine key is used for encrypting/decrypting the urls. What you can try doing is to hard code the same machine key on the both apps. You can use this machine key generator for generating your key. Could you please give that a try and let us and the community know whether it helps?

On a side note, I successfully managed to run the WebResource decryption code on my machine running .NET 40. Can you confirm that it works/does not work on your side?

Thank you. :)

All the best,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Luca B
Top achievements
Rank 1
answered on 16 Nov 2012, 01:35 PM
Hi, I just did the test you asked me. I put the same machineKey in both the outer and inner web.config.
I am still receiving those errors, and if I try to decode the Url, I get "Unable to validate data"
If I try to decode an Url that does not generate errors, it decodes just fine, using FW 4.0.
Thanks
0
Luca B
Top achievements
Rank 1
answered on 21 Nov 2012, 02:47 PM
Any news on this?
Only today I received 70 of these errors!
Thanks
0
Genady Sergeev
Telerik team
answered on 22 Nov 2012, 08:25 AM
Hello Luca,

Since the issue seems critical (these errors drive visual issue to your website, right?) and we don't have resolution to this problem yet I suggest that you turn on the CDN provider on. This will resolve all the issues because there will be no longer web resource requests but plain string requests to the CDN provider.

All the best,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Lalu
Top achievements
Rank 1
answered on 14 Aug 2013, 07:06 AM
Hi,
We have an issue like this The resource cannot be found.

<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/Shipmate' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
            <br><br>

            <b> Requested URL: </b>/Shipmate/WebResource.axd<br><br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.2012

            </font>

    </body>
</html>
<!--
[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)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->


Please let me know do you need more information to trace the error.



Regards
Shibin

0
Lalu
Top achievements
Rank 1
answered on 16 Aug 2013, 12:00 PM
Hi,
We have the same issue .The resource cannot be found.
"NetworkError: 404 Not Found - http://192.168.1.185/Registers/WebResource.axd?d=jNVdfMkQ8CFZaRWvSwpFVgGHdZOw0vfifPU8JFRYLwsgPV2abkh1K7kyOapAlw1DMVipeNal-JnwlrzpBPGioZ1l6KSFPUZX0r9nMwuppMx6UZ4-yTKBnfV2Pq8gzg1dSQx7l2DaqgfrJkePp4JPtsr22h01&t=635122602125564564"

<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/Shipmate' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
            <br><br>

            <b> Requested URL: </b>/Shipmate/WebResource.axd<br><br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.2012

            </font>

    </body>
</html>
<!--
[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)
-->


Please let me know if you need more information to trace the error.



Regards
Shibin

0
Genady Sergeev
Telerik team
answered on 16 Aug 2013, 03:59 PM
Hello Shibin,

Please try to debug the resource using the approach demonstrated in the Debugging ASP.NET 2.0 WebResources blog post. Then please post here what is the name of the resource that seems to be throwing exceptions.

Regards,
Genady Sergeev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Tom
Top achievements
Rank 1
answered on 24 Apr 2014, 08:31 AM
what is the status of this issue ?

Ive tried all fixes/workaround except the CDN one. Which i want to avoid since our website is intranet and this fix will make it internet .....

Regards
Frustrated Telerik User
0
Genady Sergeev
Telerik team
answered on 29 Apr 2014, 12:22 PM
Hello Eric,

Unfortunately we never managed to find the root cause for this problem. It is intermittent, shows of in very rare occasions and is hardly reproducible when we try to troubleshoot it.

However, if in your case the problem is constant and reproduces on a regular basis please open a support ticket and provide more details on the request that throws invalid web resource message. A fiddler cap log would be a helpful as well.

Regards,
Genady Sergeev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Tom
Top achievements
Rank 1
answered on 02 May 2014, 05:43 PM
This is really a B$ answer .... so you dont have a clue whats causing this so you just lets us make a ticket ?
Then what will happen, .... nothing ...

Erik , do you still have the issue at hand , with the new version ?
0
Genady Sergeev
Telerik team
answered on 07 May 2014, 09:33 AM
Hi Tom,

Do you consistently reproduce the issue? If so did you try to find out which file exactly breaks up? Further could you please paste here what is the exact error message (or link a screenshot) of what you see?

Regards,
Genady Sergeev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
David
Top achievements
Rank 1
answered on 14 Apr 2015, 03:26 PM

Yes, I can consistantly reproduce this issue, and receive the error on each load or post-back of the below page.

 According to the decryptor 'Webresource.aspx' page posted earlier, the error resolves to "pTelerik.Web.UI.Skins|Telerik.Web.UI.Skins.Web20.Common.radGradientListSprite.png "

Message: This is an invalid webresource request.
Stack    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)

Web20 skin is the default set in the webconfig file. UI.Skins DLL version 2015.1.225.45

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Manage_Roles.aspx.cs" Inherits="MNMilpo.Admin.Manage_Roles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<%@ MasterType virtualpath="~/Site.Master" %>
    <link href="../MasterStyles.css" rel="stylesheet" />
    <style>
        td {
            vertical-align:top;
        }
    </style>
        <script type="text/javascript">
            function RowDblClick(sender, eventArgs) {
                sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
            };
            function entryAdded(sender, eventArgs) {
                var text = eventArgs.get_entry().get_text();
                var value = eventArgs.get_entry().get_value();
 
                document.getElementById('<%=hfpers.ClientID %>').value = value;
                document.getElementById('<%=hftext.ClientID %>').value = text;
            };
 
            var limit = 1;  //Setting the maximum number of entries
 
            function OnClientDropDownOpening(sender, args) {
                if (sender.get_entries().get_count() == limit) {
                    //var firstEntry = sender.get_entries().getEntry(0);
                    //sender.get_entries().remove(firstEntry);
                    args.set_cancel(true);
                }
            };
 
            function requesting(sender, eventArgs) {
                var context = eventArgs.get_context();
            };
            function OnClientNodeClicking(sender, eventArgs) {
                var node = eventArgs.get_node();
 
                node.toggle();
                var lbl = document.getElementById('<%=lblSelUnit.ClientID %>')
                lbl.innerHTML = node.get_text();
 
                if (node.get_level() == 4) {
                    ExpandBnNode(node);
                }
            }
 
            function ExpandBnNode(node) {
                var siblings = node.get_nodes();
                var siblingsCount = siblings.get_count();
 
                for (var nodeIndex = 0; nodeIndex < siblingsCount; nodeIndex++) {
                    var siblingNode = siblings.getNode(nodeIndex);
 
                    siblingNode.expand();
                }
            }
 
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server">
    <div class="CentDiv">
        <table class="CentTable">
            <tr><th colspan="3">Manage User Roles</th></tr>
            <tr>
                <td colspan="2"><h3>Select a Soldier:</h3>
                    A minumum of 3 characters is required:
                    <telerik:RadAutoCompleteBox runat="server" OnClientDropDownOpening="OnClientDropDownOpening" TextSettings-SelectionMode="Single" ID="RadAutoCompleteBox1" InputType="Token" Label="Select Domain Users" Width="350px" DropDownWidth="350px" MaxResultCount="10" AllowCustomEntry="false" EmptyMessage="LAST FIRST MI" OnClientEntryAdded="entryAdded" MinFilterLength="3"  onclientrequesting="requesting" OnEntryAdded="RadAutoCompleteBox1_EntryAdded">
                        <webservicesettings path="../dropdownnames.asmx" method="populateNewUsers" />
                    </telerik:RadAutoCompleteBox>
                </td>
                <td>
                    <asp:HiddenField ID="hftext" runat="server" />
                    <asp:HiddenField ID="hfpers" runat="server" />
                    <asp:Button runat="server" ID="btnHidden" Style="display: none;" OnClick="btnHidden_Click" />
                </td>
            </tr>
            <tr>
                <td>Selected person info<br />
                    <asp:Label ID="tbxPersId" runat="server" /><br />
                    <asp:Label ID="tbxName" runat="server" /><br />
                </td>
                <td colspan="2">
                    <telerik:RadGrid ID="grdUserRoles" runat="server" AutoGenerateColumns="false" AutoGenerateDeleteColumn="true" OnItemCommand="grdUserRoles_ItemCommand">
                        <MasterTableView ShowHeadersWhenNoRecords="true" CommandItemDisplay="Bottom" DataKeyNames="intPersId, strRoleName">
                            <CommandItemSettings ShowAddNewRecordButton="false" />
                            <Columns>
                                <telerik:GridBoundColumn DataField="strRoleName" HeaderText="Profile" />
                                <telerik:GridBoundColumn DataField="strRole" HeaderText="Role" />
                                <telerik:GridBoundColumn DataField="strReportSequence" HeaderText="Role RSC" />
                                <telerik:GridBoundColumn DataField="UPC" HeaderText="UIC" />
                                <telerik:GridBoundColumn DataField="UNAME" HeaderText="Unit Name" />
                                <telerik:GridBoundColumn DataField="strApprovedBy" HeaderText="Approved By" />
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                </td>
            </tr>
            <tr>
                <td>
                    <h3>
                        Select a Role:
                    </h3><br />
                    <telerik:RadListBox ID="lbxRoles" runat="server" CheckBoxes="false" ShowCheckAll="false" Width="300px" Height="300px"  SelectionMode="Single">
                        </telerik:RadListBox>
                </td>
                <td>
                    <h3>Select a Unit: <asp:Label ID="lblSelUnit" runat="server"  Text="NONE" /></h3><br />
                    <telerik:RadTreeView ID="RoleOrgTree" runat="server" LoadingStatusPosition="BeforeNodeText" DataFieldID="ITEMID" DataFieldParentID="PARENTID" DataTextField="UPC" DataValueField="ITEMID" OnNodeDataBound="orgTree_NodeDataBound" BorderColor="Black" BorderStyle="Solid" Height="400px" ShowLineImages="true" Width="250px" OnClientNodeClicking="OnClientNodeClicking">
                    <DataBindings>
                        <telerik:RadTreeNodeBinding Expanded="True"></telerik:RadTreeNodeBinding>
                    </DataBindings>
                    </telerik:RadTreeView>
                </td>
                <td><br />
                    <h3>Profile Name:</h3>  <asp:TextBox ID="tbxProfileName" runat="server" Columns="50" Text="Enter a Distinct Profile Name" /><br />
                     <br />
                    <asp:RequiredFieldValidator ID="fieldValName" runat="server" ErrorMessage="A distinct Profile name is required!" ControlToValidate="tbxProfileName" ValidationGroup="VAL" InitialValue="Enter a Distinct Profile Name" ForeColor="Red" Display="Dynamic" SetFocusOnError="true">
                    </asp:RequiredFieldValidator>
                     <br />
                     <br />
                    <asp:Button ID="btnAddRole" runat="server" OnClick="btnAddRole_Click" Text="Add Role to User" Enabled="false" CausesValidation="true" ValidationGroup="VAL" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

 

This error seems to only exist on pages where the RadAutoCompleteBox is calling a webservice.

 

Master page contains a RadMenu, two dropdowns and a couple of labels. Along with the RadScriptManager and RadClientExportManager

 

 

0
Genady Sergeev
Telerik team
answered on 17 Apr 2015, 02:56 PM
Hello David,

Is it possible to open a support ticket and attach a sample that reproduces the problem there so that we can take a look?

We haven't yet received a sample that reproduces the issue consistently therefore this can be of great help in troubleshooting the problem further.

Regards,
Genady Sergeev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
David
Top achievements
Rank 1
answered on 17 Apr 2015, 03:09 PM

I would love to.. but consistancy got shot, drug out the back and hung out to dry.

I updated my production code error handling to decrypt the web resource URL so our logs and automated error reporting shows the plain-text decrypted response.

 

And I haven't seen this error pop up since on either of the applications that had/have this issue.

 I have a feeling this is caused somewhere in the IIS cache/disk processing in a multi-user environment.

 

 

 

0
Genady Sergeev
Telerik team
answered on 23 Apr 2015, 07:31 AM
Hello David,

Did you by any chance set static decrypt key? Setting static decrypt key will likely result in resolving the problem because it will ensure one and the same key is used to decrypt the resource urls.

Regards,
Genady Sergeev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
David
Top achievements
Rank 1
answered on 23 Apr 2015, 12:20 PM

Genady, you lost me there.

  I have had the 'webresource not found' error pop-up randomly over the last 5 days, but not consistantly. I have two methods for decrypting the resource url; one is from the previous zip of WebResource.aspx which works perfectly.

The other is built into the applications error handling, which intercepts the error and sends an email to the admin with the error details. This process, which uses the same decrypt procedure as the WebResource.aspx, fails as the resource url 'is not a Base64 encoded string' .

Yet when I copy the URL from the resulting email and decrypt using the WebResource.aspx... it decrypts. 

Still suspect that the original invalid webresource request stems from missing or corrupted dll on the IIS as subsequent clean reloads have eliminated the error for a time.

0
Genady Sergeev
Telerik team
answered on 28 Apr 2015, 08:45 AM
Hi Eric,

Indeed, we know that cleaning the temporary files and the cache solves the issues. I think that the safest bet here is ask the admin to set static decryption key in the machine.key section in the web.config.

The decryption key is used to decrypt the webresource gibberish. If set to static it will eliminate the chances that upon some unknown event IIS will regenerate it and subsequently break cached resources.

Regards,
Genady Sergeev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
David
Top achievements
Rank 1
answered on 01 May 2015, 02:07 PM

Its back.

 " Message: This is an invalid webresource request.
Stack    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)

Web Resource: pTelerik.Web.UI.Skins|Telerik.Web.UI.Skins.Web20.Common.radGradientListSprite.png "

 Walked through the steps at Telerik Web Resource Troubleshooting, verified that the server date/time per Stack Overflow answer, verified the skins dll on the server is the most current version. Single IIS, no concerns about the machine decryption key.
Still receive one error per selection change in the list box.

 

Please verify that this embedded resource is properly registered in the DLL.

 

Error occurs on selection of an item in the below listbox:

<telerik:RadListBox ID="lbxRoles" runat="server" CheckBoxes="false" ShowCheckAll="false" Width="300px" Height="300px"  SelectionMode="Single">
  
                        </telerik:RadListBox>

0
David
Top achievements
Rank 1
answered on 01 May 2015, 07:04 PM

Changed skin in use on the RadListBox to Telerik vice Web20. Have not received the webresource error since.

 

<telerik:RadListBox ID="lbxRoles" runat="server" CheckBoxes="false" ShowCheckAll="false" Width="300px" Height="300px"  SelectionMode="Single" Skin="Telerik">
    </telerik:RadListBox>

0
Sascha
Top achievements
Rank 1
answered on 07 May 2015, 05:47 AM

We have the same issue here with Web20 skin and RadToolBar.

 still not fixed in 2015.1.401.45 (we are currently on 2014.3.1209.45)

 looking at the Skin ToolBar.Web20.css lines 79-82

.RadToolBarDropDown_Web20 .rtbWrap {
  border-radius: 3px;
  *color: #000000;
  background-image: url('Common/radGradientListSprite.png') \9; }

but there is no Common/radGradientListSprite.png.

 It is also referenced in RibbonBar.Web20.css line 115

0
Marin Bratanov
Telerik team
answered on 08 May 2015, 11:27 AM

Hi Sascha,

The fix will be available in the official Q2 2015 release: http://feedback.telerik.com/Project/108/Feedback/Details/149794-fix-radgradientlistsprite-png-for-the-web20-skin-is-missing. The last internal build should also have it.

Regards,

Marin Bratanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 2
Answers by
Eric
Top achievements
Rank 2
Stanley
Top achievements
Rank 1
mac
Top achievements
Rank 1
GDPR_erased
Top achievements
Rank 1
Simon
Telerik team
Scott Li
Top achievements
Rank 1
Gary Meagher
Top achievements
Rank 1
Ian Pellicano
Top achievements
Rank 1
preeti
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Alexander Shashkin
Top achievements
Rank 1
Chris Poirier
Top achievements
Rank 1
Genady Sergeev
Telerik team
Kevin Warnke
Top achievements
Rank 1
Luca B
Top achievements
Rank 1
Lalu
Top achievements
Rank 1
Tom
Top achievements
Rank 1
David
Top achievements
Rank 1
Sascha
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or