SolidWorks Workgroup PDM 1.0 Type Library COM Library error

When we use the SolidWorks Workgroup PDM 1.0 Type Library COM Library, an error occurs.
If we try to execute the IPDMWDocument.Save (saveDir) method for some assemblies, a System.Runtime.InteropServices.COMException exception occurs: Anonymous filesystem error occurred. (50)
Saving goes to a temporary directory. Example: c: \\ Users \\% USERNAME% \\ AppData \\ Local \\ Temp \\ 2 \\ _Z3XUBGVBR \\
There is enough disk space.
Please indicate the possible causes of such an error and ways to eliminate or avoid it.

SolidworksImport/export