Bonjour,
J’essaie de migrer vers Sage XRT Advanced 2024 R1, mais je rencontre systématiquement cette erreur : "The given key 'NoTenant' was not present in the dictionary."
Le service "Sage XRT Solutions Advanced Batch Service" échoue également au démarrage.
J’ai vérifié le service Redis, et il est bien en cours d’exécution.

c'est l'exception que j'ai eue:
Application: w3wp.exe CoreCLR Version: 8.0.824.36612 .NET Version: 8.0.8 Description: The process was terminated due to an unhandled exception. Exception Info: System.Collections.Generic.KeyNotFoundException: The given key 'NoTenant' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at NN.Core.Tech.BL.Config.ConectionContext.GetConnectionInfo(String connectionCode) at NN.Core.Tech.BL.Config.ConectionContext.GetConnectionString(String connectionCode) at NN.Core.Tech.BL.Config.ConectionContext.GetConnectionString() at NN.Core.BL.NhibTune.ContextConnectionProvider.get_ConnectionString() at NHibernate.Connection.ConnectionProvider.GetConnection() at NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare() at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(Dialect dialect, IConnectionHelper connectionHelper) at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.UpdateDialectKeywords(Dialect dialect, IConnectionHelper connectionHelper) at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactoryImplementor sessionFactory) at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners) at NHibernate.Cfg.Configuration.BuildSessionFactory() at NN.Core.BL.SessionFactory.GetSessionFactoryImpl(String connCode, Object instanceLock, Lazy`1 configurationFactory) at NN.Core.BL.SessionFactory.GetSessionFactory(Object instanceLock, IConectionContext connectionContext, Lazy`1 configurationFactory) at NN.Core.BL.NhibConfigurationFactory.GetSessionFactory(IConectionContext connectionContext) at NN.Core.BL.SessionHelper.<>c__DisplayClass9_0.<InitSession>b__0() at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at NN.Core.BL.SessionHelper.get_SesWrapper() at NN.Core.BL.SessionHelper.get_SessionFactory() at NN.Web.Main.AppStart.Startup.Application_Start(IWebHostEnvironment _) at NN.Web.Main.AppStart.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory _) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) at StackExchange.Exceptional.ExceptionalStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) at NN.Web.Main.Program.Main(String[] args)
