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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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.

 

 

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Reeza
Super User
Does anyone have those files checked out?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register 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
  • 2013 views
  • 0 likes
  • 3 in conversation