Jun 14 2022 05:59 AM
On my SCCM 2111 + Update KB12896009, I get the following error on one of my distribution points when I attempt to run the Content Library Cleanup tool:
ContentLibraryCleanup.exe /q /dp MYDP.mydomain.com /log \\MYPRIMARY\d$\Scripts\DP-Cleanup\ContentCleanup\MYDP
Gathering information...
Loading information from distribution point...
System.MissingMethodException: Method not found: 'System.String System.String.Format(System.IFormatProvider, System.String, System.Object)'.
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary.LoadContentLibraryFolders(String contentLibUsableDrives, String contentLibraryPath)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary..ctor(String remoteDPFqdn, String primarySiteServerFqdn, String primarySiteCode)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Program.Main(String[] args)
The program errors immediately and does not generate any log file. It does not occur on my other DPs. I am executing this on the local DP from a CMD window with Administrator rights.
Any ideas on how to fix this?
Jun 15 2022 01:42 PM
Jun 15 2022 01:47 PM
Jun 15 2022 02:44 PM
Jun 15 2022 02:47 PM
@DxR Nope, it is a standalone server at one of our remote offices. All other DPs operate normally. I think that reinstalling the DP role would fix it, but I'm looking for something a little more precise than getting out the "Big Hammer"
Jun 15 2022 02:51 PM
Aug 01 2022 05:26 AM
SolutionAug 01 2022 05:26 AM
Solution