nodexl installation problem

Aug 26, 2009 at 9:18 AM

hi tony,

 

i have tried to install nodexl, installation process goes smoothly but i get an error message at opening the template saying the customization assembly could not be found or loaded (though I used the path indicated at the installation; i have windows xp, office 2007)

the details of the error message are:

Error HRESULT E_FAIL has been returned from a call to a COM component.


************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IActionsPaneSite.SetClient(IntPtr control)
   at Microsoft.VisualStudio.Tools.Office.Internal.ActionsPaneSiteContractAdapter.SetClient(IntPtr control)
   at Microsoft.VisualStudio.Tools.Office.Internal.IActionsPaneSiteProxy.Microsoft.VisualStudio.Tools.Applications.Runtime.IActionsPaneSite.SetClient(Object control)
   at Microsoft.Office.Tools.ActionsPaneInternal.HookupSmartPane()
   at Microsoft.Office.Tools.DockableControlCollection.Add(Control value)
   at Microsoft.NodeXL.ExcelTemplate.ThisWorkbook.set_GraphVisibility(Boolean value)
   at Microsoft.NodeXL.ExcelTemplate.ThisWorkbook.ThisWorkbook_Startup(Object sender, EventArgs e)
   at Microsoft.Office.Tools.Excel.Workbook.OnStartup()
   at Microsoft.NodeXL.ExcelTemplate.ThisWorkbook.FinishInitialization()
   at Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase.Microsoft.VisualStudio.Tools.Applications.Runtime.IEntryPoint.FinishInitialization()
   at Microsoft.VisualStudio.Tools.Applications.AddInAdapter.ExecutePhase(ExecutionPhases executionPhases)
   at Microsoft.VisualStudio.Tools.Applications.AddInAdapter.CompleteInitialization()
   at Microsoft.VisualStudio.Tools.Office.Internal.OfficeAddInAdapter.ExecuteEntryPointsHelper()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Runtime.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.AddIn
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn/3.5.0.0__b77a5c561934e089/System.AddIn.dll
----------------------------------------
System.AddIn.Contract
    Assembly Version: 2.0.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn.Contract/2.0.0.0__b03f5f7f11d50a3a/System.AddIn.Contract.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Contract.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Contract.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Contract.v9.0.dll
----------------------------------------
Microsoft.Office.Tools.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.v9.0.dll
----------------------------------------
Microsoft.NodeXL.ExcelTemplate
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.ExcelTemplate.DLL
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Excel.AddInAdapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Excel.AddInAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Excel.AddInAdapter.v9.0.dll
----------------------------------------
Microsoft.Office.Tools.Excel.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.v9.0.dll
----------------------------------------
Microsoft.Office.Interop.Excel
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.4518.1014
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.Office.Interop.Excel/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Excel.dll
----------------------------------------
Microsoft.Office.Tools.Common.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.v9.0.dll
----------------------------------------
office
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.4518.1014
    CodeBase: file:///C:/WINDOWS/assembly/GAC/office/12.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.AddInAdapter.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Contract.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.21022.123
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Contract.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Excel.AddInProxy.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Excel.AddInProxy.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Excel.AddInProxy.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Excel.HostAdapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Excel.HostAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Excel.HostAdapter.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.HostAdapter.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.1
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.HostAdapter.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.HostAdapter.v9.0.dll
----------------------------------------
Microsoft.NodeXL.Core
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.Core.DLL
----------------------------------------
Microsoft.NodeXL.ApplicationUtil
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.ApplicationUtil.DLL
----------------------------------------
Microsoft.NodeXL.Control.Wpf
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.Control.Wpf.DLL
----------------------------------------
Microsoft.NodeXL.Visualization.Wpf
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.Visualization.Wpf.DLL
----------------------------------------
Microsoft.Research.WinFormsControls
    Assembly Version: 1.0.1.3
    Win32 Version: 1.0.1.3
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.Research.WinFormsControls.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1427 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1427 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1427 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsFormsIntegration
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1427 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
Microsoft.NodeXL.Util
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.Util.DLL
----------------------------------------
Microsoft.NodeXL.Layouts
    Assembly Version: 1.0.1.91
    Win32 Version: 1.0.1.91
    CodeBase: file:///C:/Program%20Files/Microsoft%20Research/Microsoft%20NodeXL%20Excel%20Template/Microsoft.NodeXL.Layouts.DLL
----------------------------------------

 

thx a lot for any help

livia

Aug 26, 2009 at 5:21 PM

Livia:

One other person ran into this problem, and unfortunately it hasn't been resolved yet:

http://nodexl.codeplex.com/Thread/View.aspx?ThreadId=57580

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/2b419217-2c5c-4a7b-a476-a31503022c0d

A few questions:

1. Are you opening the NodeXL template from the Windows Start menu (Start, Programs, Microsoft NodeXL, Excel 2007 Template), or from the Excel ribbon (Round Office Button, New, My Templates, NodeXLGraph.xltx)?  Please try both and see if there is any difference.

2. What language is your computer set up for?

3. Do you have other Excel add-ins enabled?  Please look in Round Office Button, Excel Options, Add-ins, and see if there is anything listed under "Active Application Add-Ins."

4. When you open plain old Excel from the desktop or the Start menu (without NodeXL), what does the Excel window look like?  For example, on my computer I have the Ribbon at the top, an empty worksheet, and nothing else.  Are there any other windows showing within your Excel window?

5. Is there anything unusual about the way your Excel program is set up that you know about?  (I know that's a vague question, but I'm grasping at straws here.)

-- Tony

Aug 27, 2009 at 6:57 AM
hi tony,
 
thank you for your answer. No matter how I open NODEXL, either from Start/programmes or from excel the result is the same: i have the excel sheet with edge,vertices...and up with vertex1,vertex2 but i dont have any document action or any nodexl button on my excel ribbon. strange is that excel recognizes it as template, but cannot customize..i  tried it several times already and is the same result every time..even the table tools button goes up..but i dont get any nodexl tab :(
the pc is setup for english and i dont have any other excel add-inns-also the excel sheet looks ok
i was thinking to dezinstall office and to install it again
i do not have vista but windows xp (and office 2007)
 
Sep 3, 2009 at 6:15 PM

I am having the same or a similar problem.  The previous version worked fine.  Any advise on a resolution would be appreciated (running Visita Business 64)

Customization could not be loaded because the application domain could not be created.


************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException: Customization could not be loaded because the application domain could not be created. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
   at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String documentFullLocation, String documentName, String assemblyLocation, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, IntPtr& executor)
   --- End of inner exception stack trace ---

 

Sep 4, 2009 at 6:22 AM

sfortune:

Yours is a different problem.  I haven't seen it before, but here are a few comments I found while searching for its cause:

* "This exception is often caused by an error in the security configuration on the computer that is running the Visual Studio Tools for Office solution."

* "After spending a whole day investigating this, here is the answer to my problem...  a custom rule by my company's virus software is blocking the .net framework ability (or excel's rather) to create the 'shadow copy' version of the vsto .dll.  This completely renders any case of VSTO useless in my entire corporation..."

So my first question is this: Are you attempting to run this at work?  If so, ask your IT department if they've applied a security policy that would prevent Microsoft's .NET Framework from shadow-copying DLLs, which is what has to happen in order for NodeXL to run.

-- Tony

Aug 23, 2011 at 5:00 PM

See Error "HRESULT E_Fail" at http://nodexl.codeplex.com/discussions/254402 for a solution to this problem.

-- Tony