Problem Note 66860: The "Create Slice" option might fail with the message "Error Creating Slice" in SAS® Add-In for Microsoft Office when you use the OLAP Analyzer
When you use the Create Slice option in SAS Add-In for Microsoft Office, the operation might fail with the following error:
This issue occurs when you use the OLAP Analyzer.
For example, you encounter this issue when you complete steps similar to the following:
- Open Microsoft Excel and select SAS menu ► Data.
- Open and analyze a specific OLAP cube that you select in the Data field. Then, select the OLAP Analyzer radio button and click OK as shown in the following image:
- The OLAP cube is correctly added into the spreadsheet. But, when you try to use the Create Slice option as shown below, the error might occur:
In the Excel.log, the following error appears:
In this 2020-09-28 08:21:30,358 [VSTA_Main] ERROR SAS.OfficeAddin.OfficeAddinBase [(null)] - Error Creating Slice.
SAS.OfficeAddin.OlapViewerException: Error Creating Slice. ---> SAS.EC.ServerInterfaces.ConnectionRequiredException: A workspace connection to server 'SASApp' is required for the requested operation.
at SAS.EG.SDS.Model.ServerState.CheckIsConnectedAndThrow()
at SAS.EG.DataAccess.DataModel.DataSourceManager.GetSasWorkspaceAndServer(String& serverName)
at SAS.EG.DataAccess.DataModel.DataSourceManager.GetDataWorkspace()
at SAS.OfficeAddin.ExcelAddin.AddMdxSASTable(String cubeDna, String mdx, SliceType st, String worksheetName, Int32 rowsToScan, Int32 maxRows)
at SAS.OfficeAddin.OlapViewer.OlapViewerManager.CreateSlice()
--- End of inner exception stack trace ---
at SAS.OfficeAddin.OlapViewer.OlapViewerManager.CreateSlice()
at SAS.OfficeAddin.ExcelAddin.OnOlapViewerCreateSlice()
This issue happens only when you try to use the OLAP Analyzer without creating a connection to the server SASApp. If you create a connection to the SASApp server before opening and analyzing the OLAP cube, then the Create Slice option works correctly.
To work around this issue, you can follow these steps:
- Select Data ► Servers and double-click the SASApp server. You see a green check mark on SASApp as shown in the image below:
- Go to SAS Folders and select the OLAP cube.
- Use the Create Slice option.
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.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 10 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 R2 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 for x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Datacenter | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Datacenter | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Std | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Std | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2016 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2019 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Enterprise 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Home Premium 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Home Premium x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Professional 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Professional x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Ultimate 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Ultimate x64 | 8.3 | | 9.4 TS1M7 | |
*
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: | 2020-11-09 11:45:32 |
Date Created: | 2020-10-28 07:27:19 |