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.

Similar Messages

  • 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

  • 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

  • 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

  • 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.

  • 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.

  • 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. 

  • Every time I try to access any website, I keep getting this message: Revocation information for the security certificate for this site is not available. Do you want to proceed? How do I fix this?

    This is driving me nuts !! I keep getting that message every time I try to access a website. It asks me to download the certificate, which I do, but the message still pops up. Any suggestions?

    no, I will be using wi-fi to connect. This usually happens whenever I try to back up

  • HT6146 i have remained on ios 6.1.3 on my iphone 4s and do not want to move to iOS 7.  what is the iOS security update for this version

    I use the iphone 4s and have not/do not want to update to iOS 7.  Currently i utilize iOS 6.1.3. What is the security update for this version?

    For iPhone 4s is iOS 7.0.6. Only one you can update to. iOS 6.1.6 is only for 3GS and iPod Touch 4th Gen

  • 'The state information is invalid for this page and might be corrupted' error

    An admin user added a 'widget' for internet content to be displayed on our intranet (sharepoint). Now, anytime I try to modify the page (it is still checked out) I get this error:
    The state information is invalid for this page and might be corrupted.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.
    Source Error:
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    2) Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
    Stack Trace:
    [FormatException: Invalid character in a Base-64 string.]
    System.Convert.FromBase64String(String s) +0
    System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +67
    System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
    System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
    System.Web.UI.HiddenFieldPageStatePersister.Load() +136
    [ViewStateException: Invalid viewstate.
    Client IP: 10.10.16.77
    Port: 3996
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.2) chromeframe/5.0.317.0
    ViewState: /wEPDwUJLTY1NzY2ODU3D2QWAmYPZBYCZg9kFgQCAQ9kFgICBQ9kFgJmD2QWAgIBDxYCHhNQcmV2aW91c0NvbnRyb2xNb2RlCymIAU1pY3Jvc29mdC5TaGFyZVBvaW50LldlYkNvbnRyb2xzLlNQQ29udHJvbE1vZGUsIE1pY3Jvc29mdC5TaGFyZVBvaW50LCBWZXJzaW9uPTEyLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTcxZTliY2UxMTFlOTQyOWMBZAIDD2QWDgIBD2QWAgUmZ18zYzI1NzczNl82NDAzXzQwNTlfYmE4Y19hODJjODE0YzMzOTAPDxYEHgxmaWx0ZXJzdHJpbmdlHg9vbGRmaWx0ZXJzdHJpbmdlZGQCAw9kFgICDw9kFgJmD2QWAgIDDxYCHgRUZXh0BQF8ZAIJD2QWBAIDD2QWAgIBD2QWAmYPZBYCAgEPD2QWAh4FY2xhc3MFGG1zLXNidGFibGUgbXMtc2J0YWJsZS1leGQCBQ9kFgJmD2QWBAICD2QWCAIBDxYCHgdWaXNpYmxlaGQCAw8WAh8FaGQCBQ8WAh8FaGQCBw9kFgJmDw8WBh4cUHJldmlvdXNBdXRob3JpbmdJdGVtVmVyc2lvbgUCMzAeGlByZXZpb3VzQXV0aG9yaW5nSXRlbU93bmVyBQExHhxQcmV2aW91c0F1dGhvcmluZ0NvbnRyb2xNb2RlCysEAWRkA...]
    [HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
    System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267
    System.Web.UI.HiddenFieldPageStatePersister.Load() +218
    System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
    System.Web.UI.Page.LoadAllState() +35
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
    System.Web.UI.Page.ProcessRequest() +86
    System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.WELCOMELINKS_ASPX__1775745042.ProcessRequest(HttpContext context) +4
    Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context) +153
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    Should I Publish it then re-check it out to edit or even restore to a prior version?

    Try one of the tips in these blog posts:
    http://weblogs.asp.net/lduveau/archive/2007/04/17/viewstate-chunking-in-asp-net-2-0-maxpagestatefieldlength.aspx
    http://delroger.wordpress.com/2008/08/19/invalid-character-in-a-base-64-string-aspnet/
    I suspect that the webpart the user added is putting a large amount of data into the page's Viewstate.
    Bryan Phillips
    MCT, MCSD, MCDBA, MCSE
    Microsoft MVP - SharePoint Services
    Blog: http://bphillips76.spaces.live.com
    Web Site: http://www.composablesystems.net

  • The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU - SharePoint Foundation 2013

    After sucessfulling installing the SharePoint Foundation 2013, when i try to access the Secure Stored Service Application i get the below error
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 Secure Store Service         
     Secure Store                   g0n6 High     The trial period for this product has expired or this feature is not supported in this SKU. b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        8nca Medium   Application error when access /_admin/sssvc/ManageSSSvcApplication.aspx, Error=The
    trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.   at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1
    operation)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
    proxy, String& errorMessage)     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()     at Microsoft.Office.SharePoi... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        8nca Medium   ...nt.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs
    e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.Office.Server.ProductExpiredException: The trial period for this product
    has expired or Secure Store Shared Service is not supported for this SKU.    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)    
    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
    proxy, String& errorMessage)     at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()     at Microsoft.Office.SharePoint.ClientExtensions.SecureSto... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     Runtime                        tkau Unexpected ...reAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.ProductExpiredException: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.    
    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()    
    at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy proxy, String& errorMessage)     at Microsoft.Office.Sha... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     ...rePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()    
    at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at System.Web.Htt... b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.84* w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        ajlz0 High     ...pApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b3b6e19b-7de2-e016-ad32-0fc975829ef0
    11/16/2012 18:13:02.86  w3wp.exe (0x1774)                        0x15E8 SharePoint Foundation        
     General                        aat87 Monitorable   b3b6e19b-7de2-e016-ad32-0fc975829ef0
    Is it a bug or any issue in configuration?
    Raghavendra Shanbhag | Blog: http://moss-solutions.blogspot.com
    Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
    Disclaimer: This posting is provided "AS IS" with no warranties.

    Hello
    something should be related wuith this service, take a llok at my visual studio output whne I try to deplay and autohosted sharepoint app: (anyone can help)
    1>------ Build started: Project: MySharePointAppWeb, Configuration: Debug Any CPU ------
    1>  MySharePointAppWeb -> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\bin\MySharePointAppWeb.dll
    2>------ Build started: Project: MySharePointApp, Configuration: Debug Any CPU ------
    2>C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config(34,4): warning : No element in the source document matches '/configuration/connectionStrings'
    2>  Transformed Web.config using C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
    2>  Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
    2>  Copying all files to temporary location below for package/publish:
    2>  obj\Debug\Package\PackageTmp.
    2>  Packaging into C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.zip.
    2>  Adding sitemanifest (sitemanifest).
    2>  Adding IIS Application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Creating application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding virtual path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en\Microsoft.IdentityModel.resources.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.Extensions.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.Runtime.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.dll).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.pdb).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\packages.config).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages\Default.aspx).
    2>  Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.min.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\_references.js).
    2>  Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Web.config).
    2>  Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
    2>  Adding declared parameter 'IIS Web Application Name'.
    2>  Package "MySharePointApp.Web.zip" is successfully created as single file at the following location:
    2>  file:///C:/_works/visual%20studio%202012/Projects/MySharePointApp/MySharePointApp/obj/WebDeploy
    2>  To get the instructions on how to deploy the web package please visit the following link:
    2>  http://go.microsoft.com/fwlink/?LinkId=124618
    2>  Sample script for deploying this package is generated at the following location:
    2>  C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.deploy.cmd
    2>  For this sample script, you can change the deploy parameters by changing the following file:
    2>  C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.SetParameters.xml
    2>  Successfully created package at: C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\bin\Debug\app.publish\1.0.0.0\MySharePointApp.app
    3>------ Deploy started: Project: MySharePointApp, Configuration: Debug Any CPU ------
    3>Active Deployment Configuration: Deploy App for SharePoint
    3>Uninstall app for SharePoint:
    3>  Skipping the uninstall step because the app for SharePoint is not installed on the server.
    3>Install app for SharePoint:
    3>  Uploading the app for SharePoint...
    3>  Creating a trusted root authority in SharePoint for IIS Express.
    3>  Installation is in progress (00:00:00)
    3>  Installation is in progress (00:00:01)
    3>  Installation is in progress (00:00:02)
    3>  Installation is in progress (00:00:03)
    3>  Installation is in progress (00:00:05)
    3>  Installation is in progress (00:00:06)
    3>  App failed to install, cleaning up...
    3>  App installation cleanup failed due to errors.  Please see the app on the SharePoint site’s “Site Contents” page for details.
    3>  App installation encountered the following errors:
    3> 
    3>  @"Error 1
    3>        CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
    3>        ErrorDetail: The remote hosting service is not configured.
    3>        ErrorType: Configuration
    3>        ErrorTypeName: Configuration
    3>        ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
    3>        Source: RemoteWebSite
    3>        SourceName: Remote Web Site Deployment
    3> 
    3>  @"Error 2
    3>        CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
    3>        ErrorDetail: The remote hosting service is not configured.
    3>        ErrorType: Configuration
    3>        ErrorTypeName: Configuration
    3>        ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
    3>        Source: RemoteWebSite
    3>        SourceName: Remote Web Site Deployment
    3>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
    ========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

  • The certificate for this server is invalid skype

    I am attempting at access My Account on an iPhone 5, I am getting a message saying the certificate for this server is invalid.  You might be connecting to a server that is pretending to be "secure.skype.com" which could put your confidential information at risk.
    My date, time and time zone are all correct.  Any suggestions?

    What account are you trying to access? Skype or some other site and you are being redirected to Skype?

  • Error "The serial number is not valid for this product" | Creative Suite

    HI together,
    I'm very annoyed about the fact that I payed for Adobe Creative Suite Production Premium 5 (EDU version) and now I'm not able to use it on my new Mac. The Support team (Chat) from Adobe told me several times that the product/serial or whatever was canceled but this doesn't help me to get the product working and I won't pay again for this software. So what's the reason for cancellation? I can't see reasons for this and I don't understand why Support team can't help me. Already found Error "The serial number is not valid for this product" | Creative Suite but this doesn't helped me.
    Regards
    René

    Maybe this is also useful... They told me I canceld this by myself which is not the truth. I had a Windows machine and used Creative Cloud as well but I only canceld the Cloud, not my Serial Number for Production Premium...
    So who is able to reactivate my Serial Number so that I'm able to use my product?
    info: Thank you for your patience.
    While you wait, you can try our community forums where experts are available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info:  We are still assisting other customers, thank you for your patience. You can also try our community forums, available 24 hours a day, 7 days a week.
      info: You are now chatting with Richa.
      Richa: Hello! Welcome to Adobe Customer Service.
      Richa: Sorry for any inconvenience this has caused
      Richa: May I get the serial number?
      Richa: Are we still connected?
      Richa: We have not heard from you for some time.  Do you wish to continue to chat?
      Richa: Are we still connected?
      Rene Pardon: hi
      Rene Pardon: for sure
      Rene Pardon: sorry, i took so much time for your answer that i decided to do anything else at this time
      Rene Pardon: <Deleted >
      Rene Pardon: i registered for the education version of production premium 5
      info: Your chat transcript will be sent to r*@*.de at the end of your chat.
      Richa: ok let me check
      Richa: please wait
      Richa: Thanks for your patinece
      Rene Pardon: do you also need my "authorization code" for this product?
      Richa: I need to transfer the chat to
      Richa: tech rteam
      Richa: please wait
      Rene Pardon: ok
      Richa: I am sorry
      Richa: But I will not be able to transfer the chat
      Rene Pardon: is there a phone number i can call?
      Richa: As the serial number is canceldd
      Richa: and we do apologise
      Rene Pardon: why was it canceled?
      Richa: but there is no phone support for this product
      Rene Pardon: i don't understand because i payed a lot for this
      Richa: Its showing canceled
      Rene Pardon: so what are the options?
      Rene Pardon: i need this product right now and i payed for it so why can't i use it?
      Rene Pardon: Your file '2015-03-30_Personalausweis_*.pdf' was successfully uploaded.
      Rene Pardon: as you can see, i'm the person who payed for this software
      Richa: I am sorry I just checked it
      Richa: it is canceled thats why you are getting invalid error
      Rene Pardon: yeah, that's what i see but i dont understan. why was it canceled? who is responsible for this mistake? it doesn't help me to tell me what i already see i need a solution to use the product
      Richa: I am sorry Rene
      Richa: But its showing canceld
      Richa: so cant help you with that
      Richa: I wish I could help you, but my hands are tied
      Rene Pardon: that's what you told me several times so who can help me?
      Rene Pardon: i'm very annoyed about this fact that i can't use the software i payed for and noone is able to help me getting this working
      Rene Pardon: so please tell me who is able to help me
      Richa: You need to place a new order?
      Rene Pardon: no, i won't pay AGAIN for this software i want a solution to use my already payed product
      Rene Pardon: please get someone in your team who can help me
      Richa: I am sorry Rene..
      Richa: But unfortunately my team can not help you on this.. as the sersil is expired
      Richa: I mean canceled
      Richa: Sorry but we can not help Rene..
      Rene Pardon: BUT WHY CAN'T YOU TELL ME WHY IT WAS CANCELED?
      Rene Pardon: Help me understanding...
      Rene Pardon: You're wasting my time!
      Richa: I am sorry
      Richa: I found the reason for cacnellation
      Richa: and its canceldd
      Richa: because you requested to cancel.  in year 2013
      Richa: On 30th april 2013
      Rene Pardon: but i only canceled the creative cloud, not my creative suite
      Richa: so we have refund and canceled it
      Richa: Its showing for this oserial?
      Rene Pardon: one moment
      Rene Pardon: i log into my account
      Rene Pardon: Your file 'Bildschirmfoto 2015-04-09 um 13.31.53.png' was successfully uploaded.
      Rene Pardon: As you can see the product is displayed as "non-canceled"
      Rene Pardon: I also bought the Createive Cloud during my time I had a Windows machine and this was the one i canceled - or I expected only this to get canceled
      Richa: I am sorry but the refund was given and requested for this
      Rene Pardon: There was only a refund for the Creative Cloud but not for the Creative Suite i bought
      Rene Pardon: And why should I need a serial number for the Creative Cloud?
      Rene Pardon: Please reactivate my Serial Number so that I'm able to use my product
      Richa: I can not do that?
      Rene Pardon: But i guess someone in your Team can
    Richa: can not help you

  • The certificate for this server is invalid

    Hi can anyone help?  I get a message "cannot connect to iTunes Store" when selecting App Store on my iPod.  Also if I try iTunes icon, I get "the certificate for this server is invalid.  You might be connecting to a server that is pretending to be "itunes.apple.com" which could put your confidential information at risk"
    The steps I have taken so far, - connected to PC and updated software to iOS 6.1.3 (worked fine on PC)
    Checked WiFi connection (fine)
    Checked other apple products are working fine (yes)
    Checked i am logged into apple id (yes)
    Is there anything else I'm missing ??
    Thanks aliian

    Thanks to those contributing this fix -- had this issue on my son's iPad mini and was going crazy trying to figure it out!!
    To answer the question of why this causes an issue: this is part of the standard security features of the internet - when you connect securely to a server (as the i-devices do when accessing itunes), it has an SSL Certificate which has an expiry date on it -- the device checks the certificate to try and make sure you aren't getting duped by an out of date certificate, and if your date is set too far in the future (my son's was in 2019!) then it looks like the expiry date is in the past and it won't let you connect..
    Cheers!

Maybe you are looking for