@Dan_Woolf Cool, glad I could help!
darkbasics_6739
@darkbasics_6739
Best posts made by darkbasics_6739
Latest posts made by darkbasics_6739
-
RE: Otter Remote Execution
Hi Dan,
No I'm not using the InedoAgent but the PowerShell agent and I"ve ran it multiple times already (~12x). Scripting Extension is version 1.10.6.
Seems that 'Scripting.upack' is not included in the HostedAgent\extensions folder which is causing it to break. Manually putting the upack in the HostedAgent\extensions folder fixes the issue. Once this has been manually copied to target-server /extensions/ I'm getting an error as seen below.
Cleaning up temporary files on PowerShell... Unable to delete temporary directory "C:\TEMP\Temp\_E2134" 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.
So i believe there are currently two issues:
- Scripting.upack is not copied/included in the Powershell Agent
- Temp-folder is not cleaned up properly.
Kr,
D#B -
RE: Otter Remote Execution
Hi Dan,
Running Otter on a Windows host. Otter version is the one pushed via the web installer - 3.0.16 (Build 3).
Kr,
D#B -
Otter Remote Execution
I've just starting playing around with Otter to 'sell' the configuration drift feature towards our server infrastructure.
However when trying to execute the sample Powershell (verify-hotfix-installed) on a remote server I'm having the errors seen below.
I've already validated if MWI is enabled and if anti-virus is causing issues.
Target System is a Windows Server 2019.Collecting current configuration from server... 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() === Pre-bind state information === LOG: DisplayName = Scripting (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: Scripting | Domain ID: 1 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///C:/TEMP/HostedAgent/bin/sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f/ LOG: Initial PrivatePath = NULL Calling assembly : Inedo.Agents.Client, Version=1000.0.0.0, Culture=neutral, PublicKeyToken=9de986a2f8db80fc. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\TEMP\HostedAgent\bin\sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f\Otter.Agent.exe.Config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/TEMP/HostedAgent/bin/sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f/Scripting.DLL. LOG: Attempting download of new URL file:///C:/TEMP/HostedAgent/bin/sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f/Scripting/Scripting.DLL. LOG: Attempting download of new URL file:///C:/TEMP/HostedAgent/bin/sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f/Scripting.EXE. LOG: Attempting download of new URL file:///C:/TEMP/HostedAgent/bin/sha256_e99df154cb350d4dbba8b67c4d71c72e64b62587f2999474cb042e74ddf85b0f/Scripting/Scripting.EXE.