i4scada Application Template connect method call failure
Learn how to overcome the connect method failure that you may encounter while using the i4scada Application Template.
The users of the i4scada Application Template that do not update to the latest version of the Application Template for version 3.8.4, must make a small change to avoid the connect method call from failing.
Open Visual Studio with Administrative privileges. To do so, right-click on the Visual Studio icon and select Run as Administrator. This is required in order to ensure that the access to Internet Information Services (IIS) configuration is granted.
In Visual Studio open a new Project using File > New > Project.
In the New project dialog, search for the WEBfactory i4scada Application template or locate it under the left-side menu in Visual C# .
The new project is opened. In the Solution Explorer open the securityServiceApi.ts node, through the path: App > src > services > api .
Find the following line:
return this.post<SessionDTO>("SignalsService", "Connect", null);
Update the line to:
return this.post<SessionDTO>("SignalsService", "Connect", { });
To preserve the changes, use the toolbar button Save or the keyboard shortcut Ctrl + S.