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
Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

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