[CLOSED] Form.submit - returned message: When run in sourcecode, works fine. After compiled, don´t works

Page 1 of 3 123 LastLast
  1. #1
    Last edited by Daniil; Jul 31, 2012 at 12:29 PM. Reason: [CLOSED]
  2. #2
    I don't think that write to response directly in classic webservice is good idea (webservice methods are not designed for that, ASP.NET writes to reponse also after webservice calling)
    Use http handler instead webservice (or use WCF web services)
  3. #3
  4. #4
    In Time:

    The file is upload to my Database... Only de message return is not received by javascript
  5. #5
    We think that a response should be wrapped in
    <textarea>response</textarea>
    You could try to use DirectResponse.

    Example

    DirectResponse r = new DirectResponse();
    byte[] b = { 1, 2, 3};
    r.Result = JSON.Serialize( b);
    r.IsUpload = true;
    r.Return();
    Though we are not 100% sure it will work in that case.
  6. #6
  7. #7
  8. #8
    Please clarify are you saying that everything works on your local machine and not when you deploy it? If so, please compare the request/response in both cases.
    Yes... exactly... but, How I can compare the request/response after deploy in my server? Wich app I can use to see the request/response after deploy?
  9. #9
    For both cases you can use FireFox FireBug, IE9 or Chrome Developer Tools to investigate requests.

    By the way, is the issue reproducible in all browsers?
  10. #10
    Attached Files
Page 1 of 3 123 LastLast

Similar Threads

  1. [CLOSED] Special characters dosen't works in message box in IE8
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 03, 2012, 12:01 PM
  2. Replies: 22
    Last Post: Feb 03, 2012, 6:58 PM
  3. Replies: 0
    Last Post: Jun 22, 2011, 1:52 PM
  4. Replies: 3
    Last Post: Jun 04, 2011, 9:23 AM
  5. [CLOSED] Submit gridpanel data in form submit
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 14, 2010, 7:25 PM

Posting Permissions