AddIn does not start - Exception displayed in Log (DiagViewer)
In case that an AddIn (Service or Wizard) does not start and the log shows an exception message likewise equally to that below check the software development of the AddIn.
Scada.Internal.DotNetAddInExtension.AddInIntegration.Startup Cannot startup Add-In .NET Extension for instance id '0cba0b34-b4ed-4d96-8e25-a482a17fef52'. Exception information:System.InvalidOperationException the sequence contains no elements. TSource First[TSource](System.Collections.Generic.IEnumerable`1[TSource]
The AddIn Framework in zenon tries to start the AddIn which ended or unloaded itself. The error originates in the software development of the AddIn. Not necessarily in the coding itself.
Possible Causes:
- Wrong bitness
- Any dependancy not included or not installed in global assembly cache
- Special case: The constructor of the class OracleConnection() caused an exception. (config file machine.config needed to be adjusted)