Errorcode 2152205062 Collection Rule Not Found

Startseite – Aktivität Foren System Center Configuration Manager Sonstiges Errorcode 2152205062 Collection Rule Not Found

This topic contains 0 replies, has 1 voice, and was last updated by  Martin De Roma 2 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2279

    Martin De Roma
    Keymaster

    Hi Internet,

    Today one of our Customers stumbled upon the following error when removing a Client from a Collection:

    ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
    {
    CauseInfo = “-2”;
    Description = “Collection Rule Not Found”;
    ErrorCode = 2152205062;
    File = “..\\sspcollection.cpp”;
    Line = 953;
    ObjectInfo = “”;
    Operation = “ExecMethod”;
    ParameterInfo = “SMS_Collection.CollectionID=\”SSSNNNNN\””;
    ProviderName = “WinMgmt”;
    StatusCode = 2147749889;
    };

    ——————————-
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
    The SMS Provider reported an error.

    Stack Trace:
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`
    2 methodParameters, Boolean traceParameters)
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
    at Microsoft.ConfigurationManagement.AdminConsole.CollectionMenuActions.LaunchUtilities.RemoveResourceFromCollection(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject selectedResultObject, PropertyDataUpdated dataUpdatedDelegate, Status Status)

    ——————————-

    System.Management.ManagementException
    Generic failure

    Stack Trace:
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters, Boolean traceParameters)
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.ExecuteMethod(String methodName, Dictionary`2 methodParameters)
    at Microsoft.ConfigurationManagement.AdminConsole.CollectionMenuActions.LaunchUtilities.RemoveResourceFromCollection(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject selectedResultObject, PropertyDataUpdated dataUpdatedDelegate, Status Status)

    ——————————-

    After a short investigation this can happen when the client is added to the collection through a Membersip Rule that contains another collection that the client is a member of…

    In this case the Customer had assigned the Client to Collection A. Collection A has been assigned to Collection B hence adding the Client as a member to Collection B. Removing the Client from Collection B did result in the posted Error.

    So if you have this issue make sure the client is not added to your collection via a Membership Rule (you can find it in the Properties Window of the Collection)
    Then add rules according to what you want to do.

    Kind Regards
    Martin

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.