Overview
When attaching new document vault (e.g. from backup, which is located in folder Backup_restore) via "Attach document vault - Use Microsoft SQL Server [Define…] - File Data location - Store file data in a file-system folder [Define…]" in a file-system and selecting File-System Folder for example "Backup_restore\Filedata\" with Filedata.id file in it, user gets this kind of error message:
MPropertyPage2.cpp, 102, The file data location does not contain valid files for this document vault. (0x80040816)
MPropertySheet2.cpp, 143, The file data location does not contain valid files for this document vault. (0x80040816)
PropertySheetDocumentVault.cpp, 674, The file data location does not contain valid files for this document vault. (0x80040816)
RPCMethodCallWithRetry.h, 179, The file data location does not contain valid files for this document vault. (0x80040816)
RPCMethodCallWithRetry.h, 179, The file data location does not contain valid files for this document vault. (0x80040816)
RPCVaultsAdmin.cpp, 1119, The file data location does not contain valid files for this document vault. (0x80040816)
RPCVaultsAdmin.cpp, 73, The file data location does not contain valid files for this document vault. (0x80040816)
VaultManager.cpp, 577, The file data location does not contain valid files for this document vault. (0x80040816)
VaultManager.cpp, 1191, The file data location does not contain valid files for this document vault. (0x80040816)
VaultDataFiles.cpp, 2051, The file data location does not contain valid files for this document vault. (0x80040816)
(M-Files 19.6.7900.6)
Solution
The reason for this error message is likely related to the selected file-system folder, which is not correct. Correct file-system folder to select is one level upwards in folder structure from \Filedata folder.
