BookmarkSubscribeRSS Feed
iblock
Calcite | Level 5

I am trying to import excel workbooks from a SharePoint folder using the Import Data option in SAS EG.  It has worked for several other files, but for 3 in particular I am getting the following error:

 

SAS Enterprise Guide has encountered a problem

We recommend that you save your work and restart SAS Enterprise Guide.

Object reference not set to an instance of an object.

 

 

Also, I did restart SAS EG and the error is still occurring for those 3 files.

4 REPLIES 4
ChrisHemedinger
Community Manager

Can you give an example of the type of path you're providing to the Import Data task? Is this an on-premise SharePoint with a mapped drive or \\network\path style of path?  

 

Chris

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
iblock
Calcite | Level 5

"C:\Users\XXXX\XXXX\SharePoint Folder\Filename.xlsm"

ChrisHemedinger
Community Manager

Are you using 64-bit SAS Enterprise Guide? If so, you might need the 64-bit version of the Microsoft data access tools.  The components that EG uses to read these proprietary XLSM files are basically part of the operating system, but the bitness (32-bit or 64-bit) usually matches that of the Microsoft Office you have installed.  If using 32-bit Office and 64-bit EG, this presents an incompatibility problem.

 

Or, if possible, get a version of the Excel file that isn't macro-enabled (XLSM), like XLSX.  EG can read those directly.

 

 

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
Reeza
Super User
Does anyone have those files checked out?

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2556 views
  • 0 likes
  • 3 in conversation