Quantcast
Channel: Shavlik User Community : All Content - Ivanti Patch for Windows
Viewing all articles
Browse latest Browse all 2126

Add-PatchGroupItem Failing

$
0
0

I am trying to run a simple:

Add-PatchGroupItem -Name 'PatchGroup-A' -Cve 'CVE-2016-0127','CVE-2016-0149'

 

However, I am getting an exception:

Add-PatchGroupItem : Failed to add patch group items: Exception calling "AddPatchGroupItem" with "2" argument(s):

"Generic data access layer exception. SQL exception message: Cannot insert the value NULL into column 'patchGroupId',

table 'Protect.dbo.PatchGroupPatch'; column does not allow nulls. INSERT fails.

The statement has been terminated."

At line:1 char:1

+ Add-PatchGroupItem -Name 'PatchGroup-A' -Cve 'CVE-2016-0127','CVE-2016-0149'

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Add-PatchGroupItem

 

Thanks!


Viewing all articles
Browse latest Browse all 2126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>