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 have a problem with a SmartConnector I've developed.
We are deploying to a clean environment with SmartConnector installed but the Web Portal will not show the processor for selection when trying to add a new processor.
I've enabled all logging levels but can't see anything in the log to assist either. Can anyone help?
Link copied. Please paste this link to share this article on your social media post.
While deploying your SmartConnector Extension assembly to a production installation is straightforward, it is sometimes easy to forget to also include any assemblies that you may have referenced in your code that SmartConnector doesn’t know about. Because the Portal uses reflection to analyze assemblies when it looks for Processor sub-classes, those assemblies with missing dependencies can’t be loaded and thus won’t show in the Portal. There would be a handled exception that is logged which indicates the missing reference.
Verify that your Logging Filters allow Portal events to be written to the log. Also verify that your Service Settings allow for a Logging Level which includes Errors. After that, retry adding your Processor and review the log files. My guess is that you will see an error indicating a missing assembly.
Link copied. Please paste this link to share this article on your social media post.
While deploying your SmartConnector Extension assembly to a production installation is straightforward, it is sometimes easy to forget to also include any assemblies that you may have referenced in your code that SmartConnector doesn’t know about. Because the Portal uses reflection to analyze assemblies when it looks for Processor sub-classes, those assemblies with missing dependencies can’t be loaded and thus won’t show in the Portal. There would be a handled exception that is logged which indicates the missing reference.
Verify that your Logging Filters allow Portal events to be written to the log. Also verify that your Service Settings allow for a Logging Level which includes Errors. After that, retry adding your Processor and review the log files. My guess is that you will see an error indicating a missing assembly.
Link copied. Please paste this link to share this article on your social media post.
Thanks Mark, that got us going on the right track. The issue was not a missing assembly that the log file suggested, but a dependency of that 3rd party assembly we were referencing. Using Dependency Walker against the 3rd Party dll highlighted which other related dependencies we were missing.
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.