Installation problem - The profile for the user is a temporary profile

Hi There,

I was hoping to install and evaluate OD for usage in our organisation. Unfortunately I’ve fallen at the first hurdle! Whilst trying to install the Octopus Server it keeps failing with the following error:

System.Runtime.InteropServices.COMException (0x80090024): The profile for the user is a temporary profile. (Exception from HRESULT: 0x80090024)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

The only settings I altered where to change the default installation to a different drive letter, and I switched to AD from ‘usernames/passwords’.

I couldn’t find anything specific mention of resolution steps or possible causes of this issue, does anyone have any suggestions?

Kind Regards,

Doug

Hi Doug,

Thanks for getting in touch! What operating system are you trying to install Octopus on?
Are you able to provide the full output of the installation process script?

Thanks!
Vanessa

HI Vanessa,

The box is a Windows Server 2008 Enterprise (6.0 Build 6002).

I’ve tried a few times and each time I get the following in the Octopus log directory:

2015-01-13 16:01:48.3477 INFO Home directory set to: G:\Octopus
2015-01-13 16:01:48.7237 INFO Storage mode set to: Embedded
2015-01-13 16:01:48.7487 INFO Allow checking for upgrades: True
2015-01-13 16:01:48.7487 INFO Include usage statistics: False
2015-01-13 16:01:48.7737 INFO Web authentication mode: Domain
2015-01-13 16:01:48.7737 INFO Web force SSL: False
2015-01-13 16:01:48.7737 INFO Web listen prefixes: http://localhost:80/
2015-01-13 16:01:48.7927 INFO Storage listen port set to: 10931
2015-01-13 16:01:48.7927 INFO Comms listen port: 10943
2015-01-13 16:03:56.8075 INFO Creating or modifying administrator 'dougm’
2015-01-13 16:04:25.6544 INFO You can browse the RavenDB server at: http://localhost:10931/
2015-01-13 16:04:25.7214 INFO Creating default Octopus Server certificate
2015-01-13 16:04:25.7604 FATAL System.Runtime.InteropServices.COMException (0x80090024): The profile for the user is a temporary profile. (Exception from HRESULT: 0x80090024)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Octopus.Shared.Security.CertificateGenerator.Generate(String fullName, Boolean exportable) in y:\work\refs\heads\release\source\Octopus.Shared\Security\CertificateGenerator.cs:line 27
at Octopus.Server.Storage.Initialization.BuiltIn.OctopusCertificateInitializer.Initialize(IDocumentStore store) in y:\work\refs\heads\release\source\Octopus.Server\Storage\Initialization\BuiltIn\OctopusCertificateInitializer.cs:line 46
at Octopus.Server.Storage.Initialization.StoreInitializer.Initialize() in y:\work\refs\heads\release\source\Octopus.Server\Storage\Initialization\StoreInitializer.cs:line 26
at Octopus.Server.Commands.AdminCommand.Start() in y:\work\refs\heads\release\source\Octopus.Server\Commands\AdminCommand.cs:line 75
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in y:\work\refs\heads\release\source\Octopus.Shared\Startup\AbstractCommand.cs:line 55
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in y:\work\refs\heads\release\source\Octopus.Shared\Startup\ConsoleHost.cs:line 36

However, good news! I’ve managed to resolve the issue, here’s what I did.

  1. confirmed that there was some issue with the profile of the user I was logging on with (resulting in a temp profile being loaded as .Profile005 etc)
  2. logged on with another user which was not leading to the usage of a temp profile
    2.a - Repair at this point did not work, I had to uninstall octopus
    2.b - Re-installing without restarting gave me an error re: Versions of dlls
  3. Reboot
  4. Re-install with the other user, seems to have worked ok.

Thanks for the quick reply, perhaps the post will help some others,

Regards,

Doug