The information in this article applies to product: e-Work 6.5 6.6.x
Issue
%GetAttachment(folderID, filename, path) extracts the specified filename attachment from the specified folderID in the e-Work database and saves it to the specified path in the server file system. However, this fails when the path is a mapped drive even though the Engine account has full permissions on the shared directory.
A warning message similar to the following is written to the Windows application event log:
Failed to evaluate the following - %GetAttachment(%FolderID,"%FileName","T:\\")
An error message similar to the following is written to the Designer Log:
Unable to persist attachment data, reason <0x8000ffff>, Cannot create file T:\\SharedDrive\_Test.txt. Procedure GetAttachment call failed. Position: 43
Resolution