1

Security Validation for this pageWe recently moved some users from other domain to Production domain. Now when they try to delete or move documents in a document library they are getting following error :

"The Security validation for this page is invalid. Click back in your web browser, refresh the page, and try your operation again."

Please help this is an urgent issue.

0

Sometimes whenever we update any list item, list or SPWeb instance you may get

"The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again"

This is because of some security validation while updating the modification to the content database, so, in order to escape from that exception we have to make AllowUnsafeUpdates property of the SPWeb instance as true.

SPWeb oWeb = new SPWeb();

oWeb.AllowUnsafeUpdates = true;

AllowUnsafeUpdates property is used to Gets or sets a Boolean value that specifies whether to allow updates to the database as a result of a GET request or without requiring a security validation. SPSite class also has this property.

http://blogs.msdn.com/b/sowmyancs/archive/2008/03/15/exception-the-security-validation-for-this-page-is-invalid-click-back-in-your-web-browser-refresh-the-page-and-try-your-operation-again.aspx

http://ktskumar.wordpress.com/2009/03/09/the-security-validation-for-this-page-is-invalid-click-back-in-your-web-browser-refresh-the-page-and-try-your-operation-again/

-2

We used and alternate option to delete the files and folders using the delete icon in ribbon.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.