Error After Installation

Dec 22, 2010 at 4:17 PM

Hi, I installed the latest version of NodeXL on my computer. The program does not appear in my start menu, although I can open it through Explorer. When I do, I get an error message that says 

"Customization assembly could not be found or loaded. You can still edit and save the document. Contact... "

So obviously, the NodeXL tab does not appear in my ribbon.

Help?

 

Dec 22, 2010 at 5:02 PM

Leslie:

When you get that message, there should be a "Details" button in the message box.  Please click it, then copy the details and paste them here.

Thanks,
    Tony

Dec 22, 2010 at 6:01 PM

Hi Tony,

These are the error message details:

 

Could not load type 'System.Windows.Forms.ImeContext' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.


************** Exception Text **************
System.TypeLoadException: Could not load type 'System.Windows.Forms.ImeContext' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at System.Windows.Forms.Integration.ElementHost.SyncHwndSrcImeStatus()
   at System.Windows.Forms.Integration.ElementHost.OnChildChanged(UIElement oldChild)
   at System.Windows.Forms.Integration.ElementHost.set_Child(UIElement value)
   at Microsoft.NodeXL.ExcelTemplate.TaskPane.CreateNodeXLControl(GeneralUserSettings oGeneralUserSettings)
   at Microsoft.NodeXL.ExcelTemplate.TaskPane..ctor(ThisWorkbook thisWorkbook, Ribbon ribbon)
   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.3074 (QFE.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
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    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.3074 (QFE.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.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.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    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.1878 (QFEN-1.050727-1800)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.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.1434 (REDBITS.050727-1400)
    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.1434 (REDBITS.050727-1400)
    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.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/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.6425.1000
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.Office.Interop.Excel/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Excel.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.Contract.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.21022.8
    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
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.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.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.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
----------------------------------------
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
----------------------------------------
office
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.6425.1000
    CodeBase: file:///C:/Windows/assembly/GAC/office/12.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
stdole
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.00.9466
    CodeBase: file:///C:/Windows/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
----------------------------------------
Microsoft.NodeXL.Core
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Core.DLL
----------------------------------------
Microsoft.NodeXL.ApplicationUtil
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.ApplicationUtil.DLL
----------------------------------------
Microsoft.NodeXL.Visualization.Wpf
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Visualization.Wpf.DLL
----------------------------------------
Microsoft.NodeXL.Util
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Util.DLL
----------------------------------------
PresentationCore
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1500 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Microsoft.Research.WinFormsControls
    Assembly Version: 1.0.1.6
    Win32 Version: 1.0.1.6
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.Research.WinFormsControls.DLL
----------------------------------------
Microsoft.NodeXL.Algorithms
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Algorithms.DLL
----------------------------------------
Microsoft.NodeXL.Control.Wpf
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Control.Wpf.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1500 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsFormsIntegration
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1453 built by: NetFX
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
Microsoft.NodeXL.Layouts
    Assembly Version: 1.0.1.159
    Win32 Version: 1.0.1.159
    CodeBase: file:///C:/Users/okorbut/AppData/Local/Apps/2.0/DYRQDWB4.WCJ/57106VCB.M2H/micr..vsto_89bba316835ec8ea_0001.0000_9dcba76bc7723332/Microsoft.NodeXL.Layouts.DLL
----------------------------------------


Dec 22, 2010 at 9:47 PM

Leslie:

This is a new one; I haven't seen it before.

I don't know if it's related to the problem at hand, but I'm wondering about your Start menu.  Are you sure that when you click "All Programs" (in Windows 7 and Vista) or "Programs" (in Windows XP) that you don't see a "Microsoft NodeXL" menu item?

Also, what version of Windows are you using?

-- Tony

Dec 24, 2010 at 1:28 AM

Hi Tony,

I'm using Windows Vista (for Business) and everything is updated as it should be. And no, I can't see NodeXL in the menu item.

I actually tried installing and re-installing the program several times, and during one of the attemps the NodeXL appeared in the start menu, but it still wasn't working properly in Excel. It hasn't reappeared since.

 

 

Dec 25, 2010 at 2:26 AM
Edited Dec 25, 2010 at 2:27 AM

Leslie:

There are two problems here, and I don't know if they are related.  The first is the mysterious missing Start menu item for NodeXL.  Others have reported setup problems before, most involving security restrictions or Mac-related difficulties, but they usually either cause an error message to appear from within the setup program, or the setup program works but attempting to open NodeXL from the Start menu causes an error message to appear.  I'm stumped as to how there could be no Start menu item for NodeXL if the setup program appeared to work properly.

The other problem is the one that leads to the error details you provided, and I'm stumped there, too.  However, I've posted a question to a Microsoft programmer forum in the hope that someone will recognize the cause.  I'll let you know when I hear back from other forum members.

Thanks,
    Tony

http://social.msdn.microsoft.com/Forums/en/wpf/thread/df61f873-4801-4a74-91a3-fd184eaaf4a2