Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello everyone,
I need your help. The SmartConnector service won’t start on my system. I’ve already created the two required databases, but the service still refuses to launch.
Has anyone encountered this issue before? Any ideas or solutions would be greatly appreciated.
Thanks in advance!
Best regards,
Link copied. Please paste this link to share this article on your social media post.
Usually this is problem with the selected DB during installation and / or access to the sql server with correct permissions.
Did you create the db’s manually?
If yes that won’t work as you don’t have any tables or configurations for the framework in there so it cannot start due to all missing. Information that must be in the DB.
What i normally do is deploy SQL Express and when i install the SC framework i select SQL Express and the login option Windows Implicit, this always works without having to manage permissions in the SQL server. When the installation is finished i check with SSMS if the db’s are created automatically,
Link copied. Please paste this link to share this article on your social media post.
Thanks for your reply.
"No, the databases were created automatically.
That's exactly what I did, but the service is impossible to start."
Link copied. Please paste this link to share this article on your social media post.
@BadrMH Have you checked the logs in C:\ProgramData\SmartConnector\Logs ? It will probably gives you a guidance what is going on (wrong)..
PS: Did you do a clean install or did you add certain .dll files of an extension to the SC installation folder?
If there was a previous installation it might help to deinstall the framework, delete all files in the folder C:\Program Files (x86)\Schneider Electric\SmartConnector and reinstall again without demo data.
Also check if there is no other service running on port 8082
Link copied. Please paste this link to share this article on your social media post.
Hi, thank you for your response
I tried all the mentioned steps and even reinstalled everything, but I'm still having the same issue. The databases are created—I can see them—but the SmartConnector service won't start and gives error 1064. Has anyone encountered this problem before?
Link copied. Please paste this link to share this article on your social media post.
Can you post the latest log after starting the service from C:\ProgramData\SmartConnector\Logs , thanks
Link copied. Please paste this link to share this article on your social media post.
Hello Erwin-vd-Zwart, please find attached the log file.
2025-06-12 08:52:40.5740,Info,Utility,<no principal>,InstallDatabase,
2025-06-12 08:52:40.7083,Debug,Utility,<no principal>,Installing a new database:,0,0,SQLSERVER,SmartConnector,sa,$Bmh$2023,true,
2025-06-12 08:52:40.7083,Debug,Utility,<no principal>,Replacing encryption key,
2025-06-12 08:52:40.7083,Debug,Utility,<no principal>,UtilityConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,
2025-06-12 08:52:40.7083,Debug,Utility,<no principal>,ServiceConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,
2025-06-12 08:52:40.7083,Debug,Utility,<no principal>,Updating connection strings for SqlServer,
2025-06-12 08:52:40.7225,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorDb,Server=SQLSERVER;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 08:52:40.7225,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorDb,Server=SQLSERVER;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 08:52:40.7225,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorUserDb,Server=SQLSERVER;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 08:52:40.7225,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorUserDb,Server=SQLSERVER;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 08:52:43.6834,Debug,Utility,<no principal>,Updating config file runtime section from upgrade file,
2025-06-12 08:52:43.7650,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 08:56:34.9842,Error,Utility,<no principal>,Maximum number of retries (5) exceeded while executing database operations with 'SqlAzureExecutionStrategy'. See inner exception for the most recent failure.
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le nom r seau sp cifi n est plus disponible
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
Mongoose.Service.UtilityHelper.UpdateDatabase_Internal()
Mongoose.Service.UtilityHelper.InstallDatabase(String[] args)
Mongoose.Utility.Program.TestableMain(String[] args)
Mongoose.Utility.Program.Main(String[] args)
,[],
2025-06-12 08:56:40.8075,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 08:58:20.5821,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 09:34:17.2079,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 09:36:26.8342,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 10:17:51.0313,Info,Utility,<no principal>,UpdateDatabase,
2025-06-12 10:17:51.7826,Debug,Utility,<no principal>,Updating config file runtime section from upgrade file,
2025-06-12 10:17:51.8775,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 10:20:47.3154,Error,Utility,<no principal>,Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
Mongoose.Service.UtilityHelper.UpdateDatabase_Internal()
Mongoose.Service.UtilityHelper.UpdateDatabase()
,[],
2025-06-12 10:20:47.3305,Error,Utility,<no principal>,Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
Mongoose.Service.UtilityHelper.UpdateDatabase_Internal()
Mongoose.Service.UtilityHelper.UpdateDatabase()
Mongoose.Utility.Program.TestableMain(String[] args)
Mongoose.Utility.Program.Main(String[] args)
,[],
2025-06-12 10:20:52.7432,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 10:23:01.3775,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 10:23:01.3971,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 10:23:01.3971,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.SqlClient.SqlException: Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server) ---> System.ComponentModel.Win32Exception: Le chemin r seau n a pas t trouv
--- Fin de la trace de la pile d'exception interne ---
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 10:31:15.7243,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 10:33:24.5983,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 10:33:24.6155,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 10:33:24.6155,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.SqlClient.SqlException: Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server) ---> System.ComponentModel.Win32Exception: Le chemin r seau n a pas t trouv
--- Fin de la trace de la pile d'exception interne ---
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 14:42:38.1760,Info,Utility,<no principal>,DeleteDatabase,
2025-06-12 14:42:38.3824,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 14:44:47.9593,Error,Utility,<no principal>,Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Le chemin r seau n a pas t trouv
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.UtilityHelper.DeleteDatabase_Internal()
,["Deleting MongooseDbContext"],
2025-06-12 14:45:05.4356,Debug,Utility,<no principal>,PortalUserDbContext database not found,
2025-06-12 14:45:05.4356,Debug,Utility,<no principal>,Database Deleted,
2025-06-12 14:51:41.9141,Info,Utility,<no principal>,InstallDatabase,
2025-06-12 14:51:42.0277,Debug,Utility,<no principal>,Installing a new database:,1,0,BADR-LAPTOP/SQLEXPRESS,SmartConnector,sa,,true,
2025-06-12 14:51:42.0277,Debug,Utility,<no principal>,Replacing encryption key,
2025-06-12 14:51:42.0337,Debug,Utility,<no principal>,UtilityConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,
2025-06-12 14:51:42.0337,Debug,Utility,<no principal>,ServiceConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,
2025-06-12 14:51:42.0337,Debug,Utility,<no principal>,Updating connection strings for SqlServerExpress,
2025-06-12 14:51:42.0337,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorDb,Server=BADR-LAPTOP/SQLEXPRESS;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 14:51:42.0337,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorDb,Server=BADR-LAPTOP/SQLEXPRESS;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 14:51:42.0507,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorUserDb,Server=BADR-LAPTOP/SQLEXPRESS;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 14:51:42.0507,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorUserDb,Server=BADR-LAPTOP/SQLEXPRESS;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 14:51:42.6793,Debug,Utility,<no principal>,Updating config file runtime section from upgrade file,
2025-06-12 14:51:42.7336,Error,Utility,<no principal>, l ment racine manquant.
System.Xml.XmlTextReaderImpl.Throw(Exception e)
System.Xml.XmlTextReaderImpl.ParseDocumentContent()
System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
Mongoose.Service.UtilityHelper.UpdateServiceConfigurationRuntimeSection()
,[],
2025-06-12 14:51:42.8046,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 14:52:45.9699,Error,Utility,<no principal>,Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Nom de r seau introuvable
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
Mongoose.Service.UtilityHelper.UpdateDatabase_Internal()
Mongoose.Service.UtilityHelper.InstallDatabase(String[] args)
Mongoose.Utility.Program.TestableMain(String[] args)
Mongoose.Utility.Program.Main(String[] args)
,[],
2025-06-12 14:52:50.8082,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 14:53:51.9498,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Nom de r seau introuvable
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 14:53:51.9766,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 14:53:51.9766,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.SqlClient.SqlException: Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server) ---> System.ComponentModel.Win32Exception: Nom de r seau introuvable
--- Fin de la trace de la pile d'exception interne ---
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<>c.<Open>b__13_0(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Objects.ObjectContext.CreateDatabase()
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Internal.InternalContext.CreateDatabase(ObjectContext objectContext, DatabaseExistenceState existenceState)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.<>c__DisplayClass66_0`1.<CreateInitializationAction>b__0()
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.LazyInternalContext.<>c.<InitializeDatabase>b__58_0(InternalContext c)
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
System.Data.Entity.Internal.InternalContext.Initialize()
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 14:54:19.8787,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 14:55:20.6184,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Nom de r seau introuvable
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 14:55:20.6354,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 14:55:20.6354,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.SqlClient.SqlException: Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server) ---> System.ComponentModel.Win32Exception: Nom de r seau introuvable
--- Fin de la trace de la pile d'exception interne ---
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<>c.<Open>b__13_0(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Objects.ObjectContext.CreateDatabase()
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Internal.InternalContext.CreateDatabase(ObjectContext objectContext, DatabaseExistenceState existenceState)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.<>c__DisplayClass66_0`1.<CreateInitializationAction>b__0()
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.LazyInternalContext.<>c.<InitializeDatabase>b__58_0(InternalContext c)
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
System.Data.Entity.Internal.InternalContext.Initialize()
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 14:55:44.6909,Info,Utility,<no principal>,DeleteDatabase,
2025-06-12 14:55:44.8209,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 14:56:45.6842,Error,Utility,<no principal>,Une erreur li e au r seau ou sp cifique l'instance s'est produite lors de l' tablissement d'une connexion SQL Server. Le serveur est introuvable ou n'est pas accessible. V rifiez que le nom de l'instance est correct et que SQL Server est configur pour autoriser les connexions distantes. (provider: Named Pipes Provider, error: 40 - Impossible d'ouvrir une connexion SQL Server)
Nom de r seau introuvable
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)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.UtilityHelper.DeleteDatabase_Internal()
,["Deleting MongooseDbContext"],
2025-06-12 14:57:30.1011,Debug,Utility,<no principal>,PortalUserDbContext database not found,
2025-06-12 14:57:30.1011,Debug,Utility,<no principal>,Database Deleted,
2025-06-12 15:02:02.0057,Info,Utility,<no principal>,InstallDatabase,
2025-06-12 15:02:02.1219,Debug,Utility,<no principal>,Installing a new database:,1,0,BADR-LAPTOP\SQLEXPRESS,SmartConnector,Administrator,,true,
2025-06-12 15:02:02.1219,Debug,Utility,<no principal>,Replacing encryption key,
2025-06-12 15:02:02.1219,Debug,Utility,<no principal>,UtilityConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,
2025-06-12 15:02:02.1306,Debug,Utility,<no principal>,ServiceConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,
2025-06-12 15:02:02.1306,Debug,Utility,<no principal>,Updating connection strings for SqlServerExpress,
2025-06-12 15:02:02.1306,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorDb,Server=BADR-LAPTOP\SQLEXPRESS;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 15:02:02.1306,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorDb,Server=BADR-LAPTOP\SQLEXPRESS;Database=SmartConnector.Service;Integrated Security=SSPI,
2025-06-12 15:02:02.1306,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorUserDb,Server=BADR-LAPTOP\SQLEXPRESS;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 15:02:02.1461,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorUserDb,Server=BADR-LAPTOP\SQLEXPRESS;Database=SmartConnector.User;Integrated Security=SSPI,
2025-06-12 15:02:02.8284,Debug,Utility,<no principal>,Updating config file runtime section from upgrade file,
2025-06-12 15:02:02.8803,Error,Utility,<no principal>, l ment racine manquant.
System.Xml.XmlTextReaderImpl.Throw(Exception e)
System.Xml.XmlTextReaderImpl.ParseDocumentContent()
System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
Mongoose.Service.UtilityHelper.UpdateServiceConfigurationRuntimeSection()
,[],
2025-06-12 15:02:02.9647,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 15:02:20.4116,Debug,Utility,<no principal>,Add Sample ProcessConfigurations,
2025-06-12 15:02:20.5605,Debug,Utility,<no principal>,Add Sample Ews Server,
2025-06-12 15:02:20.5605,Debug,Database,<no principal>,SeedEwsServer,EwsServer,
2025-06-12 15:02:20.7072,Debug,Database,<no principal>,SeedEwsServer,EwsUser,
2025-06-12 15:02:20.7614,Debug,Database,<no principal>,SeedEwsServer,Data,
2025-06-12 15:02:21.1007,Debug,Utility,<no principal>,Add Sample EndpointConfigurations,
2025-06-12 15:02:21.2138,Debug,Utility,<no principal>,Add Sample Schedule,
2025-06-12 15:02:21.2794,Debug,Utility,<no principal>,Adding required permissions for Windows Authentication,
2025-06-12 15:02:21.3042,Error,Utility,<no principal>,User or role 'NT Authority\SYSTEM' does not exist in this database.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreCommandInternal(String commandText, Object[] parameters)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass174_0.<ExecuteStoreCommand>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
Mongoose.Service.UtilityHelper.SetUserPermissionsOnDatabase()
,[],
2025-06-12 15:02:21.3042,Status,Service,<no principal>,Intializing User DB context,
2025-06-12 15:02:32.0416,Error,Utility,<no principal>,User or role 'NT Authority\SYSTEM' does not exist in this database.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreCommandInternal(String commandText, Object[] parameters)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass174_0.<ExecuteStoreCommand>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
Mongoose.Service.UtilityHelper.SetUserPermissionsOnDatabase()
,[],
2025-06-12 15:02:32.0512,Debug,Utility,<no principal>,Installation complete,
2025-06-12 15:02:35.5463,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 15:02:47.1448,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
An exception occurred while initializing the database. See the InnerException for details.
The underlying provider failed on Open.
Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 15:02:47.1676,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 15:02:47.1676,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.DataException: An exception occurred while initializing the database. See the InnerException for details. ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<>c.<Open>b__13_0(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__55_0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0()
System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<>c__14`1.<GetElementFunction>b__14_1(IEnumerable`1 sequence)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
System.Data.Entity.Internal.EdmMetadataRepository.QueryForModelHash(Func`2 createContext)
System.Data.Entity.Internal.InternalContext.QueryForModelHash()
System.Data.Entity.Internal.ModelCompatibilityChecker.CompatibleWithModel(InternalContext internalContext, ModelHashCalculator modelHashCalculator, Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.Internal.InternalContext.CompatibleWithModel(Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.<>c__DisplayClass66_0`1.<CreateInitializationAction>b__0()
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.LazyInternalContext.<>c.<InitializeDatabase>b__58_0(InternalContext c)
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
System.Data.Entity.Internal.InternalContext.Initialize()
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 15:05:16.9173,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 15:05:28.4440,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
An exception occurred while initializing the database. See the InnerException for details.
The underlying provider failed on Open.
Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 15:05:28.4641,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 15:05:28.4641,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.DataException: An exception occurred while initializing the database. See the InnerException for details. ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<>c.<Open>b__13_0(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__55_0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0()
System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<>c__14`1.<GetElementFunction>b__14_1(IEnumerable`1 sequence)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
System.Data.Entity.Internal.EdmMetadataRepository.QueryForModelHash(Func`2 createContext)
System.Data.Entity.Internal.InternalContext.QueryForModelHash()
System.Data.Entity.Internal.ModelCompatibilityChecker.CompatibleWithModel(InternalContext internalContext, ModelHashCalculator modelHashCalculator, Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.Internal.InternalContext.CompatibleWithModel(Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.<>c__DisplayClass66_0`1.<CreateInitializationAction>b__0()
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.LazyInternalContext.<>c.<InitializeDatabase>b__58_0(InternalContext c)
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
System.Data.Entity.Internal.InternalContext.Initialize()
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
2025-06-12 15:29:43.1254,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2025-06-12 15:29:54.5906,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
An exception occurred while initializing the database. See the InnerException for details.
The underlying provider failed on Open.
Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2025-06-12 15:29:54.6076,Info,Service,<no principal>,Exception caught at service level.,
2025-06-12 15:29:54.6076,Error,Service,<no principal>,StructureMap.Building.StructureMapBuildException: Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
1.) new LoggerFilterProvider()
2.) Mongoose.Service.LoggerFilterProvider
3.) Instance of SxL.Common.ILoggerFilterProvider (Mongoose.Service.LoggerFilterProvider)
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.DataException: An exception occurred while initializing the database. See the InnerException for details. ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<>c.<Open>b__13_0(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__55_0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Core.EntityClient.EntityConnection.Open()
System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0()
System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0()
System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<>c__14`1.<GetElementFunction>b__14_1(IEnumerable`1 sequence)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
System.Data.Entity.Internal.EdmMetadataRepository.QueryForModelHash(Func`2 createContext)
System.Data.Entity.Internal.InternalContext.QueryForModelHash()
System.Data.Entity.Internal.ModelCompatibilityChecker.CompatibleWithModel(InternalContext internalContext, ModelHashCalculator modelHashCalculator, Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.Internal.InternalContext.CompatibleWithModel(Boolean throwIfNoMetadata, DatabaseExistenceState existenceState)
System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
System.Data.Entity.Internal.InternalContext.<>c__DisplayClass66_0`1.<CreateInitializationAction>b__0()
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
--- Fin de la trace de la pile d'exception interne ---
System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
System.Data.Entity.Internal.LazyInternalContext.<>c.<InitializeDatabase>b__58_0(InternalContext c)
System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
System.Data.Entity.Internal.InternalContext.Initialize()
System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
Mongoose.Service.LoggerFilterProvider.Refresh()
lambda_method(Closure , IBuildSession , IContext )
--- Fin de la trace de la pile d'exception interne ---
lambda_method(Closure , IBuildSession , IContext )
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
StructureMap.Container.GetInstance(Type pluginType)
StructureMap.Container.GetInstance[T]()
Mongoose.Service.Mongoose.OnStart(String[] args)
System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---
System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
Mongoose.Service.Program.Main(),
Link copied. Please paste this link to share this article on your social media post.
I’ve given up, I think there is a problem with my machine. I will use SmartConnector on a machine where the installation worked properly.
Thank you very much for your responses.
Link copied. Please paste this link to share this article on your social media post.
It appears to be a login issue. I recommend checking your SQL Server authentication settings in SSMS. Ensure that the username and password used during the SmartConnector installation have the db_owner role on the database. I encountered a similar issue previously when using a custom user account. Switching to the 'sa' account resolved the problem for me.
SmartConnector video installation guide
4.) Container.GetInstance(SxL.Common.ILoggerFilterProvider)
---> System.Data.DataException: An exception occurred while initializing the database. See the InnerException for details. ---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "SmartConnector.Service" requested by the login. The login failed.
Login failed for user 'AUTORITE NT\Syst me'.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of