Modify SCCM Software Updates Package: Remove and ADD CIs Error

Oct 14, 2011 at 10:52 PM

Hi,

I am trying to add and remove CIs to/from the Software Update Package but am getting an error when using the "Modify SCCM Software Updates Package:Add CIs" and "Modify SCCM Software Updates Package:Remove CIs".  I am able to create the package with "Create SCCM Software Update Package" but just can't use the add and remove CI methods to add content to it.

Not found , Method = AddUpdateContent

Exception: WqlQueryException
Target site: WqlResultObject.ExecuteMethod

Stack trace:
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
   at OpalisSCCMInterop.CMInterop.modifySCCMSoftwareUpdatesPackageAddCIs(WqlConnectionManager connection, String existingSoftwareUpdatesPackageID, String contentIDList, String contentSourcePathList, Boolean refreshDPs)
   at OpalisSCCMExtension.ModifySoftwareUpdatesPackageAddCIs.Execute(IOpalisRequest request, IOpalisResponse response)

 Not found , Method = RemoveContent

Exception: WqlQueryException
Target site: WqlResultObject.ExecuteMethod

Stack trace:
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
   at OpalisSCCMInterop.CMInterop.modifySCCMSoftwareUpdatesPackageRemoveCIs(WqlConnectionManager connection, String existingSoftwareUpdatesPackageID, String contentIDList, Boolean refreshDPs)
   at OpalisSCCMExtension.ModifySoftwareUpdatesPackageRemoveCIs.Execute(IOpalisRequest request, IOpalisResponse response)

Any help on this will be greatly appreciated!

thanks,

Keith

Coordinator
Oct 14, 2011 at 10:54 PM

From: KB_PL

Hi,

I am trying to add and remove CIs to/from the Software Update Package but am getting an error when using the "Modify SCCM Software Updates Package:Add CIs" and "Modify SCCM Software Updates Package:Remove CIs". I am able to create the package with "Create SCCM Software Update Package" but just can't use the add and remove CI methods to add content to it.

Not found , Method = AddUpdateContent

Exception: WqlQueryException
Target site: WqlResultObject.ExecuteMethod

Stack trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
at OpalisSCCMInterop.CMInterop.modifySCCMSoftwareUpdatesPackageAddCIs(WqlConnectionManager connection, String existingSoftwareUpdatesPackageID, String contentIDList, String contentSourcePathList, Boolean refreshDPs)
at OpalisSCCMExtension.ModifySoftwareUpdatesPackageAddCIs.Execute(IOpalisRequest request, IOpalisResponse response)

Not found , Method = RemoveContent

Exception: WqlQueryException
Target site: WqlResultObject.ExecuteMethod

Stack trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
at OpalisSCCMInterop.CMInterop.modifySCCMSoftwareUpdatesPackageRemoveCIs(WqlConnectionManager connection, String existingSoftwareUpdatesPackageID, String contentIDList, Boolean refreshDPs)
at OpalisSCCMExtension.ModifySoftwareUpdatesPackageRemoveCIs.Execute(IOpalisRequest request, IOpalisResponse response)

Any help on this will be greatly appreciated!

thanks,

Keith