Trying to do a fresh install of Octopus.3.3.18-x64 on a windows 10 machine.
First try:
Installed successfully but got the following error when trying to configure:
2016-06-21 18:46:41.7938 1 INFO Saving instance: OctopusServer
2016-06-21 18:46:42.5514 1 INFO Home directory set to: C:\Octopus
2016-06-21 18:46:42.5995 1 ERROR ===============================================================================
2016-06-21 18:46:42.6045 1 FATAL An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Shared.Configuration.IKeyValueStore)’ on type ‘OctopusServerStorageConfiguration’. —> Key not valid for use in specified state.
(See inner exception for details.)
Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Shared.Configuration.IKeyValueStore)’ on type ‘OctopusServerStorageConfiguration’. —> Key not valid for use in specified state.
(See inner exception for details.) —> System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.
at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
at Octopus.Shared.Configuration.AbstractKeyValueStore.Get(String name, Nullable1 protectionScope) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\AbstractKeyValueStore.cs:line 21 at Octopus.Shared.Configuration.AbstractKeyValueStore.Get[TData](String name, TData defaultValue, Nullable
1 protectionScope) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\AbstractKeyValueStore.cs:line 33
at Octopus.Shared.Configuration.OctopusServerStorageConfiguration…ctor(IKeyValueStore settings) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\OctopusServerStorageConfiguration.cs:line 15
at lambda_method(Closure , Object[] )
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
— End of inner exception stack trace —
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 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, IEnumerable
1 parameters)
at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass51.<>c__DisplayClass7.<CreateLazyRegistration>b__4() at System.Lazy
1.CreateValue()
at System.Lazy1.LazyInitValue() at Octopus.Server.Commands.ConfigureCommand.<>c__DisplayClass8_2.<.ctor>b__3() in Y:\Work\refs\tags\3.3.18\source\Octopus.Server\Commands\ConfigureCommand.cs:line 57 at Octopus.Shared.Startup.AbstractMultiOperationCommand.Start() in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Startup\AbstractMultiOperationCommand.cs:line 19 at Octopus.Server.Commands.ConfigureCommand.Start() in Y:\Work\refs\tags\3.3.18\source\Octopus.Server\Commands\ConfigureCommand.cs:line 171 at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Startup\AbstractCommand.cs:line 58 at Octopus.Shared.Startup.ConsoleHost.Run(Action
1 start, Action shutdown) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Startup\ConsoleHost.cs:line 72
at Octopus.Shared.Startup.OctopusProgram.Run() in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Startup\OctopusProgram.cs:line 87
2016-06-21 18:46:57.7855 1 WARN Could not open the database. This instance has not been deregistered.
2016-06-21 18:46:57.9196 1 INFO Deleted instance: OctopusServer
I tried un-installing and re-installing Octopus Manager, now when it opens I get this exception:
System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.
at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
at Octopus.Shared.Configuration.AbstractKeyValueStore.Get(String name, Nullable1 protectionScope) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\AbstractKeyValueStore.cs:line 21 at Octopus.Shared.Configuration.AbstractKeyValueStore.Get[TData](String name, TData defaultValue, Nullable
1 protectionScope) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\AbstractKeyValueStore.cs:line 33
at Octopus.Shared.Configuration.OctopusServerStorageConfiguration…ctor(IKeyValueStore settings) in Y:\Work\refs\tags\3.3.18\source\Octopus.Shared\Configuration\OctopusServerStorageConfiguration.cs:line 15
at Octopus.Manager.Server.OctopusConfiguration.OctopusManagerModel.Reload(ApplicationInstanceRecord applicationInstance) in Y:\Work\refs\tags\3.3.18\source\Octopus.Manager.Server\OctopusConfiguration\OctopusManagerModel.cs:line 174
at Octopus.Manager.Server.OctopusConfiguration.OctopusManagerView.LoadExistingInstanceScreen(ApplicationInstanceRecord defaultInstall) in Y:\Work\refs\tags\3.3.18\source\Octopus.Manager.Server\OctopusConfiguration\OctopusManagerView.xaml.cs:line 103
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)
I Googled around but haven’t found an answer.
Thanks.