Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

SmartConnector service not starting

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • SmartConnector service not starting
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
AV27
Lieutenant | EcoXpert Master AV27 Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master

Posted: ‎2024-05-22 10:12 PM

0 Likes
10
1217
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-05-22 10:12 PM

SmartConnector service not starting

Hello, I am trying to install smart connector on a windows server 2019 VM and the windows service won't start and is giving error code 1064. I have chosen SQL express and windows explicit as the login type during install.

 

The smart connectors intention is to read hotel room booking statuses from an oracle opera booking system and transfer the booking status of the room to EBO for the purpose of air conditioning control. Is it possible to do this on an AS-P (v3.2.3) only or is an ES required?

 

Thanks

Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 10
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-05-23 10:38 PM . Last Modified: ‎2024-05-23 10:43 PM

0 Likes
0
1192
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-05-23 10:38 PM

Did you checked if the SmartConnector databases are created in the SQL?

 

 

This will tell you that the installation was done with correct SQL settings and all is setup correctly..

 

You can also check the logs in C:\ProgramData\SmartConnector\Logs to get more information about what might have gone wrong during setup / start of service.

 

For SmartConnector you don’t need an ES but you do need a Windows environment and a SQL to deploy the framework. Once deployed you can connect to an EWS server that can either be an ES or AS (Physical, Virtual and/or Containerized)

 

 

Reply
osanchez_sieesa
Ensign osanchez_sieesa
Ensign

Posted: ‎2024-09-13 01:46 PM

0 Likes
0
979
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-13 01:46 PM

We have the same problem starting the service.

The SQL database is on a remote location so we used Authentication type: Windows Explicit.

 

Here is the log of the installation process:

2024-09-13 12:41:49.5361,Debug,Utility,<no principal>,PortalUserDbContext database not found,

2024-09-13 12:41:49.5361,Debug,Utility,<no principal>,Database Deleted,

2024-09-13 12:47:35.6729,Info,Utility,<no principal>,InstallDatabase,

2024-09-13 12:47:35.9697,Debug,Utility,<no principal>,Installing a new database:,0,2,databaseserver,SmartConnector,domain\user,*****,true,

2024-09-13 12:47:35.9697,Debug,Utility,<no principal>,Replacing encryption key,

2024-09-13 12:47:35.9697,Debug,Utility,<no principal>,UtilityConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,

2024-09-13 12:47:35.9854,Debug,Utility,<no principal>,ServiceConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,

2024-09-13 12:47:35.9854,Debug,Utility,<no principal>,Updating connection strings for SqlServer,

2024-09-13 12:47:35.9854,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorDb,Server=databaseserver;Database=SmartConnector.Service;User Id=domain\user;Password=*****,

2024-09-13 12:47:35.9854,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorDb,Server=databaseserver;Database=SmartConnector.Service;User Id=domain\user;Password=*****,

2024-09-13 12:47:35.9854,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorUserDb,Server=databaseserver;Database=SmartConnector.User;User Id=domain\user;Password=*****,

2024-09-13 12:47:36.0010,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorUserDb,Server=databaseserver;Database=SmartConnector.User;User Id=domain\user;Password=*****,

2024-09-13 12:47:36.0010,Debug,Utility,<no principal>,Configuring SmartConnector service for remote SQL windows authentication,

2024-09-13 12:47:36.0635,Debug,Utility,<no principal>,Changed service user successfully,

2024-09-13 12:47:36.0635,Debug,Utility,<no principal>,Creating database for domain\user,

2024-09-13 12:47:36.0635,Debug,Utility,<no principal>,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe,

2024-09-13 12:47:39.8448,Debug,Utility,<no principal>,Installation complete,

 

just replaced the username, password and database server address.

 

If we try to start the service manually, the following error pop up.

osanchez_sieesa_0-1726260062317.png

 

Any ideas?

 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-09-13 10:11 PM

0 Likes
0
960
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-13 10:11 PM

Have you checked with SSMS if the 2 SmartConnector databases are created during setup ?

 

Look like the setup had insufficient rights to deploy the databases correctly.

 

If the database is not created, uninstall and reinstall with the correct permissions..

Reply
osanchez_sieesa
Ensign osanchez_sieesa
Ensign

Posted: ‎2024-09-17 02:41 PM

0 Likes
0
920
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-17 02:41 PM

Thanks for your answer @Erwin-vd-Zwart, we now have SA rights on the user to deploy the databases, but now after the installation we have the following error starting the service:

osanchez_sieesa_1-1726602912110.png

 

Also did the following test with the user credentials:

osanchez_sieesa_0-1726609237634.png

 

Any suggestions? 

 

 

 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-09-17 11:01 PM

0 Likes
0
912
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-17 11:01 PM

Did you check with SQL Server Management Studio if the 2 databases (SmarConnector.User and SmartConnector.Service) are created and are holding tables?

Reply
osanchez_sieesa
Ensign osanchez_sieesa
Ensign

Posted: ‎2024-09-18 10:04 AM

0 Likes
1
886
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-18 10:04 AM

Hello @Erwin-vd-Zwart they checked login in with the user credentials and created a database manually, but the two databases are not being created in the installation process of the smartconnector installer:

 

osanchez_sieesa_0-1726678702967.png

After checking user rights and roles, and connection between the servers, we tried again and the Log shows the following:

