Select Page

If you are getting the following error (SAS 9.3) when using proc metalib:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:

The SAS task name is [METALIB]
ERROR:  Read Access Violation METALIB
Exception occurred at (0C05EB17)
Task Traceback
Address   Frame     (DBGHELP API Version 4.0 rev 5)
000000000C05EB17  000000000D25F3C0  sasmetas:tkvercn1+0xDAD7
000000000C0530E9  000000000D25FCB0  sasmetas:tkvercn1+0x20A9
00000000034D8FD7  000000000D25FCB8  sashost:Main+0xF917
00000000034DD5FD  000000000D25FF50  sashost:Main+0x13F3D
0000000077AC652D  000000000D25FF58  kernel32:BaseThreadInitThunk+0xD
0000000077BFC521  000000000D25FF88  ntdll:RtlUserThreadStart+0x21

Try removing the ‘library is pre-assigned’ property.

For further help with debugging, use the transaction logging option:

proc metalib tl=16383; /* 4095 in earlier versions of SAS */
 omr (library=”My meta lib” metarepository=Foundation);

Removing quotes from the metarepository might also help.
Finally, try setting the metadata library to the same name as the (8 character) SAS library.  This is another known cause of occasional issues.