Symptoms:
Microsoft WSUS product category limit of 100 can cause issues with deploying packages using Software Vulnerability Manager. Error: “Failed to publish package. Code: -2146233088 Publishing operation failed, too many locally published categories” occurs when more than 100 different vendor packages are published to the WSUS server.
Diagnosis:
You are receiving an error “Failed to publish package. Code: -2146233088 Publishing operation failed, too many locally published categories”
- Log csi_pluginlog.txt will contain below error:
[04/09 11:08:06.391] Publishing package [04/09 11:08:06.745] Failed to create package: : -2147352567 , In 'Publisher.invoke' Code: -2146233088 Publishing operation failed, too many locally published categories. --> Microsoft.UpdateServices.Administration.PackagePublisherTooManyCategoriesException: Publishing operation failed, too many locally published categories. at Microsoft.UpdateServices.Internal.BaseApi.Publisher.VerifyPackageRulesAndState() at Microsoft.UpdateServices.Internal.BaseApi.Publisher.PublishPackage(String sourcePath, String additionalSourcePath, String packageDirectoryName, Boolean dualSign, String httpTimeStamp) at Microsoft.UpdateServices.Internal.BaseApi.Publisher.PublishPackage(String sourcePath, String packageDirectoryName) at plugin.DotNetWrapper<Microsoft::UpdateServices::Administration::IPublisher>.invoke(DotNetWrapper<Microsoft::UpdateServices::Administration::IPublisher>* , PluginBstr* name, Arguments* args, PluginMarshal* marshal)
- You can run Powershell script to get current number of your products in the WSUS. Edit script as required.
$server = Get-WsusServer -name WSUS.company.local -portnumber 8531 -usessl #Edit as required
$prods = Get-WsusProduct -UpdateServer $server
$prods.Product | ?{$_.UpdateSource -eq "Other"} |ForEach-Object -Begin { $index = 0 } -Process {Add-Member -InputObject $_ -MemberType NoteProperty -Name Number -Value (
++$index) -PassThru} | Format-Table Number, type, title -Autosize
Write-host "You have"$index "products" -BackgroundColor Black -ForegroundColor Yellow
Cause:
This issue occurs due to Microsoft limitation of 100 categories in the WSUS for the 3rd party products.
Workaround:
Delete unwanted 3rd party products from the WSUS. To delete product or vendor you can use Flexera WSUS Management Tool.
Method 1
- Open Flexera WSUS Management Tool
- Connect to your WSUS server to display available packages
- Right click on selected update and click “Delete Selected Items”. It is possible to highlight multiple items by holding “Ctrl” and then delete all selected.
- Once you have deleted updates from WSUS, run the WSUS Cleanup Wizard available from the Options node in WSUS
Method 2
- Login to your Software Vulnerability Manager console
- Go to Patching - WSUS / System Center - Available
- Right click on unwanted package and select "Delete"
- Once you have deleted updates from WSUS, run the WSUS Cleanup Wizard available from the Options node in WSUS
Related Articles
Failed to publish package [-2147024809 Solved] 11Number of Views Package publishing failed Code -2146233079 Error 2148081670 13Number of Views SVM Publishing to WSUS: Troubleshooting Guide 15Number of Views Package Publishing Error - Return Code: -2146232060 3Number of Views "REST Operation Failed Performing..." Error When Setting the Password for a Cloud License Server (CLS) in Flexnet Operations 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago