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 :
EXCEPTION MESSAGE :
System.Web.HttpException (0x80004005): This is an invalid webresource request. at System.Web.Handlers.
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.
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:
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 :
As per your suggestion, we have researched on enabling CDN for native ASP.NET WebForms and Telerik resources, we found some of the limitation mentioned below over which we have concern and wanted to confirm from your end.
1. Reliability: Relying on a third-party CDN provider means that if the provider experiences downtime or other issues, your application's performance may be affected.
2. Security: Using a CDN may expose your application to security risks, as you are trusting an external provider to deliver content securely. If the CDN provider is compromised, your application's security might be at risk.
3. Limited control: With a CDN, you have less control over your application's resources, as they are hosted on servers managed by the CDN provider. This can make it more challenging to troubleshoot and resolve issues.
4. Compatibility: Enabling CDN for Telerik resources may cause compatibility issues with certain features or controls, as not all Telerik components are designed to work with a CDN. This may require additional configuration or workarounds to ensure proper functionality.
5. Latency: While CDNs can improve performance by delivering content from a server closer to the user, they can also introduce latency if the CDN provider does not have a server near your target users, or if there is a delay in updating the content on the CDN.
6. Cost: Utilizing a CDN can lead to additional costs, as many providers charge based on the amount of data transferred or the number of requests made.
7. Cache management: Managing cache settings can be more complicated when using a CDN, as you need to ensure that content is updated and invalidated correctly across all CDN servers.
8. CORS issues: Cross-Origin Resource Sharing (CORS) issues can arise when using a CDN, as resources are served from a different domain than your application. This may require additional configuration to ensure proper functioning.
Please let us know how Telerik team will overcome with the above concern if we'll enable CDN as we have project implemented in ASP.NET WebForms. Also, what additional challenges we may face after implementation and what preventive action we need to take, please suggest.
In addition to the above research, we found CDN base url as "https://kendo.cdn.telerik.com/" for active Telerik license account. As we have active Telerik license account, could you please confirm this base url is same for all. If not, please provide screenshot for reference from where we can get CDN base url.
The Telerik UI for ASP.NET CDN is hosted on Amazon CloudFront which is not only one of the most trusted and secure providers but also with no to limited downtimes - https://health.aws.amazon.com/health/status. You can find more information about the Telerik CDN at CDN Support Overview.
If you, however, do not want to trust any third-party CDN providers, you can host the Telerik scripts and stylesheet files on your own local CDN server as explained in the following article: Custom Local CDN Provider.
The https://kendo.cdn.telerik.com/ is the official Kendo UI and UI for Blazor CDN. The Telerik UI for ASP.NET AJAX CDN is available at the following locations:
Thank you for your response. I would like to request one more clarification regarding the pricing model in case we decide to utilize the Telerik UI for ASP.NET CDN hosted on Amazon CloudFront. We already have an active Telerik license account. Thus, I am curious to know if there are any additional charges that we should anticipate once we begin using the CDN service.