📖HomeBack This page consolidates information captured from Support Ticket SUP-8005, regarding an issue which prevented successful installation of ClearSCADA Mobile & WebX components. Please consult ClearSCADA Technical Support if you have any concerns with ClearSCADA Mobile similar to the following, or require any assistance with ClearSCADA Mobile installation.
With the introduction of the new IIS-based WebX server in ClearSCADA 2015 R1, there are now two IIS-based applications for ClearSCADA (the other being ClearSCADA Mobile). These two servers share some configuration.
In ClearSCADA 2015 R1 this resulted in a 'ClearSCADA Web and Mobile Setting Service' which later, in ClearSCADA 2015 R2 became known as 'ClearSCADA Mobile Settings' service.
During an upgrade of a ClearSCADA Mobile installation to ClearSCADA 2015 R2 a problem could occur that stops the installation of the ClearSCADA Mobile component. In this case the installation aborted prematurely because the start-up of the 'ClearSCADA Mobile Settings' service failed and resulted in a rollback of the ClearSCADA Mobile installation.
The following explains how to investigate such a failure and highlights some extra configuration in ClearSCADA Mobile.
The ClearSCADA Mobile & WebX Services
The ClearSCADA Mobile configuration service opens the SDF (SQL Server Database File) and provides the Mobile configuration to the other servers. In ClearSCADA 2015 R1 (v76) the service is called 'ClearSCADA Web and Mobile Setting Service':
In ClearSCADA 2015 R2 this service is renamed to 'ClearSCADA Mobile Settings' service (since WebX settings are now managed separately) and is started as part of the ClearSCADA Mobile installation - this service has been found to interrupt the installation of ClearSCADA Mobile in some circumstances.
In the image below from ClearSCADA 2015 R2, the Installation Dialog, 'Installing SCADA Expert ClearSCADA 2015 R2 Mobile' is attempting to start the ClearSCADA Mobile Settings service while the Installer Information dialog shows the installation stopped awaiting a response. In this case 'Retry' will attempt to start the service again while 'Cancel' will roll-back the whole installation. To investigate the problem further, the installation needs to remain at this stopped point.
The 'Services' window shows the 'ClearSCADA Mobile Settings' service in the Starting state (see blue highlight):
Some findings and notes on the above:
The configuration for the 'ClearSCADA Mobile Settings' service is located at C:\Program Files (x86)\Schneider Electric\ClearSCADA Mobile\Server\SE.Scada.Web.Server.exe.config
The 'ClearSCADA Mobile Settings' service listens on a TCP port (default: 87), which can be changed via the above SE.Scada.Web.Server.exe.config file.
It is important that this TCP port 87 is available (not used by any other services/applications) so that the other Mobile Companion and WebX servers can access this configuration information. It might be necessary to re-configure the use of another port.
The 'ClearSCADA Mobile Settings' service logs to C:\Program Files (x86)\Schneider Electric\ClearSCADA Mobile\Server\Logs\logfile. The above SE.Scada.Web.Server.exe.config file can be modified to adjust the logging level.
An example log file is shown below:
Further details of ClearSCADA Mobile installation problems of this nature can be confirmed by running the 'ClearSCADA Mobile Settings' service from the command line. The following shows how the 'ClearSCADA Mobile Settings' service can be executed as a Command Line application, resulting in the exception as shown:
C:\>C:\>cd "Program Files (x86)\Schneider Electric\ClearSCADA Mobile\Server"C:\Program Files (x86)\Schneider Electric\ClearSCADA Mobile\Server>C:\Program Files (x86)\Schneider Electric\ClearSCADA Mobile\Server>SE.Scada.Web.Server.exe /cPress enter to stop service...105130|INFO|Common.Service|Starting...Unhandled Exception: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.at System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)at SchneiderElectric.Scada.WebServer.DataStore.MobileConfigEntities..ctor()at SchneiderElectric.Scada.WebServer.DataStore.DatabaseStoreProvider.CheckOrCreateDatabase()at SchneiderElectric.Scada.Web.Server.AppHost.Configure(Container container)
Repairing the Compact SQL Server installation maybe necessary on systems that use ClearSCADA Mobile and are upgraded from ClearSCADA 2015 R1 to ClearSCADA 2015 R2.
The above error 'Failed to find or load the registered .Net Framework Data Provider' can be corrected by repairing Microsoft SQL Server Compact 4.0 SP1 x64 ENU. This application can be found on the ClearSCADA installation disk at (where D:\ is reference to your DVD drive) D:\ClearSCADA\Redistributables\SSCERuntime_x64-ENU.exe