Today I had an issue with starting the Content Library Explorer which is contained in the ConfigMgr 2012 R2 Toolkit. The complete Error was “The legacy package does not have exactly one content.” like you can see in the next image.
This problem was also reported in the Technet forums but nobody had a easy or shareable solution for the problem. Now I created a PowerShell Script which will analyze the contentlib and report the packages with a problem back. You have only to modify the first line. The script has to be run on the distribution point with the issue.
$PathToDataLib = "E:\SCCMContentLib\DataLib" # Path to DataLib #################################### # Display Statistics # Display Duplicated Packages |
The result will look like this:
After redeploying these packages the Content Library Explorer could be started without errors.
- Microsoft Sentinel ASIM Parser demystified - March 31, 2024
- Enhancing Network Security Insights with IDS/IPS of Ubiquiti Dream Machine Pro and Microsoft Sentinel - March 10, 2024
- Ubiquiti Dream Machine Pro Logs to Microsoft Sentinel - February 6, 2024
2 Comments
BIgMike · July 29, 2016 at 10:30
Thomas,
Thanks for the script. I could not run Library Content Explorer either until I ran this script. Once I ran the script and identified the problem packages I just removed the problem DP from the packages and I could then connect successfully with the Content Explorer.
Again, many thanks
BigMike
Thomas Kurth · July 29, 2016 at 10:54
Hi Mike,
Thanks for the Feedback!
Have a nice day.
Regards
Thomas