Problem Note 68809: The Windows File Explorer Preview pane causes an exception to occur in SAS® Add-In for Microsoft Office
Viewing Microsoft Office files using the Preview pane in Windows File Explorer launches a background instance of the Office application that is associated with the file. When SAS Add-In for Microsoft Office is enabled, the Office application instance that is launched in the background attempts to load SAS Add-In for Microsoft Office. This causes a SAS Add-In for Microsoft Office exception error.
In this scenario, the SAS Add-In for Microsoft Office logging file contains the following error:
2022-01-20 10:41:58,039 [VSTA_Main] ERROR SAS.OfficeAddin.Global [(null)] - --------------- EXCEPTION REPORT ---------------
2022-01-20 10:41:58,039 [VSTA_Main] ERROR SAS.OfficeAddin.Global [(null)] - Loading the Excel Addin
System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC
at Microsoft.Office.Interop.Excel._Application.get_CommandBars()
at SAS.OfficeAddin.ExcelAddin.ResetCommandBarsUpdateEvent()
at SAS.OfficeAddin.OfficeAddinBase.Create(Object application, Object factory, CustomTaskPaneCollection customTaskPanes, ScriptInterface scriptInterface, Boolean isReportViewerOnly)
at SAS.OfficeAddin.Connect.CreateAddIn()
at SAS.ExcelAddIn.VstoExcelAddIn.CreateAddIn()
2022-01-20 10:41:58,044 [VSTA_Main] ERROR SAS.OfficeAddin.Global [(null)] - ----------- END OF EXCEPTION REPORT ------------
2022-01-20 10:41:58,045 [VSTA_Main] ERROR SAS.OfficeAddin.Global [(null)] - Loading the Excel Addin
System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC
at Microsoft.Office.Interop.Excel._Application.get_CommandBars()
at SAS.OfficeAddin.ExcelAddin.ResetCommandBarsUpdateEvent()
at SAS.OfficeAddin.OfficeAddinBase.Create(Object application, Object factory, CustomTaskPaneCollection customTaskPanes, ScriptInterface scriptInterface, Boolean isReportViewerOnly)
at SAS.OfficeAddin.Connect.CreateAddIn()
at SAS.ExcelAddIn.VstoExcelAddIn.CreateAddIn()
To work around this issue, do not use the Preview pane in Windows File Explorer when the SAS Add-In for Microsoft Office is enabled.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft® Windows® for x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows 10 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 8.0 | | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 8.0 | | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 8.0 | | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 8.0 | | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 8.0 | | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 8.0 | | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 8.0 | | 9.4 TS1M5 | |
Windows 7 Professional x64 | 8.0 | | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 8.0 | | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 8.0 | | 9.4 TS1M5 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2022-01-20 12:54:22 |
Date Created: | 2022-01-20 10:17:50 |