counter customizable

An error occurred when loading the task sequence. When using multiple SMS Providers.

When using multiple SMS Providers in Microsoft System Center Configuration Manager 2012 and trying to edit a MDT task sequence you sometimes get “An error occurred when loading the task sequence”. The error occurs  when you get connected to one of the “other” SMS Providers. And when checking the TaskSequenceProvider.log on that server you se the following:

[16CF6D8 PID:2488] Initializing provider for namespace root\sms\site_TUC    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
[16CF6D8  PID:2488] Initialization of provider for namespace root\sms\site_TUC succeeded    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
[PID: 2488] Invoking method SMS_TaskSequence.ExportXml    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
Failed to export task sequence to XML 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
[PID: 2488] Done with method SMS_TaskSequence.ExportXml    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
Setting status complete:  status code = 0×80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence.    TaskSequenceProvider    2013-01-21 13:23:16    2420 (0×0974)
[PID: 2488] Invoking method SMS_TaskSequence.LoadFromXml    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load node Use Toolkit Package from XML into WMI 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load children steps for node "Initialization" from XML 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load children steps for node "Execute Task Sequence" from XML 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load children steps for node "" from XML 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Failed to load XML for the task sequence into WMI 0×80041002 (2147749890)    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
[PID: 2488] Done with method SMS_TaskSequence.LoadFromXml    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)
Setting status complete:  status code = 0×80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence.    TaskSequenceProvider    2013-01-21 13:23:17    2420 (0×0974)

It works fine when you get connected to the primary server that was installed first. I hade installed the MDT Configure ConfigMgr Integration locally on the second SMS Provider, and the installation was successful. But still got the same error. But if you check the log “Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence” it says that it can’t find the BDD_UsePackage in WMI

image

And if I check WMI the class is missing on the second SMS Provider.

 

image

And when checking the primary SMS Provider the WMI class is there.

 

Solution

After some testing I found the solution is to run the installation of MDT Configure ConfigMgr Integration from the primary site server but point to the second SMS Provider in the installation wizard.

image

SCCM2012-2.lab.local is in this case the second SMS Provider but the MDT Configure ConfigMgr Integration is running on SCCM2012.lab.local that is the primary site server. The installation is successful for real this time.

image

Now when checking WMI on the second SMS Provider the class is there. And the MDT Task Sequence can be edited without any errors.

Mikael Karlsson posted at 2013-1-21 Category: Configuration Manager 2012, MDT