Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Source: Arellia.SMP.FileInventory.Discovery.FileDigitalSignatureResourceDiscoverer.DiscoverResource Description: Unable to inventory certificate details for Resource DISTRIB.exe (f8adc4a4-f512-432b-92ca-d40663ed811e)
    • ( Exception Details: Arellia.SMP.Resource.Exceptions.AeXDuplicateResourceTypeKeyValueException: Duplicate Resources for ResourceTypeKey Hash (2244c832-3c51-4b26-9f8b-b2dfff449d9f).  Resolving for ResourceType Digital Certificate (c76fc2a7-85db-4ecb-a055-8cd0d5fc91fd).  Values = AlgorithmGuid='sha1 (3bc0e8a0-caa1-40e0-b705-c8d990c0babf)', Hash='Vk4BBmOH8myRIBDQa9eNPPHoRas='. MatchDerived = True ---> Altiris.Resource.AeXDuplicatedKeyValueException: Error in the application. at Altiris.Resource.ResourceTypeKey.FindResource(DataRow row, Guid resourceType, Boolean matchDerivedTypes)
  • Unable to extract CertDetails for Resource a76d9563-68a9-4855-8b41-fd6ca9dca0d0
    • (Unhandled exception. Type=MSoft.Resource.Exceptions.AeXDuplicateResourceTypeKeyValueException Msg=Duplicate Resources for ResourceTypeKey edb434fc-f301-4055-8e71-9b05ba2e1270. Resolving for ResourceType fb8a37a3-6b26-4ee9-a81b-fae48e3689b9. Values = OID='1.2.840.113549.1.1.1'.

Resolution

Note:

  • When resources are being created the dynamic creation of two simultaneously should not occur: the ResourceKeyPendingSession and ResourceKeyPending tables protect against this. However if the SMP/NS Service is killed there are situations where this can occur within certain timeframes.
  • The other scenario (which shouldn't occur) is if the standard resouce was deleted (or marked as deleted).  Then a new one would be created on the fly and a subsequent import of a solution Report or Data Pack ( on upgrade or repair) it would re-introduce the resource.

To

...

Resolve

Check for the text "Values" in the error message.  Extract the name of the Value(s) (in Ex. 1 above "AlgorithmGuid" and "Hash".  In Ex. 2 above "OID").  Substitute the name of the value in the following SQL where it says 'Name'.  The single quotes must surround the name of the value.  If there are two value then do them one at a time. 

...

Then open Resource Manager and substitute on the URL at the end the Guids of the Resources from the previous query.  There should be a Creation date on the Base Resource Portal Page in the Item Property Summary section.  Compare the dates of the two datesduplicate resources.  Usually the earlier date is the correct resource and the other one should be deleted.   Image Added

Find the resource to be deleted in the Resource Collections in the Default view of the Organizational Views and Groups.  If the resource type is not visible then select the filter Filter button (in the orange box below) and make the Resource Type visible.  Then when the resource is found right-click and delete it

. Image Added