The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again
This error occurred to me when I introduce ElevatedPrivilages block to the project.
SPSecurity.RunWithElevatedPrivileges(delegate()I refreshed the page and still I got the error. Then I found that I missed the
{…}
web.AllowUnsafeUpdates = true;
in the code.
Comments