Hello VB,

Actually this is a "default" error for the ajax problems. Of course there
are specific ones, but this one is thrown if there is no specific ones. You
don't have to actually use a Response.Write() command to get it, but you
will if you do.

First of all, we've gotta understand what the problem is telling us. When a
postback occurs using ajax, it is not a full postback, it is named a partial
postback. It means that only the part of the page which UpdatePanel is
surrounding it, will be send to the server.
Since it is a partial postback, not every control does know how to "request"
and "parse" the message to/from the server, so what happened is that the
request to the server sent something that ScriptManager couldn't parse.
Since we don't know what it is because we can't actually see the request
package, ANYTHING could happened in there.

We could try to replicate your page and help you better, if you paste your
codes here and send us: http://dotnetdevelopment.pastebin.com/

Anyway, close your browser, open it, press ctrl + F5 (to clean cache),
access your page and try it again. With that, we can eliminate a browser
problem. Another issue causer would be associated with controls inside an
UpdatePanel control, or even a control trying to retrieve something inside
the UpdatePanel and this control is actually outside the UpdatePanel. Maybe
it is a problem in the database also.

Debug your application and walkthrough the page life cycle, methods, events
to see WHERE is happening. With that, you can actually start looking what is
wrong.

On Wed, Oct 21, 2009 at 6:04 AM, VB <[email protected]> wrote:

>
> How we can avoid below mentioned error....
> I am using VS.NET 2005 and using AJAX update panel....and getting
> error and I didn't use Response.Write() anywhere.
>
> 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. Details:
> Error parsing near '                   |<html>     <head> '.
>
> Thanks




-- 
Atenciosamente,
Paulo Roberto S. Pellucci

Reply via email to