I'm running a simple one-liner (ipconfig /all) to test a new Otter install and keep getting this error. It only happens when I run on a remote machine. Running against the Otter localhost work fine. I'm using powershell remoting to access, not the agent.
DEBUG: 2021-11-16 01:09:05Z - Job will be run against servers sequentially (not asynchronously).
DEBUG: 2021-11-16 01:09:05Z - Targeting servers: COMPUTERNAME.DOMAIN.com
DEBUG: 2021-11-16 01:09:05Z - Beginning execution run...
ERROR: 2021-11-16 01:09:08Z - Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'Scripting' or one of its dependencies. The system cannot find the file specified.
File name: 'Scripting'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Inedo.Agents.Commands.JobStartCommand.Deserialize(Stream stream)
at Inedo.Agents.AgentCommand.DeserializeInternal(Stream stream)
at Inedo.Agents.Hosting.HostedAgentProcess.<MessageLoop>d__24.MoveNext()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
ERROR: 2021-11-16 01:09:09Z - Execution run failed.
DEBUG: 2021-11-16 01:09:09Z - Cleaning up temporary files on PowerShell...
WARN : 2021-11-16 01:09:10Z - Unable to delete temporary directory "c:\temp\otter\Temp_E8" on PowerShell: At line:11 char:2
- }
- ~
The Try statement is missing its Catch or Finally block.
At line:12 char:1
- } Finally {
- ~
Unexpected token '}' in expression or statement.