BookmarkSubscribeRSS Feed
Fred_Gavin
Calcite | Level 5
Dear All,

I am running proc sgplot in EG 4.22. When I run the code, the plot actually appears, but there is a error message in the log:

Error: insufficient authorization to access C:\Windows\system32\sgplot1.png.
What did happen to this, and how can I get rid of it?

Thank you very much.
1 REPLY 1
ChrisHemedinger
Community Manager
In your ODS statement, be sure to include the GPATH= option to tell SAS where to put the graph files.

ods html file="c:\myoutput\file.html" gpath="c:\myoutput" /* other options */;

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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 10492 views
  • 1 like
  • 2 in conversation