Itgenclr060 Impossibile caricare la DLL 'WebView2Loader.dll' o una delle sue dipendenze: Kan opgegeven module niet vinden. (0x8007007E)

Ho un nuovo PC con Windows. Qui ho installato Invantive Query Tool nella versione 27.0.22.

Al momento dell’accesso a Exact Online ricevo:

itgenclr060: Er kon geen verbinding worden gemaakt met de database 'Exact\Exact Online (nl)'.

Unable to load DLL 'WebView2Loader.dll' or one of its dependencies: Kan opgegeven module niet vinden. (0x8007007E).

Bericht ID: 349c6304-57f9-451b-9f63-379777725111

Opgetreden (UTC): 21-10-2026 10:18:33

System.DllNotFoundException
ValidationException
   at Invantive.Producer.Windows.Forms.UtilityBase.InvokeOnUIThread(GlobalState owner, ExecutionOptions executionOptions, Action`1 action, Boolean requiresSTAThread, String context, Object arg)
   at Invantive.Producer.Windows.Forms.OAuthUIProvider.Invantive.Data.IOAuthProvider.GetOAuthToken(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, SerializableCredentialsDataContainer credentialsDataContainer, OAuthInformation oauthInfo, Credentials credentials)
   at Invantive.Data.ConnectionManager.ExecuteGetOAuthToken(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, SerializableCredentialsDataContainer credentialsDataContainer, OAuthInformation oauthInfo, Credentials credentials)
   at Invantive.Data.ConnectionManager.GetOAuthToken(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, SerializableCredentialsDataContainer credentialsDataContainer, OAuthInformation oauthInfo, Credentials credentials)
   at Invantive.Data.ConnectionManager.GetOAuthTokenForConnection(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, ISupportsOAuth provider, Credentials credentials, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
   at Invantive.Data.ConnectionManager.OpenDataContainerProviderInternal(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IConnectionDataProvider provider, SerializableDatabase database, DataContainer dataContainer, Credentials credentials, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
   at Invantive.Data.ConnectionManager.OpenDataContainerProviderLocal(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, SerializableDataContainer dataContainer, String providerName, Credentials credentials, ConcurrentDictionary`2 triedProviders, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
   at Invantive.Data.ConnectionManager.OpenDataContainerProvider(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, SerializableDatabase database, DataContainer dataContainer, Credentials credentials, ConcurrentDictionary`2 triedProviders, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
   at Invantive.Data.ConnectionManager.<>c__DisplayClass398_0.<ProviderOpen>b__8(DataContainer, Int64)
   at Invantive.Basics.ParallelUtility.<>c__DisplayClass4_0`1.<ForEachBlocking>g__Work|1()
--- End of stack trace from previous location ---
   at Invantive.Basics.ErrorConstants.ThrowOneOrMoreExceptions(GlobalState owner, ExecutionOptions executionOptions, IEnumerable`1 exceptions)
   at Invantive.Basics.ParallelUtility.ForEachBlocking[TSource](GlobalState owner, ExecutionOptions executionOptions, IEnumerable`1 source, Int32 degreeOfParallelism, Action`2 body, Func`2 weight, Boolean keepGoingOnError, Boolean useCancellationTokenFromExecutionOptions, Boolean shuffle)
   at Invantive.Data.ConnectionManager.ProviderOpen(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean ignoreDecryptionErrors, Boolean& decryptionErrorsOccurred)
   at Invantive.Data.ConnectionManager.A(GlobalState, ExecutionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean, Boolean& )
--- End of stack trace from previous location ---
   at Invantive.Data.ConnectionManager.A(GlobalState, ExecutionOptions, SqlExecutionStep sqlExecutionStep, CredentialsContainer credentialsContainer, Boolean, Boolean& )
   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)

Come posso accedere? Da Excel con Invantive Control for Excel riesco invece ad accedere senza problemi.

La causa è un file mancante o bloccato nell’installazione di Invantive Query Tool. La finestra di accesso per Exact Online necessita del file WebView2Loader.dll. Il Microsoft Edge WebView2 Runtime in sé è presente: Invantive Control for Excel esegue l’accesso sullo stesso PC tramite questa finestra.

Il file dovrebbe trovarsi in questa cartella:

C:\Program Files (x86)\Invantive Software BV\Invantive Query Tool 27.0\runtimes\win-x64\native

L’installazione include il file per impostazione predefinita. Se manca, significa che è stato rimosso dopo l’installazione o non è mai stato posizionato completamente. Di solito questo è causato da un antivirus, a volte da un’installazione interrotta.

Correzione

Si consiglia di verificare se WebView2Loader.dll si trova nella cartella sopra indicata.

Se il file manca: controllare nella cronologia di sicurezza dell’antivirus se è stato messo in quarantena. Eventualmente creare un’eccezione per la cartella di installazione.

Invantive Query Tool può essere riparato tramite Impostazioni, App, App installate, Modifica e poi Ripristina. Se questo non risolve il problema, disinstallare e reinstallare.

Se il file è presente: verificare se l’antivirus utilizzato ne blocca il caricamento.

Disponibilità

La versione 27.0 mostra nel messaggio di errore il percorso completo del file mancante e indica se il file manca oppure non può essere caricato.

Il trace, all’avvio, contiene inoltre:

  • l’edizione e la versione di Windows;
  • gli antivirus presenti;
  • il contenuto di questa cartella;
  • i dati di installazione del prodotto.

Una versione migliorata, la 27.0.28, è ora disponibile per il download su https://download.invantive.eu.

Questa domanda è stata chiusa automaticamente dopo 1 settimana di inattività. L’ultima risposta fornita è stata contrassegnata come soluzione.

Si prega di porre una nuova domanda tramite un argomento separato se il problema dovesse ripresentarsi. Si prega di includere nella nuova domanda un link a questo argomento, incollandone l’URL nel testo.