Itgenuty726 / TimeoutException when logging in via Invantive Credentials Server

Yesterday had a consultation. When we finished, everything was working, but now we get the following message when starting the bat file:

t2026-07-09 08:50:48.085 Information itgencun014: Invantive Data Hub Multi-Platform (26.0.167-PROD+5985)
2026-07-09 08:50:48.085 Information itgencun015: (C) Copyright 2004-2026 Invantive Software BV, the Netherlands. All rights reserved.
2026-07-09 08:50:48.085 Information itgendhb028: Logging started to log file 'd:\\jobs\\log\\eol2mss-202607.log'.
2026-07-09 08:50:48.085 Information itgendhb038: Invantive Data Hub Multi-Platform (26.0.167-PROD+5985)
2026-07-09 08:50:48.085 Information itgendhb039: (C) Copyright 2004-2026 Invantive Software BV, the Netherlands. All rights reserved.
2026-07-09 08:50:48.192 Information itgendhb023: SQL Script File: d:\\jobs\\sql\\eol2mss - Mutaties.sql
2026-07-09 08:50:48.194 Information itgendhb029: Log File: d:\\jobs\\log\\eol2mss-202607.log
2026-07-09 08:50:48.195 Information itgendhb066: License Contract Code: L802053635
2026-07-09 08:50:48.207 Information itgendhb080: itgen_license_type: Invantive License Service
2026-07-09 08:50:48.207 Information itgendhb076: License Key ID: 41265
2026-07-09 08:50:48.208 Information itgendhb067: Licensee: ACME
2026-07-09 08:50:48.208 Information itgendhb070: Licensor: Invantive B.V.
2026-07-09 08:50:48.209 Information itgendhb033: OS Log On Code: ACMEadmin_JohnD
2026-07-09 08:50:48.210 Information itgendhb034: Machine: ACME-AP01
2026-07-09 08:50:48.210 Information itgendhb279: Microsoft.net Version: .NET 10.0.5
2026-07-09 08:50:48.211 Information itgendhb276: IIID: 567d8e99-3839-3121-4cac-621095d70603
2026-07-09 08:50:48.211 Information itgendhb275: Session ID: 21915E3C5C7709103B6C00640F4965A9
2026-07-09 08:50:48.214 Information itgendhb035: Current Directory: D:\\Jobs\\batch
2026-07-09 08:50:48.214 Information itgendhb073: Product Installation Configuration File: C:\\Users\\ACMEadmin_JohnD\\Invantive\\Prd\\Invantive Data Hub Multi-Platform\\Inst\\Data Hub Multi-Platform\\product-installation-user.settings
2026-07-09 08:50:48.215 Information itgendhb074: Product Configuration File: C:\\Users\\ACMEadmin_JohnD\\Invantive\\Prd\\Invantive Data Hub Multi-Platform\\product-user.settings
2026-07-09 08:50:48.216 Information itgendhb075: Global Configuration File: C:\\Users\\ACMEadmin_JohnD\\Invantive\\user.settings
2026-07-09 08:50:48.216 Information itgendhb227: User Name: John Doe
2026-07-09 08:50:48.217 Information itgendhb228: User Email Address: redacted
2026-07-09 08:50:48.217 Information itgendhb229: User Phone Number: redacted
2026-07-09 08:50:48.218 Information itgendhb030: Database: ACME\\eol2mss
2026-07-09 08:50:48.219 Information itgendhb203: Logging on
2026-07-09 08:50:48.377 Information itgencmr138: Opened service data container 'OAuthHeadless'.
2026-07-09 08:50:48.379 Information itgencmr138: Opened service data container 'InvantiveProducer'.
2026-07-09 08:50:48.380 Information itgencmr138: Opened service data container 'InvantiveOAuthCredentialsServer'.
2026-07-09 08:50:48.381 Information itgencmr138: Opened service data container 'TeamViewer'.
2026-07-09 08:50:48.382 Information itgencmr138: Opened service data container 'KeePass'.
2026-07-09 08:50:48.383 Information itgencmr138: Opened service data container 'Mail'.
2026-07-09 08:50:48.385 Information itgencmr138: Opened service data container 'Ossus'.
2026-07-09 08:50:48.386 Information itgencmr138: Opened service data container 'Os'.
2026-07-09 08:50:48.388 Information itgencmr138: Opened service data container 'InMemoryStorage'.
2026-07-09 08:50:48.390 Information itgencmr138: Opened service data container 'DataDictionary'.
2026-07-09 08:50:48.391 Information itgencmr138: Opened service data container 'LastResort'.
2026-07-09 08:50:48.401 Information itgencmr612: Connecting to Invantive Credentials Server.
2026-07-09 08:50:48.412 Information itgencmr456: Connecting to SQL Server (alias mss).
2026-07-09 08:50:48.418 Information itgengpr065: Opening data container 'mss (using credentials)'.
2026-07-09 08:50:48.996 Information itgengpr152: Opened data container 'mss (using credentials)'.
2026-07-09 08:51:18.416 Information itgencmr131: Closed database. (ACME - eol2mss)
2026-07-09 08:51:18.449 Error itgencun016: Error itgenuty726: A connection could not be established to the database 'ACME\\eol2mss'.

