Problem running NodeXL

Oct 18, 2015 at 8:26 AM
Hi there

I purchased the license file on Fri to activate NodeXL Pro and it ran fine on that day. However when I tried to use it again today, it keeps popping out with the following error:

Microsoft Office Document Customization
Object reference not set to an instance of an object.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Smrf.NodeXL.ExcelTemplate.ThisWorkbook.ThisWorkbook_Startup(Object sender, EventArgs e)
at Microsoft.Office.Tools.Excel.WorkbookImpl.OnStartup()
at Microsoft.Office.Tools.Excel.WorkbookImpl.WorkbookExtensionImpl.Microsoft.Office.Tools.EntryPoint.OnStartup()
at Microsoft.Office.Tools.Excel.WorkbookBase.OnStartup()
at Smrf.NodeXL.ExcelTemplate.ThisWorkbook.FinishInitialization()
at Microsoft.Office.Tools.Excel.WorkbookBase.Microsoft.Office.Tools.EntryPoint.FinishInitialization()
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.ExecutePhase(ExecutionPhases executionPhases)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.ExecuteEntryPoints()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

Microsoft.VisualStudio.Tools.Office.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll

Microsoft.Office.Tools
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll

Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Microsoft.Office.Tools.Excel.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.Implementation.dll

Microsoft.Office.Tools.Common.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll

Microsoft.Office.Tools.Excel
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.dll

Microsoft.VisualStudio.Tools.Applications.ServerDocument
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34250 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34262 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Smrf.NodeXL.ExcelTemplate
Assembly Version: 1.0.1.343
Win32 Version: 1.0.1.343

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Smrf.NodeXL.ExcelTemplate.DLL

Microsoft.Office.Tools.Excel.v4.0.Utilities
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Microsoft.Office.Tools.Excel.v4.0.Utilities.DLL

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.Office.Tools.Common
Assembly Version: 10.0.0.0
Win32 Version: 10.0.50903.0

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll

Microsoft.Office.Tools.Common.v4.0.Utilities
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL

Smrf.NodeXL.ApplicationUtil
Assembly Version: 1.0.1.343
Win32 Version: 1.0.1.343

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Smrf.NodeXL.ApplicationUtil.DLL

Smrf.NodeXL.Core
Assembly Version: 1.0.1.343
Win32 Version: 1.0.1.343

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Smrf.NodeXL.Core.DLL

Smrf.NodeXL.Visualization.Wpf
Assembly Version: 1.0.1.343
Win32 Version: 1.0.1.343

CodeBase: file:///C:/Users/Ryan/AppData/Local/Apps/2.0/WBJP3Z10.TKN/GOEHTYM3.MRW/smrf..vsto_5b6b2c938fdf48d2_0001.0000_51616de714eac1a6/Smrf.NodeXL.Visualization.Wpf.DLL

System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34248 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

I've tried to uninstall NodeXL Pro, reinstall it or even revert back to NodeXL Basic, yet the same problem still evolves. Grateful if you can advise how this can be sort out. Thanks!
Coordinator
Oct 19, 2015 at 4:31 PM
Hello,

can you please check if the license was moved or renamed or if it is in a folder where NodeXL doesn't have access (maybe an OS sensitive folder like Program Files or C:)?

Regards,
Arber
Oct 20, 2015 at 12:02 AM
Thanks for your reply, Arber!

So can you please confirm the error is due to the license file?

I ain't really sure whether I've put the license file on Google Drive has affected the running of the programme (because I'm running it on my work laptop as well as my personal laptop).

Perhaps purchase another license and store separately and locally on both machines would help solve this problem?

Thanks,
Ryan
Coordinator
Oct 20, 2015 at 1:12 PM
Hello Ryan,

I think that is the problem. It is true that you can move the license in more than one PC, but not in this way (pasting the license in google docs). Once you have licensed Pro in a machine, that license is modified and encrypted with the machine-specific information and it CAN NOT be moved to another machine. What you can move to another machine is the original license we sent you by e-mail (that one doesn't contain any machine-specific information) and the new machine will be licensed and the old one will not work anymore. If you want to go back to your old machine, you have to copy again the initial license (sent by e-mail) to that machine. So every time you change machines you have to copy the initial license on that machine.

If you don't want to do this, purchasing a second license is the best option!

Regards,
Arber
Oct 20, 2015 at 4:40 PM
Thanks Arber! That's exactly the reason. After purchasing the 2nd license and changing the indicated license path. It works perfectly now! Magical :)
Coordinator
Oct 20, 2015 at 5:24 PM
Hello Ryan,

glad to hear that and thanks for using NodeXL!

Regards,
Arber