AnsweredAssumed Answered

Failed to get SccmVersion

Question asked by Viktors Advocate on May 29, 2018
Latest reply on May 30, 2018 by Kadir.kirca

Hi!

 

After upgrading SIM to the 5.8.1. version, there is an error with SCCM 2016:

2018-05-29 09:13:42,116 [1] INFO Microsoft SCCM v.2016 [(null)] [(null)] - Testing data provider connection.
2018-05-29 09:13:42,132 [1] INFO Microsoft SCCM v.2016 [(null)] [(null)] - Data Provider connection tested OK.
2018-05-29 09:13:42,132 [1] INFO SnowSoftware.ExternalDataProvider.Aggregator [(null)] [(null)] - SIM version 5.8.1 (1013)
2018-05-29 09:13:42,132 [1] INFO Microsoft SCCM v.2016 [(null)] [(null)] - Trying to open inventory providers underlying database connection.
2018-05-29 09:13:42,132 [1] INFO Microsoft SCCM v.2016 [(null)] [(null)] - Finished opening inventory providers underlying database connection.
2018-05-29 09:13:42,163 [1] ERROR Microsoft SCCM v.2016 [(null)] [(null)] - Failed to get SccmVersion. Exception: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Max(IEnumerable`1 source)
at SnowSoftware.ExternalDataProvider.Providers.MicrosoftSccm2012.MicrosoftSccmInventoryProvider.GetSccmVersionNumber()
2018-05-29 09:13:42,163 [1] ERROR SnowSoftware.ExternalDataProvider.Aggregator [(null)] [(null)] - Unhandled exception occurred:
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Max(IEnumerable`1 source)
at SnowSoftware.ExternalDataProvider.Providers.MicrosoftSccm2012.MicrosoftSccmInventoryProvider.GetSccmVersionNumber()
at SnowSoftware.ExternalDataProvider.Providers.MicrosoftSccm2012.MicrosoftSccmInventoryProvider.RetrieveClientsToProcess(DateTime fromDate)
at SnowSoftware.ExternalDataProvider.Aggregator.Aggregate(Type type, String instanceName)

 

Previous version worked fine. Aggregation for SCCM 2012 works properly with the newest version of SIM.

Are there any suggestions regarding this issue?

 

Best regards,

Viktors

Outcomes