Experiencing an error when trying to run an embedded process. Part of the functionality that is bundled in the process, is a file copying module.
Here is the error message :-
*** Error: The requested operation could not be completed due to a file system limitation (mscorlib) ***
Thankfully the particular file that is copied is logged, as well.
Copying log backup file to temporary work file. Source: '\\LABDB\Backup\hrdb_20180703104507.trn', Destination: '\\LABMirror\backup\HRDB_20180703104507.wrk'
Attempted same file copy in FastCopy.
And, again thankfully it reported an error message; along with an error number.
WriteFileWait(The requested operation could not be completed due to a file system limitation665) : \\LABMirror\backup\HRDB_20180703104507.wrk TotalRead = 40,414 MB TotalWrite = 40,289 MB TotalFiles = 0 (0) TotalTime = 26:50 TransRate = 25.0 MB/s FileRate = 0.00 files/s
- Error Operation :- WriteFileWait
- Error Description :- The requested operation could not be completed due to a file system limitation
- Error Number :- 665
There are a few probably causes for error number 665.
Finally, we checked the compression setting on other files in the targeted folder.
- Size :- 2.07 GB
- Size on Disk :- 760 MB
We can see that our file is compressed.
Reviewed the Folder’s Advanced Attributes.
- Compress Contents to save disk space ( is enabled )
We turned off compression on the targeted folder.
Retried Fast Copy and it worked successfully.
Wished the original application displayed the OS’s error number and not just a simple error text that read “Error: The requested operation could not be completed due to a file system limitation (mscorlib)“.
Thankfully, there was enough diagnostic data in regards to the original file and destination folder that allowed us to replay via a more illuminating tool.