Error: SYS. webforms. pagerequestmanagerservererrorexception: Unknown error occurs when the server processes the request. The status code returned by the server is 500.

Source: Internet
Author: User

Error: SYS. webforms. pagerequestmanagerservererrorexception: handled on the server

An unknown error occurs during the request. The status code returned by the server is 500.

========================================================== ========================================================== ============

 

Method 1:
Add this code to Web. config without verifying the event data.
<System. Web>
<Pages enableeventvalidation = "false"/>
</System. Web>
Problem: This code originally exists in my web. config, but my local computer and some computers won't

The above error occurs, but some computers may become depressed ......

Method 2:

Add enablepartialrendering = "false" to scriptmanager to display detailed error messages.

.

As follows:
<Asp: scriptmanager runat = "server" enablepartialrendering = "false"/>
Problem: This method will make the page have a screen flushing effect. I am trying to solve the screen flushing problem, so I cannot solve my problem.

Question

Method 3:
The general cause is that there are potential dangerous characters on the page. Add validaterequest = "false" to the header"

As follows:

<% @ Page Language = "C #" masterpagefile = "~ /Masterpages/companymanage. Master"

Codefile = "companyintroedit. aspx. cs"

Inherits = "companyintroedit" Title = "untitled page" validaterequest = "false"

%>

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.