7 Replies Latest reply on Jun 14, 2012 10:32 AM by olgab

    Post Testing - Changing the Service Account for Data Grid Server = Fails to start

    ashcox

      Hello.

      I need to change the service account that runs the EminentWare Data Grid Server service.  

      I have ensured that the new account has administrator rights, logon as service, SQL DBO (for Eminentware DB) and SYSADMIN for SQL Server (to be sure).

      I get a service failure.  Enabling logging shows me this error during the initiatlisation process:

       

      2012/03/14 12:39:38:935 PID: 5280 TID: 7080 KeyManager::InitializeKeys::VerifyRegistryHive() 'Software\EminentWare\Data Grid Service\Roles\Application' opened
      2012/03/14 12:39:38:935 PID: 5280 TID: 7080 KeyManager::InitializeKeys::VerifyRegistryHive() 'Software\EminentWare\Data Grid Service\Roles\Application\Data' opened
      2012/03/14 12:39:38:951 PID: 5280 TID: 7080 InitSystem failed!!Key not valid for use in specified state.

      2012/03/14 12:39:38:951 PID: 5280 TID: 7080    at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
         at EminentWare.Core.Security.Encryption.DecryptDPAPIWithEntropyBytes(String base64Ciphertext, Byte[] entropybytes)
         at EminentWare.BusinessObjects.Security.encryptionmanager.DecryptDPAPI(String base64Ciphertext)
         at EminentWare.DataGridServer.Executive.KeyManager.InitializeKeys()
      2012/03/14 12:39:38:951 PID: 5280 TID: 7080 ExecutiveSubSystem::LoadSubSystems() failed. InitSystem failed!!Key not valid for use in specified state.

      Stack Trace:    at EminentWare.DataGridServer.Executive.KeyManager.InitializeKeys()
         at EminentWare.DataGridServer.Executive.KeyManager.Initialize()
         at EminentWare.DataGridServer.Executive.SecurityManagerSubSystem.Initialize()
         at EminentWare.DataGridServer.Executive.ExecutiveSubSystem.LoadSubSystems()
      2012/03/14 12:39:38:951 PID: 5280 TID: 7080 DataGridService::StartExecutive() failed. Message: InitSystem failed!!Key not valid for use in specified state.

      Stack Trace:    at EminentWare.DataGridServer.Executive.KeyManager.InitializeKeys()
         at EminentWare.DataGridServer.Executive.KeyManager.Initialize()
         at EminentWare.DataGridServer.Executive.SecurityManagerSubSystem.Initialize()
         at EminentWare.DataGridServer.Executive.ExecutiveSubSystem.LoadSubSystems()
         at EminentWare.DataGridServer.Executive.ExecutiveSubSystem.Start()
         at EminentWare.DataGridService.DataGridService.StartExecutive()
      2012/03/14 12:39:39:154 PID: 5280 TID: 1632 Data Grid Service OnStart() DGSStarting mutex not opened and will retry. Message: No handle of the given name exists.
      2012/03/14 12:39:39:154 PID: 5280 TID: 1632 Data Grid Service OnStart() Startup Exception occurred and will shutdown.
      2012/03/14 12:39:39:170 PID: 5280 TID: 1632 Data Grid Service OnStart() failed to start service. Message: InitSystem failed!!Key not valid for use in specified state.

      Stack Trace:    at EminentWare.DataGridService.DataGridService.OnStart(String[] args)
      2012/03/14 12:39:39:170 PID: 5280 TID: 1632 Data Grid Service OnStop() called.
      2012/03/14 12:39:39:201 PID: 5280 TID: 1632 Data Grid Service ShutdownExecutive() called.
      2012/03/14 12:39:39:201 PID: 5280 TID: 1632 ExecutiveSubSystem::Shutdown() called and will set the shutdown event.
      2012/03/14 12:39:39:217 PID: 5280 TID: 1632 Data Grid Service ShutdownExecutive() executing thread count is: 17

       

      Is this easy to resolve?

      Kind Regards,


      Ash