Trouble adding AjaxSetting

3 posts, 0 answers
  1. staleb
    staleb avatar
    37 posts
    Member since:
    Sep 2006

    Posted 07 Nov 2011 Link to this post

    Hi
    I have been upgrading an appication from Asp.Net to Asp.Net Ajax. But I'm having trouble making the ajax part working.
    All I get is this error:
    "Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled." 

    As soon as I add a Ajaxsetting programatically or through html I get the same error. 

    I have been stuck on this error some while now. I have browsed the forum for help, but cant seem to find a solution to my problem.

    Adding a simple page that produces this error

    Please help

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Nov 2011 Link to this post

    Hello Staleb,

    Check the following help documentation which explains more about this.
    Known Reasons for Error Messages.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. staleb
    staleb avatar
    37 posts
    Member since:
    Sep 2006

    Posted 09 Nov 2011 Link to this post

    Finally found the reason for my trouble.
    In the web.config there was an refference to an asp.net 2.0 module 
    <httpModules>
          <add type="WhitespaceModule" name="WhitespaceModule" />
        </httpModules>
    Removing this solved the problem finally! :)
Back to Top