bovender / XLToolbox

Daniel's XL Toolbox is an open-source add-in for Excel(R) that assists with scientific and technical data analysis and visualization.
https://www.xltoolbox.net
Apache License 2.0
55 stars 10 forks source link

Excel failed to load the legacy Toolbox add-in #845

Open bovender opened 4 years ago

bovender commented 4 years ago

This issue was submitted by the add-in's exception handler.

Exception:

XLToolbox.Excel.ExcelException: Excel failed to load the legacy Toolbox add-in ---> System.Runtime.InteropServices.COMException: Typeuoverensstemmelse. (Undtagelse fra HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
   ved Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
   ved XLToolbox.Excel.ViewModels.Instance.LoadAddinFromEmbeddedResource(String resourceName) i X:\Code\xltoolbox\NG\XLToolbox\Excel\ViewModels\Instance.cs:linje 657
   --- Slut på staksporing af indre undtagelser ---
   ved XLToolbox.Excel.ViewModels.Instance.LoadAddinFromEmbeddedResource(String resourceName) i X:\Code\xltoolbox\NG\XLToolbox\Excel\ViewModels\Instance.cs:linje 668
   ved XLToolbox.Legacy.LegacyToolbox..ctor() i X:\Code\xltoolbox\NG\XLToolbox\Legacy\LegacyToolbox.cs:linje 65
   ved XLToolbox.Legacy.LegacyToolbox.<>c.<.cctor>b__17_0() i X:\Code\xltoolbox\NG\XLToolbox\Legacy\LegacyToolbox.cs:linje 267
   ved System.Lazy`1.CreateValue()
   ved System.Lazy`1.LazyInitValue()
   ved System.Lazy`1.get_Value()
   ved XLToolbox.Dispatcher.Execute(Command cmd) i X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:linje 83

Message: Excel failed to load the legacy Toolbox add-in

Inner exception:

System.Runtime.InteropServices.COMException (0x80020005): Typeuoverensstemmelse. (Undtagelse fra HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
   ved Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
   ved XLToolbox.Excel.ViewModels.Instance.LoadAddinFromEmbeddedResource(String resourceName) i X:\Code\xltoolbox\NG\XLToolbox\Excel\ViewModels\Instance.cs:linje 657

Inner exception message: Typeuoverensstemmelse. (Undtagelse fra HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18362.0, 64-bit
Excel 365 (.0), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 95d2760f94a231a0d0cc97008aa12730a2e71056c9e2f4e1e293c882fdc7c520