When you use the Ajax control in mono, the following error occurs: Details: Error parsing near.

Source: Internet
Author: User

CentOS-6.5 + mono-3.6 + jexus-3.6.1

When using the Ajax control, there is no problem in Windows IIS. the following error is reported in Linux:

Row: 16
Error: SYS. webforms. pagerequestmanagerparsererrorexception:
The message was Ed from the server cocould not be parsed.
Common causes for this error are when the response is modified by callto response. Write (),
Response filters, httpmodules, or server trace is enabled.
Details: Error parsing near 'v>

</Div> | 6 '.

Try to add enableeventvalidation = "false" validaterequest = "false" to the page. config and

Later, the source file on the page contains Chinese garbled characters. Check that the Web. config <globalization/> character is configured as gb2312.

Change to UTF-8: <globalization requestencoding = "UTF-8" responseencoding = "UTF-8"/>

Solve the problem again. However, another problem is that Chinese characters on the page are garbled.

Add <meta charset = "UTF-8"/> On the page to debug Garbled text again

When you use the Ajax control in mono, the following error occurs: Details: Error parsing near.

Related Article

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.