Cannot create release after IP problems

Hi,

After our recurrent OS security updates, the IP from our Octopus server was changed. It was fixed afterwards and rolled back to the old one and set up as fixed. 
Afterwards, some of the tentacles started to have connection problems and users could not create releases anymore. 
 Our Octopus server version is 2020.1.17 and one of the tentacles with problems (that we are investigating on) is 5.0.13.0.
  This is the error received:

An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = CreateResponder2 (DelegateActivator), Services = [Octopus.Server.Web.Infrastructure.Api.CreateResponder2[[Octopus.Core.Model.ServerTasks.ServerTask, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null],[Octopus.Core.Resources.TaskResource, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = CreateResponder2 (ReflectionActivator), Services = [Octopus.Server.Web.Infrastructure.Api.CreateResponder2[[Octopus.Core.Model.ServerTasks.ServerTask, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null],[Octopus.Core.Resources.TaskResource, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (DelegateActivator), Services = [Octopus.Core.Validation.IDocumentValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)' on type 'DeploymentProcessValidator'. ---> The type initializer for 'DeploymentActionExtensibilityValidator' threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = CreateResponder2 (ReflectionActivator), Services = [Octopus.Server.Web.Infrastructure.Api.CreateResponder2[[Octopus.Core.Model.ServerTasks.ServerTask, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null],[Octopus.Core.Resources.TaskResource, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (DelegateActivator), Services = [Octopus.Core.Validation.IDocumentValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)’ on type ‘DeploymentProcessValidator’. —> The type initializer for ‘DeploymentActionExtensibilityValidator’ threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (DelegateActivator), Services = [Octopus.Core.Validation.IDocumentValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)' on type 'DeploymentProcessValidator'. ---> The type initializer for 'DeploymentActionExtensibilityValidator' threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IDocumentValidator[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable1[[Octopus.Core.Validation.IDocumentValidator, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (DelegateActivator), Services = [Octopus.Core.Validation.IDocumentValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)' on type 'DeploymentProcessValidator'. ---> The type initializer for 'DeploymentActionExtensibilityValidator' threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (DelegateActivator), Services = [Octopus.Core.Validation.IDocumentValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)’ on type ‘DeploymentProcessValidator’. —> The type initializer for ‘DeploymentActionExtensibilityValidator’ threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DeploymentProcessValidator (ReflectionActivator), Services = [FluentValidation.IValidator1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], FluentValidation.IValidator, System.Collections.Generic.IEnumerable1[[FluentValidation.IValidationRule, FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0]], System.Collections.IEnumerable, Octopus.Core.Validation.IDocumentValidator`1[[Octopus.Core.Model.Projects.DeploymentProcess, Octopus.Core, Version=2020.1.17.0, Culture=neutral, PublicKeyToken=null]], Octopus.Core.Validation.IDocumentValidator, Octopus.Core.Validation.IValidatorContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)’ on type ‘DeploymentProcessValidator’. —> The type initializer for ‘DeploymentActionExtensibilityValidator’ threw an exception. (See inner exception for details.) (See inner exception for details.) An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Core.RelationalStorage.IRawRelationalStore)’ on type ‘DeploymentProcessValidator’. —> The type initializer for ‘DeploymentActionExtensibilityValidator’ threw an exception. (See inner exception for details.) The type initializer for ‘DeploymentActionExtensibilityValidator’ threw an exception. Unable to load one or more of the requested types. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. Could not load file or assembly ‘System.Dynamic.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.

Thank you in advance for the help!

Hi florina.draghici,

Thank you for reaching out to us with your query.

Octopus Server should be able to handle an IP address change without any issues so it seems unlikely to be related to that. The error message seems to suggest something is wrong at a more fundamental level - possibly a broken installation of the .NET framework. It’s feasible that something has gone wrong during the security updates or during the rollback process.

You might find the following to be a useful resource if that is the case:

https://support.microsoft.com/en-us/topic/microsoft-net-framework-repair-tool-is-available-942a01e3-5b8b-7abb-c166-c34a2f4b612a

Would you be able to check into this and let me know how it goes?

Best Regards,

Charles

1 Like

Hi Charles,

It was indeed a .Net Framework issue on the Octopus server. After the security updates executed, .Net Core was affected and some DLL files removed.
We ran the repair tool, but that did not do the trick. We had to manually rebuild the whole .NET setup, then restarted the service, and only then everything was up and running.
Only the tentacles that did not have an opened session were affected, so that was why only some tentacles were affected.

Thank you so much for your assistance. It guided us exactly to the root cause of everything.

All the best,
Florina Draghici

1 Like

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