IBM Support

Cannot Save Files From Office In QDLS With SMB2 Enabled

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. QDLS is a legacy file system.

In order to prevent this, you could do one 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: IBM i NetServer SMB protocol version control guide.  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

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000001jCPAAY","label":"Integrated File System-\u003EQDLS"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0;and future releases"}]

Document Information

Modified date:
22 November 2024

UID

nas8N1021794