locked
Error pops up when adding new calendar overlay RRS feed

  • Question

  • When I click on new calendar button in calendar overlay page, I always get this error:

    Error

    An unexpected error has occurred.

    Troubleshoot issues with Microsoft SharePoint Foundation.

    Correlation ID: 3c0a60f1-6ceb-425c-81c1-0556c43b3070

    Date and Time: 5/13/2015 10:47:58 AM

    I have two different calendars in my site and they both got this same error when I attempted to add new calendar overlay.

    I checked LOG files message filtered by this correlation ID, this is the result:

    • System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
      at Microsoft.SharePoint.Utilities.ThmxTheme.Open(Stream stream, FileMode mode, FileAccess access)
      at Microsoft.SharePoint.Utilities.ThmxTheme.Open(SPFile themeFile, Boolean readPublishedVersion, FileMode mode, FileAccess access)
      at Microsoft.SharePoint.Utilities.ThmxTheme.Open(SPSite site, String url)
      at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.InitializeDropDownListItems()
      at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.CreateChildControls()
      at System.Web.UI.Control.EnsureChildControls()
      at System.Web.UI.Control.PreRenderRecursiveInternal()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    I'm still unsure about what is causing the error after reading the message, can someone help me to identify what's causing the error?



    • Edited by SSSilicon Wednesday, May 13, 2015 5:45 PM
    Wednesday, May 13, 2015 5:43 PM

Answers

  • Hi,

    From the ULS log, this is a FileLoadException.

    You could recycle the particular application pool in IIS in SharePoint server. You could open IIS, select the application pool that has the issue, and recycle the application pool. Then to check if it can work.

    You also could run IISRESET in SharePoint server. You could follow the steps below to run iisreset.

    1. From the Start menu, click Run.

    2. In the Open box, type cmd, and click OK.

    3. At the command prompt, type iisreset, and press ENTER.

    The article below is about the trouble shooting about the issue.

    http://expertsharepoint.blogspot.com/2014/10/loading-this-assembly-would-produce.html

    Best regards,

    Sara Fan


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Victoria Xia Wednesday, May 27, 2015 3:03 AM
    • Marked as answer by Victoria Xia Friday, May 29, 2015 2:18 AM
    Wednesday, May 20, 2015 1:51 AM