Could not start Octopus tools - tentacle.exe will not run (Ver 1.6.1.1718)

I am receiving this error on one of our Win2008R2 test boxes.
This was on a machine that was previously working - I am not trying to upgrade it, just trying to fix it. I am not sure what made it stop working. I have attempted a reinstall, but the error persists. Since I cannot run tentacle.exe manually to remove the service, I used Windows (sc delete) so the service is removed. I have removed the Octopus install via “Programs and Features” menu, and have also deleted the Octopus key in HKLM.

The installation process is copying the files, and works fine - it is when the Tools.EXE is launched that the error appears.
The service is not being recreated, and I’m assuming this is because tools.exe cannot launch.

The following (2) events were logged in the APP log during the install:

##################################################################################################
Log Name:      Application
Source:        .NET Runtime
Date:          3/10/2014 10:46:38 AM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      mytestcomputer.domain.com
Description:
Application: Tentacle.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   at Autofac.Builder.RegistrationData..ctor(Autofac.Core.Service)
   at Autofac.Builder.RegistrationBuilder`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]]..ctor(Autofac.Core.Service, System.__Canon, System.__Canon)
   at Autofac.Builder.RegistrationBuilder.ForType[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]]()
   at Autofac.RegistrationExtensions.RegisterType[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]](Autofac.ContainerBuilder)
   at Octopus.Shared.Startup.AutofacExtensions.RegisterCommand[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]](Autofac.ContainerBuilder, System.String, System.String, System.String[])
   at Octopus.Tentacle.Program.BuildContainer()
   at Octopus.Tentacle.Program.Main(System.String[])

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-10T15:46:38.000000000Z" />
    <EventRecordID>14801</EventRecordID>
    <Channel>Application</Channel>
    <Computer>mytestcomputer.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: Tentacle.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   at Autofac.Builder.RegistrationData..ctor(Autofac.Core.Service)
   at Autofac.Builder.RegistrationBuilder`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]]..ctor(Autofac.Core.Service, System.__Canon, System.__Canon)
   at Autofac.Builder.RegistrationBuilder.ForType[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]]()
   at Autofac.RegistrationExtensions.RegisterType[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]](Autofac.ContainerBuilder)
   at Octopus.Shared.Startup.AutofacExtensions.RegisterCommand[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxx]](Autofac.ContainerBuilder, System.String, System.String, System.String[])
   at Octopus.Tentacle.Program.BuildContainer()
   at Octopus.Tentacle.Program.Main(System.String[])
</Data>
  </EventData>
</Event>
##############################################################################################
Log Name:      Application
Source:        Application Error
Date:          3/10/2014 10:46:38 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      mytestcomputer.domain.com
Description:
Faulting application name: Tentacle.exe, version: 1.6.1.1718, time stamp: 0x518c69f0
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe0434352
Fault offset: 0x0000000000009e5d
Faulting process id: 0x1080
Faulting application start time: 0x01cf3c77ec73b254
Faulting application path: C:\Program Files (x86)\Octopus Tentacle\Agent\Tentacle.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 2a843317-a86b-11e3-86b9-005056a9564a
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-10T15:46:38.000000000Z" />
    <EventRecordID>14802</EventRecordID>
    <Channel>Application</Channel>
    <Computer>mytestcomputer.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Tentacle.exe</Data>
    <Data>1.6.1.1718</Data>
    <Data>518c69f0</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.1.7601.18015</Data>
    <Data>50b8479b</Data>
    <Data>e0434352</Data>
    <Data>0000000000009e5d</Data>
    <Data>1080</Data>
    <Data>01cf3c77ec73b254</Data>
    <Data>C:\Program Files (x86)\Octopus Tentacle\Agent\Tentacle.exe</Data>
    <Data>C:\Windows\system32\KERNELBASE.dll</Data>
    <Data>2a843317-a86b-11e3-86b9-005056a9564a</Data>
  </EventData>
</Event>

Hi,

Thanks for reporting this. I’m not sure what the cause is but the error is similar to another bug report that we had - does installing this hotfix from Microsoft help?

http://support.microsoft.com/kb/2468871

Paul

Yes it may have Paul. Tools.EXE is working again, and I was able to get the tentacle service installed and running again.
The fix?? While I was awaiting your response, I noticed that this server was sorely behind on MS updates.
One of the updates installed during the remediation was KB2468871 – so it could have been this update alone, or one of the other (9) .NET updates that were applied. :slight_smile:

Thanks for your response and suggestion!!

-Karl