SMS: Error -39 in File Cpackage.cpp

Last reviewed: April 15, 1997
Article ID: Q156278
The information in this article applies to:
  • Microsoft Systems Management Server versions 1.0, 1.1, and 1.2

SYMPTOMS

When you run a package from a Package Command Manager (PCM) window on a Macintosh client, you receive the following error message:

   Error -39 in File Cpackage.cpp, Line 570 eofErr.
   End of File
   Command Failed to Execute

   Error -39 in FileCTable.cpp, Line 198 eofErr.
   End of File.

Also, if you use Resedit to examine the Macintosh file, it will not have a resource fork.

CAUSE

Renaming a Macintosh file to comply with the 8.3 naming convention and then sending it out as a package causes the Systems Management Server Scheduler service not to require the Windows NT file system (NTFS) when distributing the file. Without this requirement, the resource fork is lost.

When the Scheduler creates a package for distribution, it checks for files with long filenames. If such a file is detected, the Scheduler sets a flag requiring NTFS for the package destination. The despooler should not attempt to distribute the package when it detects the flag. For more information on this behavior, see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q139589
   TITLE     : Distribution of Files with Long Filenames Require NTFS

WORKAROUND

To work around this problem, do not rename Macintosh files using the 8.3 naming format.

MORE INFORMATION

For more information on this error, see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q152338
   TITLE     : PCMMac Error -39 in File Cpackage.cpp


Additional query words: prodsms
Keywords : kb3rdparty kbnetwork smspcm
Version : 1.0 1.1 1.2
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 15, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.