SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 31217: Generating a log for SAS® Add-In for Microsoft Office for releases 4.3 and earlier

DetailsAboutRate It

Logging for SAS Add-In for Microsoft Office is not turned on by default.

To turn on logging, follow these steps. These steps apply to releases 2.1, 4.2, and 4.3.

  1. Close all Microsoft Office applications on the client machine.
  2. Create a file named SAS.OfficeAddin.dll.config and place it in the following location on the client machine:
  3. For version 2.1, place the file here:

    drive:\Program Files\SAS\Add-In for Microsoft Office\

    For version 4.2 or 4.3, place the file here:

    drive:\Program Files\SAS\Add-InForMicrosoftOffice\4.x

    Note: This assumes that SAS Add-In for Microsoft Office was installed in the default location. If you did not install it in the default location, place the config file in the directory where you installed SAS Add-In for Microsoft Office.

  4. Edit SAS.OfficeAddin.dll.config to add the following lines:
  5. <configuration>
        <assemblySettings> 
            <add key="ShowMessageLog" value="true"/>
        </assemblySettings> 
    </configuration> 

  6. Save the file.
  7. Launch one of the Microsoft Office applications. A SAS Add-In Message Log dialog box should open automatically.
  8. image label

  9. Perform a SAS reporting task to see how information about the query appears in the log.
  10. image label

For information about how to enable logging in SAS Add-In 5.1 for Microsoft Office, see SAS Note 45866..



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Add-in for Microsoft OfficeWindows Vista2.1
Microsoft Windows Server 2003 Enterprise Edition2.1
Microsoft Windows Server 2003 Standard Edition2.1
Microsoft Windows 2000 Datacenter Server2.1
Microsoft Windows 2000 Server2.1
Microsoft Windows 2000 Professional2.1
Microsoft Windows NT Workstation2.1
Microsoft Windows 2000 Advanced Server2.1
Microsoft® Windows® for x642.1
Microsoft Windows Server 2003 Datacenter Edition2.1
Microsoft Windows 95/982.1
Microsoft Windows XP Professional2.1
Windows Millennium Edition (Me)2.1
* 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.