locked
Deploy a software update group: Error: Invalid collection id ZIR0000C in SMSPROV.log RRS feed

  • Question

  • Hi there,

    when i try to deploy a software update group to a collection (doesn' matter which group to which collection) i get the error messages:

    In the wizard:
    The Deploy Software UPdates Wizar completed with errors. Error: The SMS Provider reported an error.

    In the smsprov.log i can find the following:

    CExtUserContext::EnterThread : User=DMAS\XXX Sid=0x010500000000000515000000E818B8ECBC6360901019AB3ED30D0000 Caching IWbemContextPtr=0000000007257220 in Process 0xa00 (2560)	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: SMSAppName=SMS Administrator Console	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: MachineName=MADSCCM03.ads.dmas.info	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: UserName=DMAS\xxx	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: ObjectLockContext=692d1181-8c42-4265-bc9f-37a3105763aa	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: ApplicationVersion=5.0.0.0	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: LocaleID=MS\0x409	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: __ProviderArchitecture=32	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: __RequiredArchitecture=0 (Bool)	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: __ClientPreferredLanguages=en-US,en	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    Context: __GroupOperationId=85814	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    CExtUserContext : Set ThreadLocaleID OK to: 1033	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    CSspClassManager::PreCallAction, dbname=CM_ZIR	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    PutInstanceAsync SMS_UpdateGroupAssignment	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    CExtProviderClassObject::DoPutInstanceInstance	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    *~*~e:\qfe\nts\sms\siteserver\sdk_provider\smsprov\sspciassignment.cpp(617) : Invalid collection id ZIR0000C~*~*	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    *~*~Invalid collection id ZIR0000C ~*~*	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    ERROR: Invalid collection id ZIR0000C	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=119894560	SMS Provider	07.06.2013 12:58:31	12300 (0x300C)
    

    Any Ideas what to do? Can't find usefull infos on the internet.

    Thanks

    best regards
    Sebastian

    Friday, June 7, 2013 11:01 AM

Answers

  • Hi Jörgen,

    because i havent't heard anything from the support for some days i tried a workaround i found on the web. A Script to create a collection with a specified collection id.

    http://sccm2o12.blogspot.de/2010/04/restoring-deleted-all-systems.html

    That worked for me an i am able to distribute my updates.

    Now, let's see with what the support come up :)

    Regards
    Sebastian


    • Edited by Sebastian B Monday, July 8, 2013 12:11 PM spelling
    • Proposed as answer by Garth JonesMVP Sunday, February 15, 2015 7:43 PM
    • Marked as answer by Sebastian B Monday, February 16, 2015 9:18 AM
    Monday, July 8, 2013 12:10 PM

All replies

  • Is ZIR0000C an existing collection? Either use the built-in search function of the console or the Get-CMDeviceCollection cmdlet.

    Torsten Meringer | http://www.mssccmfaq.de


    Friday, June 7, 2013 11:07 AM
  • I was not able to find that collection.
    Friday, June 7, 2013 11:08 AM
  • So the powershell cmdlet does not list it? Can you delete it using Remove-CMDeviceCollection?

    Torsten Meringer | http://www.mssccmfaq.de

    Friday, June 7, 2013 11:11 AM
  • At the moment we don't have SP1 installed. How can i use powershell to list the collections?
    Friday, June 7, 2013 11:37 AM
  • This can't be done using the SP1 powershell cmdlets then. Just query WMI instead:

     $Collections = gwmi -Namespace root\sms\site_ZIR -Query "SELECT * FROM SMS_Collection where CollectionID = 'ZIR0000C'"
     $Collections


    Torsten Meringer | http://www.mssccmfaq.de

    Friday, June 7, 2013 11:47 AM
  • I just entered your code in the powershell console. No result and the following infos in the smsprov.log

    CExtUserContext::EnterThread : User=DMAS\xxx Sid=0x010500000000000515000000E818B8ECBC6360901019AB3ED30D0000 Caching IWbemContextPtr=0000000007256B20 in Process 0xa00 (2560)	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Context: __ClientPreferredLanguages=en-US,en	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Context: __GroupOperationId=100622	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    CExtUserContext : Set ThreadLocaleID OK to: 1031	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    CSspClassManager::PreCallAction, dbname=CM_ZIR	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    ExecQueryAsync: START SELECT * FROM SMS_Collection where CollectionID = 'ZIR0000C'	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Adding Handle 26862800 to async call map	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    CExtProviderClassObject::DoCreateInstanceEnumAsync (SMS_Collection)	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    CSspQueryForObject :: Execute...	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Execute WQL  =SELECT * FROM SMS_Collection where CollectionID = 'ZIR0000C'	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Execute SQL =select  all SMS_Collection.SiteID,SMS_Collection.CollectionType,SMS_Collection.CollectionVariablesCount,SMS_Collection.CollectionComment,SMS_Collection.CurrentStatus,SMS_Collection.IncludeExcludeCollectionsCount,SMS_Collection.IsBuiltIn,SMS_Collection.IsReferenceCollection,SMS_Collection.LastChangeTime,SMS_Collection.LastMemberChangeTime,SMS_Collection.LastRefreshTime,SMS_Collection.LimitToCollectionID,SMS_Collection.LimitToCollectionName,SMS_Collection.LocalMemberCount,SMS_Collection.ResultClassName,SMS_Collection.MemberCount,SMS_Collection.MonitoringFlags,SMS_Collection.CollectionName,SMS_Collection.PowerConfigsCount,SMS_Collection.RefreshType,SMS_Collection.ServiceWindowsCount from vCollections AS SMS_Collection  where SMS_Collection.SiteID = N'ZIR0000C'	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Results returned : 0 of 1	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    Removing Handle 26862800 from async call map	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    ExecQueryAsync: COMPLETE SELECT * FROM SMS_Collection where CollectionID = 'ZIR0000C'	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=119892768	SMS Provider	07.06.2013 15:30:40	12968 (0x32A8)
    

    Results returned : 0 of 1    SMS Provider    07.06.2013 15:30:40    12968 (0x32A8)

    Friday, June 7, 2013 1:32 PM
  • I just openend a ticket at microsoft. Let's see what happens.
    Tuesday, June 11, 2013 12:02 PM
  • Till now it wasn't possible to solve the error with the support.

    But i found some additional information. In the Status Message Queries there is one showing "Collections, Created, Modiefied, or Delete". The collection with the ID from the error message in the smsprov.log above is listed here. It was deleted by a colleague. But i was not able to find out, what object still points to that deleted collection. Looks like a bug...

    I hope this info my speedup the support a little bit.

    Tuesday, June 25, 2013 9:12 AM
  • HI,

    Any update on this?

    Regards,
    Jörgen


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Friday, July 5, 2013 1:43 PM
  • Hi Jörgen,

    because i havent't heard anything from the support for some days i tried a workaround i found on the web. A Script to create a collection with a specified collection id.

    http://sccm2o12.blogspot.de/2010/04/restoring-deleted-all-systems.html

    That worked for me an i am able to distribute my updates.

    Now, let's see with what the support come up :)

    Regards
    Sebastian


    • Edited by Sebastian B Monday, July 8, 2013 12:11 PM spelling
    • Proposed as answer by Garth JonesMVP Sunday, February 15, 2015 7:43 PM
    • Marked as answer by Sebastian B Monday, February 16, 2015 9:18 AM
    Monday, July 8, 2013 12:10 PM