Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Unknown error (security validation) when modifying user permission on a master page?

Posted on 2011-02-13
4
Medium Priority
?
877 Views
Last Modified: 2012-05-11
We have a inner master page wth custom css that our departments are "supposed" to be able to edit however it is not working that way.
I am the farm administrator and site collection admin.  I went to remove a user from the master page and received an error.  Can you tell me what might be causing this and how I can fix this...
The only workaround I have right now is to turn off security validation in Central Admin but I can't do this each time a user needs to add a user or add an object to a library...

System.Runtime.InteropServices.COMException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.  
 at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateMembers(String bstrUrl, UInt32 dwObjectType, String bstrObjId, Guid& pguidScopeId, Int32 lGroupID, Int32 lGroupOwnerId, Object& pvarArrayAdd, Object& pvarArrayAddIds, Object& pvarArrayLoginsRemove, Object& pvarArrayIdsRemove, Boolean bRemoveFromCurrentScopeOnly, Boolean bSendEmail)    
 at Microsoft.SharePoint.Library.SPRequest.UpdateMembers(String bstrUrl, UInt32 dwObjectType, String bstrObjId, Guid& pguidScopeId, Int32 lGroupID, Int32 lGroupOwnerId, Object& pvarArrayAdd, Object& pvarArrayAddIds, Object& pvarArrayLoginsRemove, Object& pvarArrayIdsRemove, Boolean bRemoveFromCurrentScopeOnly, Boolean bSendEmail)
0
Comment
Question by:swtjen1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 14

Expert Comment

by:KoenVosters
ID: 34889612
They are probably using custom code, and in that custom code the yare not using AllowUnsafeUpdates correctly.

http://www.sharepoint-tips.com/2007/09/security-validation-for-this-page-is.html
0
 

Author Comment

by:swtjen1
ID: 34920644
Well I'm so glad the consultants used custom code so that they could leave me with it.

How do I fix this where it can allow safe updates???
0
 
LVL 14

Accepted Solution

by:
KoenVosters earned 2000 total points
ID: 34923977
You will have to implement the solution in the code, recompile, test and redeploy.
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 34923978
You will have to implement the solution in the code, recompile, test and redeploy.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question