The security validation for this page is invalid
Problem:
After applying SharePoint 2010 Service Pack 1 and June 2011 Update, you start getting an exception “The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.” in your InfoPath forms when you try to do certain actions like adding an attachment to the form.
Checking the ULS logs, you see the following error:
Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot b
e found. Callstack: at Microsoft.SharePoint.SPGroupCollection.Get
ByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.s
et_SharePointGroupID(Int32 value).
Cause
This is a known bug in the June 2011 update and there is no known fix from Microsoft at the time this post is written.
Solution
The work-around is to disable Web Page Security Validation in the Web Application settings.
- Open Central Administration -> Manage Web Applications -> General Settings
- Web Page Security Validation -> Off.
- OK
Note: This work-around causes issues with InfoPath form postbacks and creating document libraries / subsites. Use the following guide instead to fix this issue:
http://www.mysharepointadventures.com/2011/08/june-2011-cu-woes-workaround-for-infopath-forms-error/
Categories
Recent Posts
- Save document library as template option not available
- Short break
- Speed up SharePoint using the IIS Blobcache
- Could not generate mail report.An exception occurred while executing a Transact-SQL statement or batch.No global profile is configured. Specify a profile name in the @profile_name parameter.
- Microsoft SharePoint is not supported with version 4.0.30319.296 of the Microsoft .Net Runtime.
Popular Posts
- SharePoint Keeps Prompting for Credentials Problem SharePoint keeps prompting you for credentials in the following scenarios: You ...
- Security Token Service Application- Broken Problem Had an issue today on one of my developer's VMs. ...
- User Profile Service Stuck on Starting Problem You have followed Harbar's Rational Guide to setting up the ...
- Event 8313 Topology – Load Balancer EndpointFailure – SearchService.svc Problem Encountered the following error while analysing the logs on our ...
- Event 6398 and 5586 SharePoint Foundation Problem Event logs were getting filled with the following errors: Event 5586, ...
- The security validation for this page is invalid Problem: After applying SharePoint 2010 Service Pack 1 and June 2011 ...
- The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. Problem You install .NET Framework 4.0 on your SharePoint 2010 WFE ...
- Start a workflow using PowerShell Requirement Start a workflow on all / specific items in a ...
- Using Export-SPWeb to export libraries / lists This is a simple one but many people get the ...
- Unable to change User Profile Service Account Problem So you made a mistake by trying to change the ...
Tags
Backup and Restore Branding Content Management Content Organizer database Debugging Document Conversion Service DPM Event 7362 Expiration Policy IIS InfoPath Information Management Javascript KB2266203 Masterpage Migration Mysite OCS Office Page Layouts PowerPivot Powershell RBS Records Center Regional Settings Search Search Center Security Send-to Connection SharePoint Diagnostic Studio SharePoint Manager Solutions SPD Uploading Usage and Health Data Collection User Profile Service Visual Upgrade Web Analytics Web Content Management Webdav Webparts Workflow WSS XSLT
