SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52860: A "Write access violation" error might occur when creating graphics output or when printing output

DetailsAboutRate It

The following error message might be written to the SAS® log when you attempt to create graphics output or when you attempt to print output from the SAS® Output window:

Write access violation task name.

The error is followed by trace information that looks similar to the following:

Address   Frame     (DBGHELP API Version 4.0 rev 5)
0000000007F81950  00000000072ADF60  saspdpsl:tkvercn1+0x910
0000000004C835B1  00000000072ADF68  sasxug:tkvercn1+0x2571

The following error might also be written to the SAS log:

ERROR:  An exception has been encountered.

The error occurs when SAS cannot locate any Windows system printers at start-up.

To circumvent the problem, add the following statement to the top of your SAS code:

options printerpath=pdf;


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows 8.1 Pro9.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Enterprise x649.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M19.4 TS1M2
Microsoft Windows 8 Pro x649.4 TS1M19.4 TS1M2
Microsoft Windows 8 Pro 32-bit9.4 TS1M19.4 TS1M2
Microsoft Windows 8 Enterprise x649.4 TS1M19.4 TS1M2
Windows 7 Ultimate x649.4 TS1M19.4 TS1M2
Windows 7 Ultimate 32 bit9.4 TS1M19.4 TS1M2
Windows 7 Professional x649.4 TS1M19.4 TS1M2
Windows 7 Professional 32 bit9.4 TS1M19.4 TS1M2
Windows 7 Home Premium x649.4 TS1M19.4 TS1M2
Windows 7 Home Premium 32 bit9.4 TS1M19.4 TS1M2
Windows 7 Enterprise x649.4 TS1M19.4 TS1M2
Windows 7 Enterprise 32 bit9.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 Std9.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 R2 Std9.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 Datacenter9.4 TS1M19.4 TS1M2
Microsoft Windows Server 2008 for x649.4 TS1M19.4 TS1M2
Microsoft Windows Server 2008 R29.4 TS1M19.4 TS1M2
Microsoft Windows Server 20089.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M19.4 TS1M2
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M19.4 TS1M2
Microsoft® Windows® for x649.4 TS1M19.4 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.