SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42693: The SAS® Add-in for Microsoft Office generates an error when you invoke Microsoft Excel from a Web application

DetailsHotfixAboutRate It

When you invoke Microsoft Excel from a Web application, the SAS Add-in for Microsoft Office might generate the following error:

System.NullReferenceException: Object reference not set to an instance of an object. 
   at SAS.OfficeAddin.OfficeAddinBase.get_IsMetadataServerConnected() 
   at SAS.OfficeAddin.OfficeAddinBase.EnableUIControls(OfficeDocumentContext docContext, ContentInfo contentInfo, Object location) 
   at SAS.OfficeAddin.ExcelAddin.EnableUIControls() 
   at SAS.OfficeAddin.ExcelAddin.OnSheetActivate(Object worksheet) 
   at SAS.OfficeAddin.ExcelAddin.OnWindowActivate(Workbook book, Window window) 
   at SAS.ExcelAddIn.VstoExcelAddIn.OnWindowActivate(Workbook Wb, Window Wn)
image label

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Add-in for Microsoft OfficeMicrosoft® Windows® for x644.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition4.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition4.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition4.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x644.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 20084.35.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x644.35.19.2 TS2M39.3 TS1M1
Microsoft Windows XP Professional4.35.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise 32 bit4.35.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise x644.35.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium 32 bit4.35.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium x644.35.19.2 TS2M39.3 TS1M1
Windows 7 Professional 32 bit4.35.19.2 TS2M39.3 TS1M1
Windows 7 Professional x644.35.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate 32 bit4.35.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate x644.35.19.2 TS2M39.3 TS1M1
Windows Vista4.35.19.2 TS2M39.3 TS1M1
Windows Vista for x644.35.19.2 TS2M39.3 TS1M1
* 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.