问题1:
客户用的wps,登陆时提示未指定错误(Exception from HRESULT:0x80004005(E_FAIL)),更换为office没有该问题。
...
at Netoffice.officeApi._CustomTaskPane.set_Visible (Boolean value)
at SmartbiExcelAddIn.Exce1Addin.hideResourcePane(o)
at SmartbiExcelAddIn.ExcelAddin.doLogout()
at SmartbiExcelAddIn.ExcelAddin. onAction(IRibboncontrol control)
问题2:
客户用的wps,打开报表时报错“尝试使用不具备后备类工厂的 COM 对象”
...
在SmartbiexcelAddin,ResourcePanelControl.ResourcePanelControl SizeChanged(Obiect sender, EventArgs e
在Svstem.Windows.Forms.Control.OnsizeChanged(EventAras e)
在System.Windows.Forms.Control.UpdateBounds(Int32 X, Int32 y, Int32 width, Int32 height,Int32 clientwidth, Int32 clientHeight)
在System.Windows .Forms.Control.UpdateBounds ()
在Svstem.WindowsForms.Control.WmWindowPosChanged(Messages m)
在system.Windows.Forms.Control.WndProc (Message& m)
在System,Windows,Forms.Control.ActivexImpl.System.Windows.Forms,IWindowlarget,OnMessace (Message& m)
在System.Windows.Forms.NativeWindow.Callback(Intptr hwnd, Int32 msg, Intptr wparam, Intptr lparam)
解决方案:
WPS调用excel的接口出错了,可杀掉excel进程后重新打开。