Error 123 when a package that contains Japanese characters in the file name or in the folder name is compressed (829820)



The information in this article applies to:

  • Microsoft Systems Management Server 2003
  • Microsoft Systems Management Server 2.0

SYMPTOMS

When you configure a package to maintain a compressed copy of the source files on distribution points, the Microsoft Systems Management Server (SMS) Distribution Manager component may not compress the package source files as expected. In this scenario, you may see the following in the Distmgr.log on the SMS site:

Starting to compress C:\Advert_CSH,Japanese characters to C:\_S Mcmow.TMP for package CSH00003
Cannot open source file C:\Advert_CSH, Win32 Error = 123
CTool::CompressAndAppendFile failed, error = 3, win32 = 123, filename = (null)
Cannot compress C:\Advert_CSH,Japanese characters to C:\_S Mcmow.TMP, last failed file is , Win32 error = 123
STATMSG: ID=2309 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=P7CUSHING SITE=CSH PID=968 TID=1388 
GMTDATE=Tue Aug 26 02:11:14.634 2003 ISTR0="CSH00003" ISTR1="C:\Advert_CSH,è,æTSTST^í,ë" ISTR2="" ISTR3="C:\_S Mcmow.TMP" 
ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="CSH00003"
Cannot create the compressed copy for package CSH00003.

CAUSE

This problem occurs because SMS is not fully Unicode-aware.

MORE INFORMATION

When certain Japanese-language characters are used in the file name or in the folder name, these characters cannot be mapped to a Double-Byte Character Set (DBCS) equivalent. As a result, the "?" character is substituted in the file name. Therefore, the path that is used to compress the package is incorrect, and the compression operation fails with error 123 ("file name is incorrect"). Newer versions of Microsoft Windows contain more characters that are not supported in SMS than do older versions of Windows.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:6/13/2005
Keywords:kbinterop kbSoftwareDist kbnofix kbBug KB829820 kbAudITPRO