Error In Webresource.axd
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to prevent error messages for WebResource.axd errors from appearing in the Application log? up vote 6 down vote favorite 1 I am running an ASP.NET web application under IIS 7.5 and my Application log is full of errors like this: Event code: 3012 Event message: An error occurred processing a web or script resource request. The resource identifier failed to decrypt. ... Exception information: Exception type: HttpException Exception message: Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData) ... Request information: Request URL: http://www.mysite.com/WebResource.axd?d=l0ngstr1ng0fl3tt3rs4ndd1g1ts Request path: /WebResource.axd ... How can I prevent them from appearing? As per this link, I have added the following code to my Global.asax file: void Application_Error(object sender, EventArgs e) { // Code that runs when an *unhandled* error occurs //// get reference to the source of the exception chain Exception ex = Server.GetLastError(); string message = ex.Message; string path = Request.Path; // ignore the following: // errors due to bots trying AXD URLs // errors due to
you are using an ASP.NET server control with rich client-side behavior it is likely built to utilize web resources. Sometimes your page loads and that rich server side control does not work at all — the tree view does not expand, the grid cannot sort etc. Most of the times this is because the JavaScript files of those controls have failed to load. If your browser is configured to prompt on JavaScript errors you may see an error message similar to this one: "RadTreeView is undefined" if you are using Telerik UI for ASP.NET AJAX. Receiving this message indicates that there is a Web Resource related http://stackoverflow.com/questions/19518926/how-to-prevent-error-messages-for-webresource-axd-errors-from-appearing-in-the-a issue. The following sections describe ways to find out what is causing that error message. Determine the Error There are several ways to see what the WebResource error is: Manually Requesting the WebResource Handler The fastest way would be to view the rendered output of your page and get the URL of the offending script tag. For instance:
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 5 https://forums.iis.net/t/next/1151255 & IIS 6 Troubleshooting Page using validation throws WebResource.axd error! Page using validation throws WebResource.axd error! [Answered]RSS 2 replies Last post Jun 07, 2011 05:16 PM by https://blog.blksthl.com/2013/12/16/fixing-the-scriptresource-axd-errors-500-internal-server-error/ Bill Cumming ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply Esup 1 Post Page using error in validation throws WebResource.axd error! Mar 03, 2011 10:42 AM|Esup|LINK I have a simple textbox and button on a page using validation, like so: