Issue

Jobs fail with the error message

Cannot process argument because the value of argument "initialSessionState" is null. 


German Translation

Das Argument kann nicht verarbeitet werden, da der Wert des Arguments "initialSessionState" NULL ist. 


Cause

The exact cause is unknown, though it seems to be related to running multiple processes of either "powerJobs.exe", "JobProcessor.exe" or "Connectivity.JobProcessor.Delegate.Host.exe".


One way to create multiple instances is to start powerJobs with multiple users. This will circumvent the single instance check.


Solution

  • Close all instances of "powerJobs.exe", "JobProcessor.exe" and "Connectivity.JobProcessor.Delegate.Host.exe"
  • Start powerJobs.exe