Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Pawan
(35)
Deepika Harida...
(32)
Nadheera V
(30)
Last 7 Days
Nikhil Gaur
(598)
Anil Kumar ...
(582)
Abhisek Panda
(451)
more...
Resources
»
Articles
»
ASP.NET/Web Applications
»
Sharepoint:The security validation for this page is invalid. Click Back in your Web browser.
Posted Date: 29 Oct 2008
Resource Type:
Articles
Category:
ASP.NET/Web Applications
Author:
Gitolekha Ray
Member Level:
Gold
Rating:
Points
: 5
Sometimes while trying to delete documents or move documents from one library to another we get an error "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again” while trying to move documents from one document library to another document library."
This error is caused due to security validation. So there should be a way out to turn it off. One method to turn off security is:
Central Administration—>application management—->web application general settings–>turn security validation off
But, if we always keep it on there might be danger of malicious code.
So, we should handle this through coding, turn off security validation for our code to execute and then again turn it on.
SPWeb ospWeb = SPContext.Current.Web;
Microsoft.SharePoint.Administration.SPWebApplication webApp = ospWeb.Site.WebApplication;
webApp.FormDigestSettings.Enabled = false;
// our code should be inserted here
webApp.FormDigestSettings.Enabled = true;
For more details, visit
http://techolyvia.wordpress.com/2008/10/24/the-security-validation-for-this-page-is-invalid-click-back-in-your-web-browser-refresh-the-page-and-try-your-operation-again/
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
Sharepoint
.
Security validation off
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Session / State Management in .Net
Previous Resource:
Binary tree
Return to Discussion Resource Index
Post New Resource
Category:
ASP.NET/Web Applications
Post resources and
earn money
!
Related Resources
Session / State Management in .Net
Exception Handling in Asp.Net
DropDownList asp.net Control problems and challanges faced using appenddatabound items and autopostb
ASP.NET MVC – A Step Ahead Series : Part-I
Opening older version of a document in sharepoint
Adding users to sharepoint site
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use