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.
I am upgrading smartconnector on my machine from SmartConnector 2.2.1.27 to ‘SmartConnector-2.3.110.exe’. After running the installer, Smartconnector service is not starting on my machine. I am getting below error in the logs . I wonder what I am missing?
2018-02-05 12:49:47.9067,Error,Service,<no principal>,Error while building type Mongoose.Service.LoggerFilterProvider. See the inner exception for details
An error occurred while executing the command definition. See the inner exception for details.
Invalid column name 'IsEnumerated'.
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
at StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
at StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
at StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
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)
,[],
Link copied. Please paste this link to share this article on your social media post.
Hi Neeraj,
It seems as though when you updated from 2.2 to 2.3, the migrations were not performed on the database.
In the "LogCatgegoryFilter" table, can you try to add a 'bit' column called "IsEnumerated" with the default value set to 1?
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Neeraj,
This is for sure a strange issue, as I have not heard of anyone coming across this before.
Did you previously add columns to the SmartConnector database with/for an extension? It could be that with the database migrations from 2.2 to 2.3 something was overriden and the column was removed?
Also, could you attach the full log?
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Jeff,
I have not added any columns to the existing tables in smartconnector database. However, I have added tables for the extension. It does seems like a database error though. Attached is the full log. Do you know which specific table is 'LoggerFilterProvider' accessing ? Can you send me the table scheme to compare ?
Thanks!
Neeraj Tomar
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Thanks Jeff! Fixing db table did it. Smartconnector service is running now and I can connect to the smartconnector portal on my machine
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.