A colleague of mine ran into this interesting little problem the other day and I thought I would share the solution here. The setup used is SCCM 2007 Sp2/R2 installed on a Windows 2008 R2 server with package source-files located on a Windows 2003 server share. When distributing packages the following errors where recorded in the distmgr.log file:
Error reading file : 58!
CTool::CompressAndAppendFile failed, error = 2, win32 = 0, filename = (null)
After a bit of troubleshooting the following hotfix was found and applied which solved the problem.
The “BackupRead” function randomly fails together with error code 58 in Windows Server 2008 R2 or in Windows 7″
http://support.microsoft.com/kb/2064460
Description:
- You run a multithreaded application on a computer that is running Windows Server 2008 R2 or Windows 7.
- The application calls the BackupRead function to back up some shared files on a remote server by using multiple threads.
In this scenario, the BackupRead function randomly fails. Additionally, you receive the following error message:
- You run a multithreaded application on a computer that is running Windows Server 2008 R2 or Windows 7.
- The application calls the BackupRead function to back up some shared files on a remote server by using multiple threads.
In this scenario, the BackupRead function randomly fails……
There are a similar hotfix for Windows 2008/Vista which sounds like the same problem could appear if the source files are on a Windows 2008 Server, I haven’t had the time to test out but the description points sound like it is very similar:
http://support.microsoft.com/kb/973278
Thanks Ola for great troubleshooting as always!