SYS. webforms. pagerequestmanagerservererrorexception: an unknown error occurred while processing the request on the server. The status code returned from the server was: 500 Error Solution
My solution:
In web. config
<System. Web>
<Pages enableeventvalidation = "false"/>
</System. Web>
Reprinted solution:
SYS. webforms. pagerequestmanagerservererrorexception: an unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Add enablepartialrendering = "false" to scriptmanager to display detailed error information.
As follows:
<Asp: scriptmanager id = "scriptmanager1" runat = "server" enablepartialrendering = "false"/>
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 "autoeventwireup =" true "codefile =" companyintroedit. aspx. cs "inherits =" companyintroedit "Title =" untitled page "validaterequest =" false "%>