Ajax方法执行跳转或者加载操作系统报出这样错误Sys.WebForms.PageRequestManagerParserErrorException:如何让解决
2014-09-28 11:57
831 查看
当你在代码中使用Response.Redirect(); 或者Response.Write();难免会遇到Sys.WebForms.PageRequestManagerParserErrorException:的问题,这次遇到的问题错误提示:
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 '<script type='text/j'.
后台向前台注册脚本错误。
解决方法:
直接在web.config中添加
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
成功解决!
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 '<script type='text/j'.
后台向前台注册脚本错误。
解决方法:
直接在web.config中添加
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
成功解决!
相关文章推荐
- Sys.WebForms.PageRequestManagerParserErrorException错误的解决方法
- Sys.WebForms.PageRequestManagerParserErrorException错误的解决方法
- [转]Sys.WebForms.PageRequestManagerParserErrorException的解决方法
- UpdatePanel 报错 Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException:解决办法
- Sys.WebForms.PageRequestManagerParserErrorException的解决方法
- asp.net ajax Sys.WebForms.PageRequestManagerServerErrorException 500 解决方法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Ajax Throws Sys.WebForms.PageRequestManagerErrorException with Response.Redirect的解决方法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Ajax Throws Sys.WebForms.PageRequestManagerErrorException with Response.Redirect的解决方法
- UpdatePanel 报错 Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException:解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerParserErrorException解决方法之一
- Sys.webforms.PageRequestManagerParserErrorExcept(ajax刷新用response或transfer跳转遇到的问题解决办法)