[CLOSED] Invalid Webresource Request

Page 2 of 2 FirstFirst 12
  1. #11
    Not sure what you mean here: Can you help me with how to do this?
    If you have online sample which reproduces the issue then I can check the status description. I cannot reproduce the issue locally on my side
  2. #12
    of course.

    So there is no way I can "set redirection reason to StatusDescription" myself?
  3. #13
    So there is no way I can "set redirection reason to StatusDescription" myself?
    Status description is parameter of request. You can find it if monitor requests with Fiddler (or similar tool). If you log requests then need to include status description of a request to that log

    Where did you observe invalid requests? In the log? Does the log contain other requests parameters, like status description?
  4. #14
    I realized I can see it locally while working in Firebug.
    "NetworkError: 404 Not Found - http://localhost:40602/WebResource.axd?d=xO9-P2nCjkRa3TyWwyAzu6GMBrxnZSENjC83ykpKXECWL5E3jD3pxW9J2fr0ED6TKTP-W4AylVnc8FmnJfSHt2Rg0J2FgvL74SfxMGSAw2TxZ0ULdLUPdWXnj8JH4PtNkVNp1q3ZmowY49Ernvk7lqKBvirkMsJmmsMHyVWMuAk1&t=634746569979179111"
    Here is the corresponding exception log entry:
    Timestamp: 6/25/2012 4:30:50 PM Message: HandlingInstanceID: ce4e7624-f519-47d0-9971-7b2e183efa4fAn exception of type 'System.Web.HttpException' occurred and was caught.------------------------------------------------------------------------06/25/2012 12:30:50Type : System.Web.HttpException, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aMessage : This is an invalid webresource request.Source : System.WebHelp link : WebEventCode : 0ErrorCode : -2147467259Data : System.Collections.ListDictionaryInternalTargetSite : Void System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext)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) Additional Info: MachineName : RANCRLOVINGW7DTimeStamp : 6/25/2012 4:30:50 PMFullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35AppDomainName : /XX/XXXX/5/ROOT-1-129851150739958598ThreadIdentity : WindowsIdentity : IIS APPPOOL\ASP.NET v4.0 Category: Exception Severity: Error Title:Enterprise Library Exception Handling Machine: RANCRLOVINGW7D Application Domain: /LM/W3SVC/5/ROOT-1-129851150739958598 Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe Thread Name:  Extended Properties: VMSRefCd - 3939426504128598 LastLoginCookie - LastLoginOrg=pxxxx&LastLoginID=pc-roger AbsoluteUri - http://localhost:40602/WebResource.axd?d=xO9-P2nCjkRa3TyWwyAzu6GMBrxnZSENjC83ykpKXECWL5E3jD3pxW9J2fr0ED6TKTP-W4AylVnc8FmnJfSHt2Rg0J2FgvL74SfxMGSAw2TxZ0ULdLUPdWXnj8JH4PtNkVNp1q3ZmowY49Ernvk7lqKBvirkMsJmmsMHyVWMuAk1&t=634746569979179111 HttpMethod - GET ----------------------------------------
    The only StatusDescription I am aware of is a property of HttpResponse.
  5. #15

    solution

    Locale is case sensitive. I posted that webresourse.axd was looking for Ext.Net.Build.Ext.Net.extnet.locale.ext-lang-en-gb.js
    The actual resourse is Ext.Net.Build.Ext.Net.extnet.locale.ext-lang-en-GB.js
    I can now see the same issue with fr-CA. Not something one would find on google. Thanks for the other suggestions though.
  6. #16
    ext.axd request must be first (before WebResource.axd), it will return response with 302 status code (redirect), i need status description of that request
    The exeception log is webresource.axd exception

    I have one idea what can be wrong
    You mentioned that requested url is
    Ext.Net|Ext.Net.Build.Ext.Net.extnet.locale.ext-lang-en-gb.js

    I confused by 'gb'. The resource file has 'GB' in own name.
    ext.axd and WebResource.axd are case sensitive for resource names

    If open the following sample and choose 'English (United England)' in the combo then you will see that Ext.Net generates url for locale with 'GB' (not 'gb')
    https://examples1.ext.net/#/Miscellaneous/Locale/Basic/

    Do you have any http filters or something else which converts url to lower case?
  7. #17
    It seems we have found the issue reason simultaneously
    Do you now the reason of lower case?
  8. #18
    :-) yes we did.

    Yes. In our database we have language code descriptions and our descriptions are all lower case eg en-en, en-gb, fr-ca.
    We set locale in our master page load event. I have identified the small subset of your files that have this naming and corrected the property on our end. No more HttpExceptions.
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] WebResource.axd instead of ext.axd, v1.0
    By chafikb in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: May 31, 2012, 11:19 AM
  2. [CLOSED] Slate Theme - Invalid web resource request error
    By vali1993 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Oct 20, 2011, 11:30 AM
  3. [CLOSED] WebResource.axd being used for CSS instead of ext.axd
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 19, 2011, 1:31 PM
  4. ... invalid webresource request. at System
    By mirzasa in forum 1.x Help
    Replies: 3
    Last Post: Feb 02, 2010, 12:50 PM
  5. Bad request (invalid verb)
    By Wtower in forum 1.x Help
    Replies: 8
    Last Post: Sep 10, 2009, 6:35 AM

Tags for this Thread

Posting Permissions