The Ajax method performs a jump or load operating system to report such errors Sys.WebForms.PageRequestManagerParserErrorException: How to get the solution

Source: Internet
Author: User

When you use Response.Redirect () in your code; or Response.Write (), will inevitably encounter Sys.WebForms.PageRequestManagerParserErrorException: The problem, this time encountered the problem error tip:

Sys.WebForms.PageRequestManagerParserErrorException:The message received from the server could is not being parsed. Common causes for this error was when the response was modified by calls to Response.Write (), Response filters, httpmodules , or server trace is enabled. Details:error parsing near ' <script type= ' text/j '.

Background registration script error to foreground.

Workaround:
Add directly in Web. config

<add name= "Scriptmodule" type= "System.Web.Handlers.ScriptModule, System.Web.Extensions, version=1.0.61025.0, Culture=neutral, publickeytoken=31bf3856ad364e35 "/>

Successfully solved!

The Ajax method performs a jump or load operating system to report such errors Sys.WebForms.PageRequestManagerParserErrorException: How to get the solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.