Ajax error 12029

Source: Internet
Author: User
The feature of my error here is: Put A gridview in updatepanle and use a timer to update the data in the gridview. Error 12029 is often reported on the page. The specific error is as follows:
SYS. webforms. pagerequestmanagerservererrorexception: an unknown error occurred while
Processing the request on the server. The status code returned from the server was: 12029
The specific solution is to add a script on the page to capture this error and then handle it:

Function endrequesthandler (sender, argS)
{
If (ARGs. get_error ()! = Undefined)
{
If (ARGs. GET_RESPONSE (). get_statuscode () = '000000') | (ARGs. GET_RESPONSE (). get_statuscode () = '000000 '))
{
Alert ('check whether you are connected to the Internet ');
}
}
}

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.