消息:Sys.WebForms.PageRequestManagerParserErrorException:无法解析从服务器收到的消息。此错误的常见原因是通过调用...修改响应时 [英] Message: 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...

查看:165
本文介绍了消息:Sys.WebForms.PageRequestManagerParserErrorException:无法解析从服务器收到的消息。此错误的常见原因是通过调用...修改响应时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我的测试环境出现以下错误:



网页错误详细信息



用户代理:Mozilla / 4.0(兼容; MSIE 8.0; Windows NT 6.1; WOW64; Trident / 4.0; GTB7.5; SLCC2; .NET CLR 2.0。 50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)

时间戳:星期四,2014年7月10日12:47:37 UTC





消息:Sys.WebForms.PageRequestManagerParserErrorException:无法解析从服务器收到的消息。此错误的常见原因是通过调用Response.Write(),响应过滤器,HttpModules或服务器跟踪来修改响应时。

详细信息:解析'
$附近时出错b $ b

<!DOCTYPE html P'。

行:938

字符:13

代码:0



有趣的是同一段代码适用于我的本地环境,但不能用于测试。



我在页面上使用AjaxToolKit和UpdatePanel。我点击的按钮就是这个错误是在updatepanel中,我不想删除它。



请建议。



谢谢,

Surendra

Hi All,

I am getting following error on my test environment:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Thu, 10 Jul 2014 12:47:37 UTC


Message: 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'.
Line: 938
Char: 13
Code: 0

The interesting thing is same piece of code works on my local environment but does not work on test.

I am using AjaxToolKit and UpdatePanel on the page. The button on click of which I am getting this is error is in updatepanel and i don't want to remove the same.

Please suggest.

Thanks,
Surendra

推荐答案

阅读以下文章。你会发现这个错误的实际原因。


1. Sys.WebForms.PageRequestManagerParserErrorException - 它是什么以及如何避免它[[a href =http://weblogs.asp。 net / leftslipper / sys-webforms-pagerequestmanagerparsererrorexception-what-it-and-how-to-avoid-ittarget =_ blanktitle =New Window> ^ ]

2. Sys.WebForms.PageRequestManagerParserErrorException [ ^ ]
Read the following articles. You will find the actual causes of this error.

1. Sys.WebForms.PageRequestManagerParserErrorException - what it is and how to avoid it[^]
2. Sys.WebForms.PageRequestManagerParserErrorException[^]


这篇关于消息:Sys.WebForms.PageRequestManagerParserErrorException:无法解析从服务器收到的消息。此错误的常见原因是通过调用...修改响应时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