Sep 26 2023 07:34 AM
I have this issue on one out of about 100 distribution point servers. I tried redistributing some of the larger packages to it but didn't help.
Below is the command being used with full output with error.
ContentLibraryCleanup.exe /dp FQDNServerName /delete /q
Gathering information...
Loading information from distribution point...
Analyzing local files, 0.00% complete...
Analyzing local files, 4.76% complete...
Analyzing local files, 9.69% complete...
Analyzing local files, 14.79% complete...
Analyzing local files, 19.75% complete...
Analyzing local files, 24.72% complete...
Analyzing local files, 29.60% complete...
Analyzing local files, 34.61% complete...
Analyzing local files, 39.51% complete...
Analyzing local files, 44.57% complete...
Analyzing local files, 49.77% complete...
Analyzing local files, 54.89% complete...
Analyzing local files, 60.01% complete...
Analyzing local files, 64.95% complete...
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2, String path3)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContent..ctor(CLContentLibrary contentLib, String contentId)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary.GetContentById(String contentId)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLFile.LoadUsers()
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary.LoadFiles()
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary..ctor(String remoteDPFqdn, String primarySiteServerFqdn, String primarySiteCode)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Program.Main(String[] args)
Oct 02 2023 05:52 AM