SAS/ACCESS® Interface to PC Files with Microsoft 365 crashes or fails with a "Read Access Violation" or "Write Access Violation" error


When you run SAS/ACCESS Interface to PC Files with Microsoft 365 version 2208 or later, the SAS code might sporadically fail.

If you experience similar behavior when you use Microsoft Office 2016, refer to SAS KB0036362, "Using SAS/ACCESS® Interface to PC Files with Microsoft Office 2016 fails with 'Read Access Violation' or 'Write Access Violation'."

You might encounter the following issues with Microsoft 365 version 2208 or later:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [EXPORT]
ERROR:  Read Access Violation EXPORT
Exception occurred at (B40DC166)
Task Traceback
Address   Frame     (DBGHELP API Version 4.0 rev 5)
00007FFDB40DC166  0000007B000FB620  sasjet:tkvercn1+0xB126
00007FFDB3571D85  0000007B000FB628  sasiojet:tkvercn1+0x10D45
00007FFDAEA65CB6  0000007B000FB6B8  sasxdbi:tkvercn1+0x44C76
00007FFDAEA37633  0000007B000FB7A0  sasxdbi:tkvercn1+0x165F3
00007FFDB9BD897A  0000007B000FB7A8  sasyh:tkvercn1+0x1793A
00007FFDB9486D8F  0000007B000FB938  sasxshel:tkvercn1+0x25D4F
00007FFDB946370A  0000007B000FBE20  sasxshel:tkvercn1+0x26CA
00007FFDB9461934  0000007B000FBEB0  sasxshel:tkvercn1+0x8F4
00007FFDB948A2BA  0000007B000FC030  sasxshel:tkvercn1+0x2927A
00007FFDB94B69B7  0000007B000FC720  sasxshel:tkvercn1+0x55977
00007FFDB94BA6E7  0000007B000FC810  sasxshel:tkvercn1+0x596A7
00007FFDB94B35F1  0000007B000FC8C0  sasxshel:tkvercn1+0x525B1
00007FFDB41F1AF2  0000007B000FC8C8  sasimdts:tkvercn1+0xAB2
00007FFDB4222F2B  0000007B000FC9D8  sasimoda:tkvercn1+0x1EEB
00007FFDB4267ABD  0000007B000FEA98  sasimctr:tkvercn1+0x6A7D
00007FFDB42618DC  0000007B000FF960  sasimctr:tkvercn1+0x89C
00007FFDB43B137C  0000007B000FF968  sasexpor:tkvercn1+0x33C
00007FFDBC5AF5C8  0000007B000FFB18  sashost:Main+0x15288
00007FFDBC5B59EC  0000007B000FFE40  sashost:Main+0x1B6AC
00007FFE10C17AF4  0000007B000FFE48  KERNEL32:BaseThreadInitThunk+0x14
00007FFE118AA371  0000007B000FFE78  ntdll:RtlUserThreadStart+0x21
SAS WTABORT (EXPORT) The SAS System has detected an abort condition. An Exception occurred during
       wthtrm().
Critical SAS error:  Read Access Violation EXPORT Exception occurred at (b40dc166)
SAS Error Event: SAS is aborting through vacrash()

This issue was introduced in Microsoft 365 Version 2208, specifically in the Access Database Engine / Access Connectivity Engine (ACE) that SAS uses for connectivity to Microsoft Office files.

Fixes for this issue are available based on the Release Channel. You can confirm your Release Channel in the "About Access" or "About Excel" section located under File ► Account in your Microsoft application: