skip to Main Content
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8210

    Obtaining the following message when I try and open a NodeXL file. The graph does not display.

    —————————
    NodeXL
    —————————
    An unexpected problem occurred. If it occurs again, please copy the details to the clipboard by typing Ctrl-C, then post the details to https://www.smrfoundation.org/forums/.

    Details:

    [CannotCreateCustomizationDomainException]: This document contains custom code that cannot be loaded because the location is not in your trusted locations list: Test risk relationships NodeXLGraph1-Copy.xlsx. If you trust this document you can save and open it from a location on your computer. For more information, see http://go.microsoft.com/fwlink/?LinkId=99104.

    at Microsoft.VisualStudio.Tools.Office.Runtime.RuntimeUtilities.VerifyDocumentIsTrusted(String documentFullLocation, String documentName, OfficeVersion officeVersion)

    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.GetAssemblyDataFromManifests(String solutionLocation, String manifestLocator, String documentName, Boolean showUIDuringDeployment, CustomizationType customizationType, OfficeVersion officeVersion, IHostServiceProvider interopServiceProvider)

    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, Boolean useFastPath, IntPtr& executor)

    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IDomainCreator.CreateCustomizationDomain(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, IntPtr& executor)

    at Microsoft.Office.Core.CommandBarControls.get_Item(Object Index)

    at Smrf.NodeXL.ExcelTemplate.WorksheetContextMenuManager.RemoveContextMenuItems()

    at Smrf.NodeXL.ExcelTemplate.WorksheetContextMenuManager.Workbook_Deactivate()
    —————————
    OK
    —————————

    #8331
    Harald Meier
    Keymaster

    You need to add the location of the workbook to Excel Trusted Locations.

    Please have a look at this URL:

    https://support.office.com/en-us/article/add-remove-or-change-a-trusted-location-7ee1cdc2-483e-4cbb-bcb3-4e7c67147fb4

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Back To Top