Hi Muhammad,
I would start by checking the Event Viewer logs on the server. Normally it gives a better explanation of why the service did not start.
Hi Muhammad,
When starting the services for multiple environments, you need to do this from within TimeXtender, by logging in with the service account. For more information, please see the KB article about configuring Multiple Environments.
Steps to start the service within TimeXtender
1. Navigate to the timextender.exe application file in the TimeXtender installation directory, Shift+Right-Click and choose Run as different user.
2. Enter the credentials for the Service Account and click OK. This will run the TimeXtender application as the Service Account user.
3.TimeXtender Tools Menu > Windows Service Setup
4. Select the service from the list and select Start at the top.
already tried 'Run as different user' option on the choice. Its already logged in with LocalSystem account which privilege should enough
Here is event viewer log
Service cannot be started. System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'DWH-SERVER\admin01'.
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions user...
Hi Muhammad,
Thanks for the information. You have two options, based on the error you are seeing, but the goal is the same: login to TimeXtender from the same account that the environment is set with.
- You can use the "Log on As..." option cited above
- You can change the environment "Log on As..." to the local user account, which isn't best practice but could work.
If you would like to schedule a call to screenshare session, or more personalized help, please feel free to email Support@TimeXtender.com.
Best,
Taylor