The operation has timed out.
2026-07-09 08:51:20.457 Error itgenuty726: System.Net.WebException
ValidationException
at System.Net.HttpWebRequest.GetResponse()
at Invantive.Data.Providers.OAuth.InvantiveOAuthCredentialsServerProvider.GetDatabaseConnectionInfo(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IProviderManager manager, SerializableCredentialsDataContainer dataContainer, Credentials credentials, String databaseFullName)
at Invantive.Data.ConnectionManager.OpenDataContainerProviderCredentials(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, SerializableCredentialsDataContainer dataContainer, Credentials credentials, ConcurrentBag\`1 triedProviders, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
at Invantive.Data.ConnectionManager.OpenDataContainerProvider(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, Credentials credentials, ConcurrentBag\`1 triedProviders, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
at Invantive.Data.ConnectionManager.<>c__DisplayClass371_0.<ProviderOpen>b__7(DataContainer, ParallelLoopState pls, Int64)
at Invantive.Basics.ParallelUtility.<>c__DisplayClass4_0\`1.<ForEachWithAggregatedExceptions>b__0(TSource tSource, ParallelLoopState parallelLoopState, Int64 index)
 End of stack trace from previous location --- at Invantive.Basics.ErrorConstants.ThrowOneOrMoreExceptions(GlobalState owner, ExecutionOptions executionOptions, IEnumerable\`1 exceptions)
at Invantive.Basics.ParallelUtility.ForEachWithAggregatedExceptions\[TSource\](GlobalState owner, ExecutionOptions executionOptions, IEnumerable\`1 source, ParallelOptions parallelOptions, Action\`3 body, Boolean shuffle, Boolean useCancellationTokenFromExecutionOptions, Boolean keepGoingOnError)
at Invantive.Data.ConnectionManager.ProviderOpen(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
at Invantive.Data.ConnectionManager.Open(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
 End of stack trace from previous location --- at Invantive.Data.ConnectionManager.Open(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
at Invantive.Data.ConnectionManager.Open(GlobalState owner, ExecutionOptions executionOptions, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
at Invantive.Producer.UtilityBaseCore.OpenDatabase(GlobalState owner, ExecutionOptions executionOptions, String databaseFullName, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
2026-07-09 08:51:20.488 Error itgencun016: Error itgendhb005: Could not connect to database 'ACME\\eol2mss'. Application will be closed.
2026-07-09 08:51:20.500 Error itgendhb005: ValidationException
at Invantive.Basics.ValidationException..ctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheri\[..\]

Error codes:

  • itgendhb005
  • itgencun016
  • itgenuty726

A connection could not be established to the database ‘ACME\eol2mss’.
The operation has timed out.
System.Net.WebException
ValidationException
at System.Net.HttpWebRequest.GetResponse()
at Invantive.Data.Providers.OAuth.InvantiveOAuthCredentialsServerProvider.GetDatabaseConnectionInfo

Apart from the issue, a clearer message will be given in the upcoming 26.0 release:

itgenoac023
The connection to the Invantive Credentials Server could not be established within 3 tries spread across 30 seconds.

The timing between 08:50:48 itgengpr152 and 08:51:18 itgencmr131 is indeed puzzling. The three regular attempts last (3 - 1) * 15 = 30 seconds without a timeout.

An analyst will look into whether a cause can be determined.

A new release is available that should resolve this issue or at least reduce its impact. The necessary changes are available from release 26.0.173 and in all future BETA versions.

This release improves the retry mechanism for connecting to the Invantive Credentials Server. Regardless of the fact that the Invantive Credentials Server should not time out, Invantive Data Hub should attempt to retry 3 times instead of just once in such a situation.

This new release is available for on-premises use only and can be downloaded from https://download.invantive.com.

We have installed the new version
but we still get the same error message.

According to the logs, you receive the following message:

Your login code or password is invalid. Please provide the correct username and password.

Are you using your Invantive Cloud credentials to log in? These are needed to retrieve the login credentials for Exact Online.

This is the message we have in the logfile
2026-07-13 07:55:48.883 Information itgencun014: Invantive Data Hub Multi-Platform (26.0.173-PROD+5992)
2026-07-13 07:55:48.883 Information itgencun015: (C) Copyright 2004-2026 Invantive Software BV, the Netherlands. All rights reserved.
2026-07-13 07:55:48.883 Information itgendhb028: Logging started to log file ‘d:\jobs\log\eol2mss-stamgegevens-202607.log’.
2026-07-13 07:55:48.883 Information itgendhb038: Invantive Data Hub Multi-Platform (26.0.173-PROD+5992)
2026-07-13 07:55:48.883 Information itgendhb039: (C) Copyright 2004-2026 Invantive Software BV, the Netherlands. All rights reserved.
2026-07-13 07:55:48.983 Information itgendhb023: SQL Script File: d:\jobs\sql\eol2mss - Stamgegevens.sql
2026-07-13 07:55:48.986 Information itgendhb029: Log File: d:\jobs\log\eol2mss-stamgegevens-202607.log
2026-07-13 07:55:48.986 Information itgendhb066: License Contract Code: L802053635
2026-07-13 07:55:49.007 Information itgendhb080: License Type: Invantive License Service
2026-07-13 07:55:49.007 Information itgendhb076: License Key ID: 41265
2026-07-13 07:55:49.007 Information itgendhb067: Licensee: Royal Dutch Gymnastics Union
2026-07-13 07:55:49.008 Information itgendhb070: Licensor: Invantive B.V.
2026-07-13 07:55:49.008 Information itgendhb033: OS Log On Code: KNGUadmin_harriek
2026-07-13 07:55:49.009 Information itgendhb034: Machine: KNGU-AP01
2026-07-13 07:55:49.010 Information itgendhb279: Microsoft.net Version: .NET 10.0.5
2026-07-13 07:55:49.010 Information itgendhb276: IIID: 567d8e99-3839-3121-4cac-621095d70603
2026-07-13 07:55:49.011 Information itgendhb275: Session ID: A1B26C1B452392105B6A94AA32594892
2026-07-13 07:55:49.011 Information itgendhb035: Current Directory: D:\Jobs\batch
2026-07-13 07:55:49.012 Information itgendhb073: Product Installation Configuration File: C:\Users\KNGUadmin_harriek\Invantive\Prd\Invantive Data Hub Multi-Platform\Inst\Data Hub Multi-Platform\product-installation-user.settings
2026-07-13 07:55:49.012 Information itgendhb074: Product Configuration File: C:\Users\KNGUadmin_harriek\Invantive\Prd\Invantive Data Hub Multi-Platform\product-user.settings
2026-07-13 07:55:49.013 Information itgendhb075: Global Configuration File: C:\Users\KNGUadmin_harriek\Invantive\user.settings
2026-07-13 07:55:49.013 Information itgendhb227: User Name: H. Kempers (X)
2026-07-13 07:55:49.014 Information itgendhb228: User Email Address: kempers@kngu.nl
2026-07-13 07:55:49.014 Information itgendhb229: User Phone Number: 06 57429216
2026-07-13 07:55:49.015 Information itgendhb030: Database: KNGU\eol2mss
2026-07-13 07:55:49.016 Information itgendhb203: Logging on
2026-07-13 07:55:49.178 Information itgencmr138: Opened service data container ‘OAuthHeadless’.
2026-07-13 07:55:49.181 Information itgencmr138: Opened service data container ‘InvantiveProducer’.
2026-07-13 07:55:49.182 Information itgencmr138: Opened service data container ‘InvantiveOAuthCredentialsServer’.
2026-07-13 07:55:49.182 Information itgencmr138: Opened service data container ‘TeamViewer’.
2026-07-13 07:55:49.184 Information itgencmr138: Opened service data container ‘KeePass’.
2026-07-13 07:55:49.184 Information itgencmr138: Opened service data container ‘Mail’.
2026-07-13 07:55:49.186 Information itgencmr138: Opened service data container ‘Ossus’.
2026-07-13 07:55:49.188 Information itgencmr138: Opened service data container ‘Os’.
2026-07-13 07:55:49.189 Information itgencmr138: Opened service data container ‘InMemoryStorage’.
2026-07-13 07:55:49.191 Information itgencmr138: Opened service data container ‘DataDictionary’.
2026-07-13 07:55:49.192 Information itgencmr138: Opened service data container ‘LastResort’.
2026-07-13 07:55:49.202 Information itgencmr612: Connecting to Invantive Credentials Server.
2026-07-13 07:55:49.213 Information itgencmr456: Connecting to SQL Server (alias mss).
2026-07-13 07:55:49.220 Information itgengpr065: Opening data container ‘mss (using credentials)’.
2026-07-13 07:55:49.759 Information itgengpr152: Opened data container ‘mss (using credentials)’.
2026-07-13 07:56:00.418 Error itgencun016: Error itgenboe344: A connection could not be established to the database ‘KNGU\eol2mss’.

The basic authentication failed.

The remote server returned an error: (401) Unauthorized.
Please provide the correct credentials.

https://credentials.invantive.com/credentials/kngu-exact-online/api

2026-07-13 07:56:02.431 Error itgenboe344: System.Net.WebException
ValidationException
ValidationException
at System.Net.HttpWebRequest.GetResponse()
at Invantive.Data.Providers.OAuth.InvantiveOAuthCredentialsServerProvider.GetDatabaseConnectionInfo(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IProviderManager manager, SerializableCredentialsDataContainer dataContainer, Credentials credentials, String databaseFullName)
2026-07-13 07:56:02.458 Error itgencun016: Error itgendhb005: Could not connect to database ‘KNGU\eol2mss’. Application will be closed.
2026-07-13 07:56:02.462 Error itgendhb005: ValidationException
at Invantive.Basics.ValidationException..ctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable1 uid, Nullable1 isRecoverable, String poolIdentityId, String url, Nullable`1 partyUid, String partitionCode, String tableName, String parameter1, String parameter2, String parameter3, String parameter4, String parameter5, String clientId)
at Invantive.Producer.Data.Hub.QueryEngine.Run(GlobalState owner, ExecutionOptions executionOptions, String arguments)
at Invantive.Producer.Data.Hub.Program.Main(String args)
at Invantive.Producer.Data.Hub.QueryEngine.Run(GlobalState owner, ExecutionOptions executionOptions, String arguments) in c:\smoke\ws-26.0\Invantive.Data.Hub\src\Invantive.Producer.Data.Hub\QueryEngine.cs:line 613
2026-07-13 07:56:02.469 Error itgendhb005: Could not connect to database ‘KNGU\eol2mss’. Application will be closed.

For support go to https://forums.invantive.com.

2026-07-13 07:56:02.470 Information itgendhb219: End program execution with exit code 5.
2026-07-13 07:56:02.471 Information itgendhb068: Program finished on 7/13/2026 7:56:02 AM.
2026-07-13 07:56:02.471 Information itgendhb037: Logged 48 messages.

The question is due to changes made by Guido last Wednesday, which user should we use now?
We currently have multiple users.

Any service account user can be used for logging in.

The email address mentioned in the now-deleted post is not a service account (please do not share confidential information via the forum).

See Invantive Cloud - Users for a list of all accounts, including service accounts.

The second account is the service account I meant, would you like to reset it?

Can we have a phone call tomorrow morning? We both want the same thing but are being misunderstood.

It seems something is not quite right with the service account. This is currently being worked on.

The issue seems to be resolved now. The account is properly linked. Could you please try again?

It has been resolved. Everything is running again.

What is the reason that the account was linked incorrectly?
Can you find that out?

It was likely a human error in the recording in one of the back-office systems during a brief consultation. The sign-up account was linked to the correct organisation, but not to the correct user.