Error installing Tentacle service

Using the latest build (, I’m getting the exception in the attached file when the installer tries to install the service, or when I try to run the tentacle client directly.

I’ve had this problem trying to install the service on two different machines, both Win2k3 SP2 machines. They have both the .net 4 client and extended profile installed.

Tentacle_Install_Error_Log.txt (6 KB)

Hi Kevin,

I’ve only tested against the full .NET 4.0 framework ( on Windows 2008 R2 machines thus far. I have a Server 2003 machine provisioned for testing - I’ll let you know how I go.

Unfortunately InstallUtil doesn’t seem to dump the full error. It sounds like DLL’s are missing, either from Tentacle or in the .NET framework, but we’d need the full details to know which ones.

Just for completeness, can you send me the output of this command:

tree /F C:\Octopus\Tentacle

(Assuming Tentacle was installed to the default path of C:\Octopus)


Yeah, that’s the installer I used on the boxes in question.

Below is the output of tree:

│ Autofac.Configuration.dll
│ Autofac.dll
│ Autofac.Integration.Mef.dll
│ Autofac.Integration.Wcf.dll
│ Autofac.xml
│ DbUp.dll
│ DbUp.xml
│ EntityFramework.dll
│ EntityFramework.xml
│ InstallUtil.InstallLog
│ log4net.dll
│ log4net.xml
│ Microsoft.Web.Publishing.Tasks.Dll
│ Mono.Cecil.dll
│ Mono.Cecil.Mdb.dll
│ Mono.Cecil.Pdb.dll
│ Mono.Cecil.Rocks.dll
│ NuGet.Core.dll
│ Octopus.Core.dll
│ Octopus.Core.pdb
│ SimpleFileSystem.dll
│ SimpleFileSystem.pdb
│ Tentacle.exe
│ Tentacle.exe.config
│ Tentacle.InstallLog
│ Tentacle.pdb
│ Tentacle.vshost.exe
│ Tentacle.vshost.exe.config
│ Tentacle.vshost.exe.manifest

│ Autofac.Configuration.dll
│ Autofac.dll
│ Autofac.Integration.Mef.dll
│ Autofac.xml
│ DbUp.dll
│ DbUp.xml
│ EntityFramework.dll
│ EntityFramework.xml
│ log4net.dll
│ log4net.xml
│ Octopus.Core.dll
│ Octopus.Core.pdb
│ Tools.exe
│ Tools.exe.config
│ Tools.pdb
│ Tools.vshost.exe
│ Tools.vshost.exe.config
│ Tools.vshost.exe.manifest

I ran fuslogvw on the one box giving me a problem, and it turns out that its having problems binding to System.Management.Automation:

*** Assembly Binder Log Entry (6/28/2011 @ 2:44:30 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Octopus\Tentacle\Agent\Tentacle.exe
— A detailed error log follows.

=== Pre-bind state information ===
LOG: User = TURNER\kbrill
LOG: DisplayName = System.Management.Automation, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Appbase = file:///C:/Octopus/Tentacle/Agent/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Tentacle.exe
Calling assembly : Tentacle, Version=, Culture=neutral, PublicKeyToken=null.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Octopus\Tentacle\Agent\Tentacle.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Management.Automation, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).

Hmm is PowerShell not installed…? Let me check that.

Yep. That was the problem. Downloaded Windows Management Framework and installed it on the box, and the Tentacle service started up just fine.

I guess that’s what happens when you run antiquated web servers. Is Win2k3 really 8 years old…? :smiley:

Thanks Kevin, I’ve updated the setup documents to add a link to the WMF download.