Error target-resource

This topic contains 2 replies, has 2 voices, and was last updated by  Brian 1 month ago.

  • Author
    Posts
  • #99247

    Brian
    Participant

    HAs anyone ever seen a DSC error for package that say the Name and Identifyingnumber don't match. When they actually do? Take a look at the error bellow and you'll notice that they match what they say it should be.

    "PowerShell DSC resource MSFT_PackageResource failed to execute Set-TargetResource functionality with error message:
    The specified Name (RiskAgility FM Compute) and IdentifyingNumber ({D85F51A2-7730-4986-BA84-8DCADC0AA4D1}) do not
    match Name (RiskAgility FM Compute Node) and IdentifyingNumber ({D85F51A2-7730-4986-BA84-8DCADC0AA4D1}) in the MSI
    file
    + CategoryInfo : InvalidOperation: (:) [], CimException"

  • #99252

    Will Anderson
    Keymaster

    I'm assuming that RiskAgility FM Compute is the name that you're specifying in the name field for xPackage, and that RiskAgility FM Compute Node is actually what is being registered? You might try updating the name field to RiskAgility FM Compute Node and see if it goes through.

    • #99340

      Brian
      Participant

      That worked! I guess I needed another set of eyes! Thanks!

You must be logged in to reply to this topic.