Request Failure!

  1. #1

    Request Failure!

    hi,

    guys,when I use coolite object to run program,it raise error,transaction aborted,I think it is timeout.but I run the same in normal dotnet aspx program it is successful.Why? Does have any way to avoid this?
  2. #2

    RE: Request Failure!

    Hi jachnicky,

    The default timeout on the Ajax requests is 30000ms (30 seconds). You could try boosting that up to "60000". Timeout="60000".


    Geoffrey McGill
    Founder
  3. #3

    RE: Request Failure!

    hi,

    Geoffrey,how to boost the Ajax requests' Timeout?my code is:
           <ext:Button ID="btn_Search" Text="Search" runat="server" Icon="chartpie">
            <AjaxEvents>
              <Click OnEvent="LoadDetails">
                 <EventMask ShowMask="true" MinDelay="1000" Msg="Waiting..."  Target="CustomTarget"  CustomTarget="#{Panel2}"   />
              </Click>
           </AjaxEvents>
        </ext:Button>
    but I can't find the "Timeout" attribute of any elements.
  4. #4

    RE: Request Failure!

    Hi jachnicky,

    <Click OnEvent="LoadDetails" Timeout="60000">

    Hope this helps.


    Geoffrey McGill
    Founder
  5. #5

    RE: Request Failure!

    Hi jachnicky,

    Vladimir just reminded me that .Timeout was added with v0.7. The property is not available on the v0.6 release.*


    Geoffrey McGill
    Founder
  6. #6

    RE: Request Failure!

    hi,
    Geoffrey,I am sorry,it does work,the "Timeout" is not the public attribute of the Class?Coolite.Ext.Web.ComponentAjaxEvent.
  7. #7

    RE: Request Failure!

    :'(
  8. #8

    RE: Request Failure!

    Are you running a long (>30 seconds) process on the server?

    Can you make a simplified AjaxEvent test, say updating the .Text of a <ext:Label>, just to confirm that the AjaxEvent functionality is actually working properly?


    Geoffrey McGill
    Founder
  9. #9

    RE: Request Failure!

    Yes,I am sure it is timeout,because I run it in another program it spend time more than 30s.

Similar Threads

  1. Request failure error
    By Vaishali in forum 1.x Help
    Replies: 0
    Last Post: May 09, 2012, 5:23 AM
  2. Replies: 16
    Last Post: Oct 04, 2011, 5:17 PM
  3. Request Failure in Opera
    By Dgsoft.ru in forum 1.x Help
    Replies: 2
    Last Post: Jul 30, 2009, 5:37 AM
  4. Ambiguous Request Failure
    By yaser82 in forum 1.x Help
    Replies: 8
    Last Post: Apr 27, 2009, 11:13 AM
  5. Request Failure!
    By jachnicky in forum 1.x Help
    Replies: 0
    Last Post: Dec 11, 2008, 3:26 AM

Posting Permissions