2024-09-17 12:40:49.5900,Debug,Utility,<no principal>,PortalUserDbContext database not found,
2024-09-17 12:40:49.5900,Debug,Utility,<no principal>,Database Deleted,
2024-09-17 12:45:29.3685,Info,Utility,<no principal>,InstallDatabase,
2024-09-17 12:45:29.6615,Debug,Utility,<no principal>,Installing a new database:,0,2,domain\dbserver,SmartConnector,domain\user,password,true,
2024-09-17 12:45:29.6635,Debug,Utility,<no principal>,Replacing encryption key,
2024-09-17 12:45:29.6635,Debug,Utility,<no principal>,UtilityConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,
2024-09-17 12:45:29.6635,Debug,Utility,<no principal>,ServiceConfigFilePath,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,
2024-09-17 12:45:29.6635,Debug,Utility,<no principal>,Updating connection strings for SqlServer,
2024-09-17 12:45:29.6795,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorDb,Server=domain\dbserver;Database=SmartConnector.Service;User Id=domain\user;Password=password,
2024-09-17 12:45:29.6795,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorDb,Server=domain\dbserver;Database=SmartConnector.Service;User Id=domain\user;Password=password,
2024-09-17 12:45:29.6955,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe.config,SmartConnectorUserDb,Server=domain\dbserver;Database=SmartConnector.User;User Id=domain\user;Password=password,
2024-09-17 12:45:29.6955,Debug,Utility,<no principal>,SetConnectionStringInFile,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Service.exe.config,SmartConnectorUserDb,Server=domain\dbserver;Database=SmartConnector.User;User Id=domain\user;Password=password,
2024-09-17 12:45:29.7125,Debug,Utility,<no principal>,Configuring SmartConnector service for remote SQL windows authentication,
2024-09-17 12:45:29.8375,Debug,Utility,<no principal>,Changed service user successfully,
2024-09-17 12:45:29.8375,Debug,Utility,<no principal>,Creating database for domain\user,
2024-09-17 12:45:29.8375,Debug,Utility,<no principal>,C:\Program Files (x86)\Schneider Electric\SmartConnector\Mongoose.Utility.exe,
2024-09-17 12:45:33.6205,Debug,Utility,<no principal>,Installation complete,
2024-09-17 12:45:34.3845,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2024-09-17 12:45:35.9725,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)

Login failed for user 'domain\user'.
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
at StructureMap.Container.GetInstance(Type pluginType)
at StructureMap.Container.GetInstance[T]()
at Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2024-09-17 12:45:35.9915,Info,Service,<no principal>,Exception caught at service level.,
2024-09-17 12:45:35.9915,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: Login failed for user 'domain\user'.
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
at System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
at System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
at System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
at System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
at System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
at System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
at Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
at Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
at Mongoose.Service.LoggerFilterProvider.Refresh()
at lambda_method(Closure , IBuildSession , IContext )
--- End of inner exception stack trace ---
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
at StructureMap.Container.GetInstance(Type pluginType)
at StructureMap.Container.GetInstance[T]()
at Mongoose.Service.Mongoose.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
at Mongoose.Service.Program.Main(),
2024-09-17 12:46:21.7178,Trace,Database,<no principal>,Setting Database Execution Strategy to SqlAzureExecutionStrategy.,
2024-09-17 12:46:24.1728,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)

Login failed for user 'domain\user'.
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
at StructureMap.Container.GetInstance(Type pluginType)
at StructureMap.Container.GetInstance[T]()
at Mongoose.Service.Mongoose.OnStart(String[] args)
,[],
2024-09-17 12:46:24.1818,Info,Service,<no principal>,Exception caught at service level.,
2024-09-17 12:46:24.1818,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: Login failed for user 'domain\user'.
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.SqlServer.SqlProviderServices.<>c__DisplayClass60_0.<UsingConnection>b__0()
at System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass17_0.<Execute>b__0()
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action`1 act)
at System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable`1 commandTimeout, DbConnection sqlConnection, String createDatabaseScript)
at System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
at System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
at System.Data.Entity.Database.Create(DatabaseExistenceState existenceState)
at System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
at Mongoose.Service.Data.MongooseDbContext.WireUpEncryption()
at Mongoose.Service.Data.MongooseDbContext..ctor(Boolean automaticDecryption)
at Mongoose.Service.LoggerFilterProvider.Refresh()
at lambda_method(Closure , IBuildSession , IContext )
--- End of inner exception stack trace ---
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
at StructureMap.Container.GetInstance(Type pluginType)
at StructureMap.Container.GetInstance[T]()
at Mongoose.Service.Mongoose.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
at Mongoose.Service.Program.Main(),

 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-09-18 10:38 AM

0 Likes
0
877
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-18 10:38 AM

This won’t work as tables etcetara will not be created, remove the manual created DB’s, de-install SC framework, make sure you have enough permissions to let the installation create the DB and tables, install as admin and let the installation create the DB”s and tables.

Reply
osanchez_sieesa
Ensign osanchez_sieesa
Ensign

Posted: ‎2024-09-18 02:04 PM

0 Likes
0
866
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-18 02:04 PM

Hello @Erwin-vd-Zwart. 

  1. Database created manually was removed.
  2. Smartconnector was uninstalled
  3. Permissions checked (by customer)
  4. Installed Smartconnector as administrator
  5. Same result (error 1064)
  6. Databases not created
  7. Same log entries

What else could we try?

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2024-09-18 09:33 PM . Last Modified: ‎2024-09-18 09:42 PM

0 Likes
1
856
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-18 09:33 PM

Check point 3 again because that’s where it must go wrong.. Seen that several times that IT claims you have enough permission but you don’t..

 

By the way i noticed the SQL is remote, is it express or full?

 

As far is i know only full can be remote and when using express it must be on the same server as the framework..

 

Also make sure there is no firewall blocking the connection to the remote SQL

Reply
osanchez_sieesa
Ensign osanchez_sieesa
Ensign

Posted: ‎2024-09-19 12:41 PM

1 Like
0
834
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2024-09-19 12:41 PM

After all, we installed an SQL Express on the same BMS server where the Smartconnector is running. 

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

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