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

发生意外。 (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) #920

Open bovender opened 4 years ago

bovender commented 4 years ago

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

Exception:

System.Runtime.InteropServices.COMException (0x80020009): 发生意外。 (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   at Microsoft.Office.Interop.Excel.Range.set__Default(Object RowIndex, Object ColumnIndex, Object )
   at XLToolbox.WorkbookStorage.Store.PrepareStoreSheet() in X:\Code\xltoolbox\NG\XLToolbox\WorkbookStorage\Store.cs:line 586
   at XLToolbox.WorkbookStorage.Store.WriteToWorksheet() in X:\Code\xltoolbox\NG\XLToolbox\WorkbookStorage\Store.cs:line 500
   at XLToolbox.WorkbookStorage.Store.Dispose(Boolean disposing) in X:\Code\xltoolbox\NG\XLToolbox\WorkbookStorage\Store.cs:line 253
   at XLToolbox.WorkbookStorage.Store.Dispose() in X:\Code\xltoolbox\NG\XLToolbox\WorkbookStorage\Store.cs:line 240
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 100
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 67
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:line 104
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:line 37
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:line 48
   at XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 263
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 62
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: 发生意外。 (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 6.1.7601 Service Pack 1, 64-bit
Excel 2007 SP3 (12.0.8875), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.40820
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 17281801e4b7af5ccd55f942f1e1cb789466ebd5b387adda37d613274bca0f01