[CLOSED] BADRESPONSE: syntax error

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] BADRESPONSE: syntax error

    Hi,

    A User is getting a BADRESPONSE message during a DirectEvent.
    This is not happening to everyone, and not always just sometimes.

    Can somebody tell me why he's getting this message?

    As additional info, we're using gzip compression.

    Thanks!

    Ariel
    Attached Thumbnails Click image for larger version. 

Name:	BADRESPONSE.jpg 
Views:	174 
Size:	81.0 KB 
ID:	2298  
    Last edited by Daniil; Feb 16, 2011 at 1:34 PM. Reason: Marked as [CLOSED]. No more information was provided.
  2. #2
    Quote Originally Posted by asztern View Post
    Can somebody tell me why he's getting this message?
    I believe this error is thrown when a response does not return successfully.
    Geoffrey McGill
    Founder
  3. #3
    So that it means? a communication problem?
  4. #4
    Quote Originally Posted by asztern View Post
    So that it means? a communication problem?
    It's difficult to say exactly what the is causing the problem, but yes it is a communication problem.
    Geoffrey McGill
    Founder
  5. #5
    How can I get more information to debug this problem?
    Can you give me a clue?
  6. #6
    Hi,

    I recommend to investigate responseText of response argument
    <SomeDirectEvent Failure="alert(response.responseText);" />
    It will be good if you can post that responseText
  7. #7
    Thank you Vladimir,

    The problem is that I have this in the Failure property:

    Failure="Ext.MessageBox.alert(strSaveErrorMessage, result.errorMessage);#{btnSaveAndCloseFooter}.enable();"
    How can I add your code in order to show that message only when the error is thrown?

    Cheers,
    Ariel
    Last edited by geoffrey.mcgill; Feb 09, 2011 at 10:15 PM. Reason: please use [CODE] tags
  8. #8
    Hi,

    Failure="Ext.MessageBox.alert(strSaveErrorMessage, response.responseText);#{btnSaveAndCloseFooter}.enable();"
  9. #9
    I meant: how could I add your code in order to show the response.responseText only when this BADRESPONSE is thrown. If this is not the error, I'll like to show the errorMessage.
  10. #10
    Failure="Ext.MessageBox.alert(strSaveErrorMessage, result.errorMessage.indexOf("BADRESPONSE") >=0 ? response.responseText : result.errorMessage);#{btnSaveAndCloseFooter}.enable();"
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: Aug 09, 2012, 1:27 PM
  2. Replies: 17
    Last Post: Oct 12, 2011, 4:54 PM
  3. Replies: 4
    Last Post: Sep 26, 2011, 2:59 PM
  4. Replies: 4
    Last Post: Jan 25, 2011, 10:39 AM
  5. [CLOSED] AjaxMethod Error = BADRESPONSE: Syntax error
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 05, 2008, 6:37 PM

Posting Permissions