Problem Note 71015: Error 180-322 occurs in SAS® Add-In for Microsoft Office and returns "program-name encountered errors while opening the results"
If you attempt to run code or a task using SAS Add-In for Microsoft Office in a Microsoft client, the following error dialog box might appear:
If you click the Show Details arrow, you see the following error:
GOPTIONS XPIXELS=0 YPIXELS=0;
________
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
The problem occurs when SAS/GRAPH is not installed on the server because the wrapper code contains statements for SAS/GRAPH.
Pressing Continue in the dialog box causes the code to execute. However, every time you run the code, the dialog box opens.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Post Hot Fix Instructions
To circumvent this issue, you must use a configuration option to keep the SAS/GRAPH statements from being added to the wrapper code after you install the hot fix.
- Create a backup copy of the sas.officeaddin.dll.config file if one exists. If the file does not exist, create a file called sas.officeaddin.dll.config in the SAS Add-In for Microsoft Office installation directory.
- Add the following code to the sas.officeaddin.dll.config file:
<configuration>
<assemblySettings>
<add key="GenerateGraphOption" value="false" />
</assemblySettings>
</configuration>
- Save the file.
- Restart your Microsoft client and run the code.
Operating System and Release Information
SAS System | SAS Add-In for Microsoft Office | Windows 7 Ultimate x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Ultimate 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Professional x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Professional 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Home Premium x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Home Premium 32 bit | 8.3 | | 9.4 TS1M7 | |
Windows 7 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Windows 7 Enterprise 32 bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2022 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2019 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2016 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Std | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Std | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Datacenter | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Datacenter | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 for x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 R2 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 11 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 10 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise x64 | 8.3 | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise 32-bit | 8.3 | | 9.4 TS1M7 | |
Microsoft® Windows® for 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.
This issue occurs when you try to run code or a task in SAS Add-In for Microsoft Office when SAS/GRAPH® is not installed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2024-10-30 15:38:36 |
Date Created: | 2024-10-22 16:00:34 |