Click to See Complete Forum and Search --> : asp.net ajax webfarm problem


pontonet
03-20-2007, 03:38 PM
Hi,

I`ve done an ASP.NET AJAX website and it works perfectly on my development machine. Ok! But when I try to deploy my application on a webfarm scenario my website doesn`t work properly.
It comes out with the following error message sometimes:

"
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 '


<!DOCTYPE html P'.
"

This problem occurs randomly. Apparently, it`s due to the load balance configuration on our web servers. I think when the request goes to another machine my website crashes.

Any hint would be very appreciated. :]

ecureuil
04-13-2007, 05:00 PM
I have the same problem :/ This error appears randomly, mostly in online version and is very hard to track.

Have you found any solution?

PeOfEo
04-16-2007, 09:08 AM
AFAIK there is no practical solution at the moment, ASP.NET AJAX was not built with a webfarm scenario in mind unfortunately. The only way I can think to make this work is to keep sessions on that server, which you may or may not be able to do depending on if you have access to the load balancing appliance / router / whatever.