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!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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