Troubleshooting
Problem
Users trying to save a file from Microsoft Office to a share in the QDLS file system will get an error, "Document not saved".
Symptom
When attempting to save a file to a share in the QDLS file system from within Microsoft Office, the error is returned saying "Document not saved". This problem does not occur when connecting to NetServer using SMB1.
Cause
The SMB2 file rename mechanism is incompatible with the QDLS file system.
Resolving The Problem
This error is happening when Office attempts to rename the original file to a temporary file name. It is using an SMB2 function that simply renames the open file. This is incompatible with the QDLS file system which has no internal mechanism to rename an open file. The job log for the job servicing the network drive connection will log an error message CPF8A80 stating that the document is in use. This is a permanent restriction, the QDLS file system will not be enhanced to provide new functionality, it is a legacy file system.
In order to prevent this you could do any of the following:
- Move the files from a folder in the QDLS file system into a 'root' file system directory.
- Do not save the files directly to QDLS from Office; instead, save them to another location then move or copy them to a folder in QDLS.
- Revert NetServer to use SMB1 protocol. This technote describes how to do that: Switching the IBM i NetServer between SMB and SMB2, and How to Determine Which Level of SMB the NetServer is Using. This option is NOT recommended due to SMB1 protocol being a significant security vulnerability in Windows environments.
This limitation is also documented in APAR MA46118
Related Information
Was this topic helpful?
Document Information
Modified date:
05 December 2022
UID
nas8N1021794