Getting exception when launching tentacle manager

Seems to have started today, launching tentacle manager on most of our deployment targets opens a window with the following error

An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ShellView (DelegateActivator), Services = [Octopus.Manager.Tentacle.Shell.ShellView], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope —> Could not load file or assembly ‘Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (See inner exception for details.)
Autofac.Core.DependencyResolutionException
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable1 parameters)
at Octopus.Manager.Tentacle.App.CreateAndShowShell(IComponentContext container) in App.xaml.cs:line 100
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

–Inner Exception–
Could not load file or assembly ‘Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
System.IO.FileLoadException
at Octopus.Shared.Configuration.ApplicationInstanceStore.LoadInstanceConfiguration(String path)
at System.Linq.Enumerable.<>c__DisplayClass7_03.<CombineSelectors>b__0(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Octopus.Shared.Configuration.ApplicationInstanceStore.ListInstances(ApplicationName name) at Octopus.Manager.Tentacle.Shell.InstanceSelectionModel.Refresh() in InstanceSelectionModel.cs:line 47 at Octopus.Manager.Tentacle.TentacleConfiguration.TentacleModule.CreateShell(IComponentContext container) in TentacleModule.cs:line 35 at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_01.b__0(IComponentContext c, IEnumerable1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)

Hi @PMSwetz!

Sorry to see that you were bitten by this issue - we changed our packaging scheme which caused some issues with Tentacle version 5.0.1, but we’ve fixed this up in 5.0.2 - if you install the update, you should be back in action.

Apologies for the inconvenience, and please don’t hesitate to reach out if you have any further questions or concerns.

That does line up with the ones that have an issue vs the ones that do not.
The versions running 5.0.1 are not presenting the upgrade button on connectivity screen so I do not seem to have a way to push them to 5.0.2

Any more info on how to push the clients currently running the 5.0.1 version up to the 5.0.2 version?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.