【发布时间】:2008-11-14 13:45:46
【问题描述】:
我的网站在尝试执行任何 Ajax 活动时一直出现间歇性错误。我得到的消息是
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'.
所以它显然是某种服务器超时或服务器只是返回损坏的垃圾。不幸的是,这通常会发生
【问题讨论】:
-
@Phil - 我注意到你将 splattne 的答案标记为正确,但你在下面的评论中说它们都不适用。我遇到了同样的问题,也没有任何“原因”适用于我。您最终找到的解决方案是什么?
-
@AdamBT -- 抱歉,我在 2 月份从那份工作中被解雇,实际上不记得我们做了什么。对不起,我错过了你这么久的评论。
标签: javascript asp.net .net exception-handling ajax.net