I was able to seal a MP which does not has a reference with no issues , but on another where there are multiple references it fails with below error Management pack could bot be loaded. Currently on System Center 2012 SP1.
Could not load management pack [ID=Microsoft.SQLServer.2008.Monitoring, KeyToken
=31bf3856ad364e35, Version=6.3.173.1]. The management pack was not found in the
store.
Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of clas
s ManagementPack with name Microsoft.SQLServer.2008.Monitoring was not found.
at Microsoft.EnterpriseManagement.AggregateStoreManagementPackManagement.GetM
anagementPack(String name, String keytoken, Version version)
at Microsoft.EnterpriseManagement.Configuration.ManagementPackReference.GetMa
nagementPack()
From my custom management pack which I am trying to seal the references are pointing to
<Reference Alias=”SQLServer”>
<ID>Microsoft.SQLServer.2008.Monitoring</ID>
<Version>6.3.173.1</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
and from the Mircosoft.SQLServer.2008.Monitoring the versions match there too. It looks like the verions are matching – not sure why it cannot load it.
<Identity>
<ID>Microsoft.SQLServer.2008.Monitoring</ID>
<Version>6.3.173.1</Version>
</Identity>