Child NS package replication fails with Severity 1 error due to 'Illegal characters in path'
|Article:TECH13171|||||Created: 2006-03-27|||||Updated: 2006-03-27|||||Article URL http://www.symantec.com/docs/TECH13171|
Child NS Package Replication fails with Severity 1 error due to 'Illegal characters in path' The full error is below:
source='Altiris.PackageReplication.PackageReplicationSchedule.OnChildSchedule' module='AltirisNativeHelper.dll' process='aexsvc.exe' pid='7128' thread='2900' tickCount='1021266734' >
<![CDATA[Child NS package replication error ( Unhandled exception. Type=System.ArgumentException Msg=Illegal characters in path. Src=mscorlib
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Altiris.PackageReplication.PackageReplicationSchedule.ExtractPackages(String packageFile, String directory)
at Altiris.PackageReplication.PackageReplicationSchedule.OnChildSchedule() )]]>
NS 6.0 SP3
Package Replication Solution
The ZIP archive used to compress replicated items before they are moved from the Parent NS to Child NS cannot contain any items with an illegal character in the name. If items included in the ZIP have illegal characters, the extraction of all items will fail.
To identify which items have bad characters, open the Packages.zip file created by the Parent NS in WinZip which will create a warning for each item which has an illegal character*. Then open the items in question via the NS console and modify the name to remove the illegal character before the next Package Replication cycle begins. To view the illegal character(s), export the task or collection from the NS console and open it up in an advanced text editing program such as UltraEdit**.
* If WinZip fails to open the Packages.zip archive entirely due to a corruption error, trying deleting the current Packages.zip archive completely and running the NS.Package Replication Scheduled Task on the Parent NS to create a new archive.
** 'Show Spaces and Tabs' and 'Convert From Unicod'e may be required settings in UltraEdit to see the characters.
Article URL http://www.symantec.com/docs/TECH13171