SystemCenter: WAP-Error: Cannot create unknown type

Aus Wiki-WebPerfect
Version vom 10. Mai 2019, 10:35 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Dies ist eine Vorlage für das erstellen eines Wiki-Knowledge-Eintrag.


Error

Cannot create unknown type '{clr-namespace:Microsoft.PowerShell.DynamicActivities;assembly=xza4410m.drl}Activity_651390303_Nested'.



Cause

The PowerShell-Module SMAAuthoringToolkit (EmulatedAutomationActivities) is installed on a SMA-Worker.

The EmulatedAutomationActivities module should not be installed on any SMA Runbook Worker host. If it is installed, it could cause runbooks running on that worker to fail because the worker won’t know whether to use the real Get-Automation* activities or the emulated ones when it runs runbooks. This means that if you want to take advantage of the SMA-only activities in the PowerShell ISE, you can only write ISE runbooks on a host that is not an SMA Runbook Worker.


Solution

  • Remove the Get-AutomationAsset runbook from WAP-Portal
  • Remove the PowerShell-Module SMAAuthoringToolkit from your SMA-Worker (C:\Program Files\WindowsPowerShell\Modules)



More informations: https://gallery.technet.microsoft.com/Service-Management-d4edfbf4