SharePoint Error "The security validation for this page is invalid" when delete an item

Hi,
I have SharePoint 2010 setup and works fine until today all of a sudden it throws error "The security validation for this page is invalid" when delete a SharePoint document or list item.
There is no custom event handler deployed on library/list, and it should not be account issue as the same account works yesterday, and even after I turn off security validation from Central Admin, it still doesn't work.
The only change I did is turn off Dynamic Compression from IIS, after that I tried enable back Dynamic Compression but it still doesn't work.
Does anyone know what could be the possible reasons? Thanks in advance.

hi,
 in the page just try to make this :
<SharePoint:FormDigest runat="server" />
PrasadWT

Similar Messages

  • JavaScript - Error: The security validation for this page is invalid...

    Hi there,
    I have a question regarding javascript and the security validation.
    I have created a custom action for a document library. This custom action should update a field in all selected documents by the user. But when I do the update, I got this error message:
    "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."
    I know, I could AllowUnsafeUpdates, if I were using C#, but actually I can only use JavaScript at this stage. Or does anybody know, how to allow this or switch to C# in this area?
    Here is my custom action:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="GrolmansJavaScriptFile"
    ScriptSrc="~site/_layouts/SharePoint-Z-Drive-Project/gg1855.js"
    Location="ScriptLink">
    </CustomAction>
    <CustomAction
    Description="Approve Documents"
    Title="Approve Documents"
    Id="RibbonDocumentsManageApproveDocuments"
    Location="CommandUI.Ribbon"
    RegistrationId="10000"
    RegistrationType="List"
    Sequence="0"
    xmlns="http://schemas.microsoft.com/sharepoint/">
    <CommandUIExtension xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Define the (UI) button to be used for this custom action -->
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Manage.Controls._children">
    <Button Id="Ribbon.Documents.Manage.ApproveDocuments"
    Command="{4E2F5DC0-FE2C-4466-BB2D-3ED0D1917763}"
    Image32by32="~site/_layouts/Images/SharePoint-Z-Drive-Project/approve_document_32x32.png"
    Image16by16="~site/_layouts/Images/SharePoint-Z-Drive-Project/approve_document_16x16.png"
    Sequence="0"
    LabelText="Approve Documents"
    Description="Approve Documents"
    TemplateAlias="o1" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <!-- Define the action expected on the button click -->
    <CommandUIHandler Command="{4E2F5DC0-FE2C-4466-BB2D-3ED0D1917763}" CommandAction="javascript:void(ApproveDocuments());" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    And here is my JavaScript code file:
    function ApproveDocuments()
    var siteUrl = '/';
    var clientContext = new SP.ClientContext(siteUrl);
    var currentlibid = SP.ListOperation.Selection.getSelectedList();
    var currentLib = clientContext.get_web().get_lists().getById(currentlibid); //Gets the current Library
    var selectedItems = SP.ListOperation.Selection.getSelectedItems(clientContext);
    for (var i in selectedItems) {
    currentLib.getItemById(selectedItems[i].id).set_item('DocumentStatus', 'Approved');
    currentLib.getItemById(selectedItems[i].id).update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded()
    alert('Document approved:' + newListItem.get_id());
    function onQueryFailed(sender, args)
    alert('Document approval failed: ' + args.get_message() + '\n' + args.get_stackTrace());
    Any idea, how to perform the update on the selected items?
    Thanks for any hint.
    Dennis

    Ok, I found the reason. 
    I just had to replace the SP.ClientContext line in JavaScript.
    Instead of
    var clientContext = new SP.ClientContext(siteUrl);
    I need to use this one:
    var clientContext = SP.ClientContext.get_current();
    Dennis

  • The security validation for this page is invalid

    I am trying to declare items in doc library inside a specific folder as records. This is my code:
    using (SPWeb site = SPContext.Current.Site.OpenWeb("myClassicSite")) {               
                        site.AllowUnsafeUpdates = true;
                        SPList list = site.Lists.TryGetList(currentDocLibName);
                        SPFolder folder = list.GetItemById(foldId).Folder;
                        try {
                                SPDocumentLibrary doclib = (SPDocumentLibrary)site.Lists.TryGetList(currentDocLibName);
                                SPView defaultView = doclib.Views["my custom view"];
                                SPListItemCollection docColl = doclib.GetItemsInFolder(defaultView, folder);
                                foreach (SPListItem item in docColl) {                              
                                    Records.DeclareItemAsRecord(item); // throws exception here
                        } catch (Exception) {
    It throws exception: "The security validation for this page is invalid"
    I just can't declare items as records, I tried RunwWithElevetedPriviledges, AllowUnsafeUpdate, and SPWebapplication.FormDigestSettings.Enabled = false;
    What am I doing wrong?

    Have you tried adding SPUtility.ValidateFormDigest(); before the start of your code section? Have a look at the article below for more info on the same.
    http://blogs.technet.com/b/meamcs/archive/2011/04/04/troubleshooting-sharepoint-error-the-security-validation-for-this-page-is-invalid.aspx
    The problem should be originating because of the use of AllowUnsafeUpdates in your code above. Here is a good writeup on best practices when using AllowUnsafeUpdates in the code:
    https://hristopavlov.wordpress.com/tag/formdigestsettings/
    Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question.

  • The security validation for this page is invalid – Infopath 2010

    Hello Experts,
    I have created browser enabled Infopath form and written a custom code (infopath 2010). I have a “Save” button on a form that submits the data into multiple relational sharepoint list. While debugging through VSTA everything goes well and successfully submits
    the data, but after publishing a form(browser enabled) I am not able to save a data to sharepoint list. When I Clicked on save button, it just refreshing a page, even the same was getting after
     made it to full trust and approved by Admin.
    Before this I was using “Submit” button to submit a form, that time I was getting a popup with the message “There has been an error while processing the form”. And in log files it was showing error message as “The security validation
    for this page is invalid”.
    I referred many blogs regarding validation error and tried almost everything in every way, some of shortly mentioned below,
    Formdigest (It not works for me)
    Security Validation (It works perfectly)
    The second option is working for me.  (But this is not a good practice and also not recommended)
    Just want to know “Without making Security Validation Off” how can I resolved this validation issue from infopath 2010 form.
    Please share your thoughts on this. Any help is appreciated.
    Regards,
    Uday

    Hi Uday,
    Have you tried SPWebapplication.FormDigestSettings.Enabled = false to turn off the digest setting property for the web application? See this blog for the details.
    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/
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Update list item with managed metadata field returns The security validation for this page is invalid

    Using SharePoint 2010 Server
    I'm attempting to programtically update a managed metadata field in a document library. I'm able to do it without issue on all other non-managed metadata fields. When I attempt it on a MM field I get the error message
    "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."
    After some digging I realised that this error was being caused because SharePoint was trying to write to the TaxonomyHiddenList list (../sites/mysite/Lists/TaxonomyHiddenList/AllItems.aspx)
    When I update a document through the browser with a term (Term01), it shows up in this TaxonomyHiddenList . I can then run my application, apply Term01 to my new document and it works fine. But if I apply Term02 to my new document it gives me the error above.
    Summary
    My app can read the TaxonomyHiddenList fine but it can not perform an operation that would write to it, resulting in not being able to update the MM field.
    Question
    Is there any advice on how I can further debug this issue?

    Hi,
    According to your post, my understanding is that you want to update managed metadata field in document library programmatically.
    I have made a simple code demo below to updata managed metadata field in document library, it works like a charm, you can refer to it.
    public static void UpdateMSField()
    using (SPSite site = new SPSite("http://YourSiteURL"))
    using (SPWeb web = site.OpenWeb())
    //SPList list = web.Lists.TryGetList("Libs_1");
    SPDocumentLibrary lib = (SPDocumentLibrary)web.Lists["Libs_1"];
    // No point in proceeding if we can't find the list
    if (lib != null)
    // add a new item
    // SPListItem item = list.AddItem();
    SPListItem item = lib.GetItemById(1);
    //Console.WriteLine(item.Name);
    // get the current taxonomy session, which wraps up all of the
    // associated TermStore objects for this SPSite object
    TaxonomySession metadataService = new TaxonomySession(site);
    // get the taxonomy field
    TaxonomyField taxField = item.Fields["MMS_1"] as TaxonomyField;
    // get the term store associated with the taxonomy field
    TermStore termStore = metadataService.TermStores[taxField.SspId];
    // get the actual term set associated with the taxonomy field
    TermSet termSet = termStore.GetTermSet(taxField.TermSetId);
    // search for the terms we wish to set the field to
    var terms = termSet.GetTerms("term_1", true, StringMatchOption.ExactMatch, 1, false);
    // if we have found a term populate the field
    if (terms.Count > 0)
    // set the field to the term(s) we have found
    taxField.SetFieldValue(item, terms.First());
    // Update the item
    item.Update();
    Console.WriteLine("success...");
    More reference:
    http://www.3guysonsharepoint.com/?p=1052
    http://vineet-winit.blogspot.com/2013/04/how-to-update-managed-metadata-field-in.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Enable the security configuration for this panel

    Why do my panels built with Configurator sometimes display
    this in Ps Cs4?
    "Please close all panels or restart Photoshop to enable the
    security configuration for this panel"
    Closing panels or restarting Photoshop does not enable the
    panels but exporting from Configurator does enable them. Why do I
    have to keep exporting?

    I believe I have stumbled on the answer to this problem, so I
    would like to pass it along to any other users who have a similar
    problem.
    My experience is that this is an intermittent problem, so I
    asked myself what do I do from time to time that could be causing
    this difficulty. The answer is I use a program called CC cleaner to
    clean out temporary files (that in theory I don't need). I found
    that after running CC cleaner, I have to re-export the
    configuration file (as I get the error message described in an
    earlier posting) so that the configurator panel subsequently opens
    properly when I open up C S 4.
    I immediately ran CC cleaner again and found that it wanted
    to delete only one group of files that were located in the
    following folder:
    C:\Documents and settings\user's name\application
    data\Macromedia\flash player\*.*
    Accordingly, I instructed " CC cleaner", to exclude this
    folder and everything in it (from deletion):
    Now if I run CC cleaner to get rid of all my temporary
    Internet files and other temporary files, but it leaves the above
    folder untouched, and so far the configurator panel opens up
    properly in Photoshop.
    I don't use Windows "disk cleaner" so I'm not sure whether or
    not this cleaner represents a potential problem. In any event it's
    the Macromedia folder described above that causes the problem.
    It's clear that Adobe configurator uses Macromedia flash to
    do its thing, so hopefully I've solve this problem
    long-term.

  • When i install latest itunes gives an error the configuration data for this product is corrupt.how can i i fix it

    hi there
    i was trying to install latest itunes it gives error
    the configuration data for this product is corrupt contact your personal support
    how can i fix it and what is the reason for this error

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Bonjour64 error: "The configuration data for this product is corrupt.  Contact your support personnel."

    Have use WinRAR to pull out only Bonjour64 from iTunes 11.1.5 (and prior releases) to do an install of only Bonjour, as all other iTunes-related software loads fine (have used 11.1.4 and new 11.1.5).  I get the error: "The configuration data for this product is corrupt.  Contact your support personnel."  Have tried everything suggested on net and this forum, including uninstalling everything, cleaning registry, disabling firewall, etc.  Not worthwhile to reinstal Windows 7.  What do I do? 

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page). Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • In perfdatasource querying for global snapshot failed with error 'the size limit for this '

    I received  scom alerts from two win 2k8 r2 servers , hosting exchange 2010 mailbox roles , the alerts came almost in same time from both servers ,
    can I ignore those alerts
    or can someone give a me a clue how can I troubleshoot those alert , please any help would be appreciated
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this '
    from Ops-mgmt logs 
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 1
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.OperatingSystem.PercentMemoryUsed.Collection 
    Instance name: Microsoft Windows Server 2008 R2 Enterprise  
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 1
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.LogicalDisk.PercentIdle.Collection 
    Instance name:  " edb file path "
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 2 
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.NetworkAdapter.CurrentBandwidth.Collection 
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:   server 2   
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.ForefrontProtection.FPE.Server.PerformanceCollection.RealtimeScanMessageRate

    Hi Blake , 
    Thanks for your reply , I appreciate your help  ,
    I didn't put the alert from scom console because they were same as the events ( same source )
    Health Service Modules, I didn't want to spam
    more :-)
    also the two servers encountered the issue were mailbox servers and part of same DAG , it worth mention the alert were resolved
    by Exchange 2010 Correlation Engine service 
    http://blogs.technet.com/b/kevinholman/archive/2010/10/15/clustering-the-exchange-2010-correlation-engine-service.aspx
    http://support.microsoft.com/kb/2592561
    also the Opsmgmt logs are full of waring and error event like 2023 , 21402 ,  21403 , 1207 !!
    Log Name:      Operations Manager
    Source:        HealthService
    Date:          
    Event ID:      2023
    Task Category: Health Service
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      server 1
    Description:
    The health service has removed some items from the send queue for management group "SCOM" since it exceeded the maximum allowed size of 15 megabytes.
    1- alert from console >>
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this '
    One or more workflows were affected by this.
    Workflow name: Microsoft.Windows.Server.2008.OperatingSystem.PercentMemoryUsed.Collection
    Instance name: Microsoft Windows Server 2008 R2 Enterprise 
    EventSourceName: Health Service Modules

  • I am unable to access my email. I can sign in with my password, then a message comes up that says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All plug-ins listed are enabled. What am I missing?

    I am unable to access my email from Charter.net. I can sign in with my password, then a message comes up which says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All of my plug-ins are enabled. What am I missing?

    After a great deal of searching I ran across the suggestion to disable all plug-ins and then, one by one, enable them until finally the problem was solved. I am not sure which plug-in was causing the problem, as I am satisfied to have the problem solved. I am going to leave the rest of the plug-in disabled.

  • Infospoke error +The last extraction for this InfoSpoke is not yet Complete

    Hello Experts,
                      I am receiving the error  "The last extraction for this InfoSpoke is not yet Complete " while starting the load for Infospoke.
    Please advice
    Thanks and Regards,
    Rezwan Asraf Ali

    Hi,
    This error RSBO320 is usually related to an inconsistency of infospoke internal tables which is will need to be reset manually by SAP developers. So you'll probably be best opening a ticket under BW-WHM-DBA-OHS.
    Rgds,
    Colum

  • Sharepoint 2013 the trial period for this product has expired

    Hi  am getting this error while editing the site page's.
    am checked my application pool,its running in admin credential's only.
    recently am updated to 2013 sp1. so after done updating am run sharepoint configuration wizard .am running whole this in vmware.

    Is this is a Trial Version of SharePoint you are using
    http://webcache.googleusercontent.com/search?q=cache:9kknOxy03JoJ:sureshpydi.blogspot.com/2013/03/share-point-trial-period-for-this.html+&cd=3&hl=en&ct=clnk&gl=in&client=firefox-beta
    You need to run "SharePoint Configuration wizard" or run 
    "psconfig.exe -cmd secureresources" command(c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Bin\psconfig.exe -cmd secureresources)
    http://sharepoint.stackexchange.com/questions/35313/i-am-getting-an-error-saying-the-trial-period-for-this-product-has-expired-on
    http://www.sharepointalex.co.uk/index.php/2009/10/sharepoint-the-trial-period-for-this-product-has-expired-error/
    http://ceekam.com/blog/?p=519
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/644ab342-4eaa-468c-95c1-f345a4f65f26
    If this helped you resolve your issue, please mark it Answered

  • The trial period for this product has expired - When trying to edit an InfoPath Form (Edit in Browser)

    Hello,
    When I tried to Edit an already filled InfoPath Form using "Edit in Browser" I got the "The trial period for this product has expired" message, could anyone help me where to start checking what could be wrong?
    SharePoint version 2007
    InfoPath 2007
    Form is web enabled
    Thanks

    Hi,
    Have you got the error when doing other tasks in SharePoint site?
    The issue may be due to inconsistent permissions on the 12.0 hive in the HKLM_Software registry for the WSS_WPG and WSS_ADMIN_WPG groups. The OOB permission set
    should be: WSS_WPG has Read permission and WSS_ADMIN_WPG has Full Control permission. To resolve the issue, please try to rerun "psconfig.exe -cmd secureresources" on every server in the farm will reapply the necessary permissions
    on the registry. Or you can open up the registry editor and find the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0 collection. Provide read permissions for the WSS_WPG and Full permissions for WSS_ADMIN_WPG manually.
    Hope it helps.
    Xue-Mei Chang

  • What does it mean when you get the notification certificate for this server is invalid

    What does the following mean -the certificate for this server is invalid?

    Hi, Knaresborough. 
    I would recommend checking the date and time on the computer side as this can be the cause of the issue if not set correctly.  However, here are some helpful troubleshooting articles if the issue persists. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Cheers,
    Jason H. 

  • Why does my iPod 4th generation say the certificate for this server is invalid when trying to access iTunes? I've never had an issue until this recently.

    I have never had an issue until recently that won't allow me to go onto the App Store or iTunes on my iPod touch 4th gen. It says the certificate for this server is invalid. Then it says, you might be connecting to a server that is pretending to be iTunes.apple.com which could put your confidential information at risk. How can I fix this so I can access iTunes and the App Store from my iPod again?

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings

Maybe you are looking for

  • Request timed out.- Error while opening a item in Blog

    Hi,    We have a blog in our share point portal which was running properly before few days. We get Request Timed out error while opening an item in the blog. The list contains about            3500 items [HttpException (0x80004005): Request timed out

  • What's the difference between thunderbolt and mini displayport?

    I'm trying to connect my Macbook with a monitor and I'm thinking of what cable to get. I will have to connect using a (Thunderbolt to HDMI cable) or a (mini displayport to HDMI cable). I was wondering what's the difference between Thunderbolt and min

  • Update shipment partner address E1ADRM4 & BADI_LE_SHIPMENT

    Hi, We want to update an existing shipment with updated detailed address information from an incoming Idoc from the forwarding agent. The idea is to replace the generic phone, email, name etc. with the specific clerk handling this shipment. We are on

  • Unable to open eclipse. Error file is created each time it opens hs_err_pid

    I just installed helios eclipse. Once i unzipped and opened the eclipse it asks for my workspace. I selected the path and say ok. It open the workspace and says workbench loading and suddenly the eclipse IDE closes and in the main eclipse folder i ge

  • Facing problem in Android  after generating worlflow!!

    Hi, I'm facing the below mentioned error in android device after clicking on the button instead of fetching the data from RFC its throwing an error. its fetching the data in one workspace but in another workspace its not fetching the data its throwin