[CLOSED] Request Failure Error

  1. #1

    [CLOSED] Request Failure Error



    Hi,
    I have often getting Request Failure error.
    why this type of error occurs when i hosting the site in IIS.
    how to avoid this error or request failure message box?.
    Is there any property to block this message box.
    please see the screen shot which i have attached.

    thanks and regards
    kapil
  2. #2

    RE: [CLOSED] Request Failure Error

    Hi,

    I am sure that it is timeout error. You can set own value of timeout. By default it is 30 sec.
    This code shows how to set 60 sec:

    <ext:Button runat="server">
        <AjaxEvents>
            <Click OnEvent="Click" Timeout="60000"></Click>
        </AjaxEvents>
    </ext:Button>
    The failure message box can be suppressed with ShowWarningOnFailure property

    <ext:Button runat="server">
        <AjaxEvents>
            <Click OnEvent="Click" ShowWarningOnFailure="false" ></Click>
        </AjaxEvents>
    </ext:Button>
  3. #3

    RE: [CLOSED] Request Failure Error

    FYI, Ext has a global default timeout property Ext.Ajax.timeout which I used in 0.6 to allow me to debug AjaxEvents without the timeout. I add a script for debug builds to set this to a very high number.

    In the new AjaxMethods in 0.7, this setting is apparently ignored or overridden, as I am getting timeouts after only 30 seconds.

    Perhaps you could add a default configuration in Coolite ScriptManager to set Ext.Ajax.timeout = 50000000 or some long running time in a debug build, similar to the MSAjax framework.
  4. #4

    RE: [CLOSED] Request Failure Error

    Hi Mark,
    I'm facing the same problem: I set a value for the property Ext.Ajax.timeout but it gets ignored, and I don't understand the solution you propose. How can I add a default configuration in Coolite ScriptManager?

    Thank you in advance.

    MD

Similar Threads

  1. Request failure error
    By Vaishali in forum 1.x Help
    Replies: 0
    Last Post: May 09, 2012, 5:23 AM
  2. Request failure : Internal Server Error
    By richard in forum 2.x Help
    Replies: 1
    Last Post: Mar 15, 2012, 12:16 PM
  3. Replies: 16
    Last Post: Oct 04, 2011, 5:17 PM
  4. Request Failure!
    By jachnicky in forum 1.x Help
    Replies: 0
    Last Post: Dec 11, 2008, 3:26 AM
  5. Replies: 2
    Last Post: Nov 26, 2008, 12:17 PM

Posting Permissions