Common questions and answers

Adding new chart signal gives “This content was not properly loaded”

Broken image links

Scheduled Windows task to run in background

Controllers Web swipe does not work on panel PC

Arrigo button in view maneuver open document does not work

Use Arrigo’s process management for my own services

Arrigo Services are not starting up after reboot

User Admin window only shows an error

Adding new chart signal gives “This content was not properly loaded”

Question

If I add a new chart signal, I get an error “This content was not properly loaded”.

Answer

If you are using your own theme this is caused by missing fields in your theme files. Download updated theme files here to make sure all theme fields are correct. Specifically, there are missing colors in the “order” section.

Question

I’m getting broken image links in my views with the error 400 Bad Request.

Why, and how do I fix it?

Broken image links

Browser errors

Answer

This is an error in the IIS web server. The default limitation of “url parts” (segments) to 260 characters, so if you have long(er) nested area names this error can occur. This setting can be modified in the Windows Registry using the Registry Editor.

This solution contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows

Start the Registry Editor with administrative privileges.

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters.

Create a new REG_DWORD in called UrlSegmentMaxLength.

Set its value to 400 hex or 1024 decimal.

Registry Editor

Restart the computer for the changes to take effect.

My scheduled task runs in foreground (blue box)

Question

When I setup a scheduled task in windows, the task runs in the foreground. I can’t seem to configure the task to run hidden and not disturb the user.

Answer

Excellent article that explains how to configure your scheduled task. See How do I set a Windows scheduled task to run in the background?

Controllers Web swipe does not work on panel PC

Question

Controller Web touch scroll does not work on DP156NX panel pc. However if a mouse is installed it all works fine.

Answer

To enable touch events add –touch-events as an argument in Target of the shortcut to your Chrome browser.

Chrome shortcut > Properties > Target: “C:\Program Files\Google\Chrome\Application\chrome.exe” –touch-events

Chrome shortcut

Arrigo button in view maneuver open document does not work

Question

Open document work with link icons, why doesn’t it work in view buttons?

Answer

We recommend instead to use the OpenLink option in the button and redirect to the configured linkIcon with the document. During 2022/2023 we will build Arrigo Studio with the new viewdesigner, therefore we do not want to alter too much in the existing view designer as it is legacy code.

Use Arrigo’s process management for my own services

Question

If I have my own Node.JS application, can I piggy-back on Arrigo’s services to manage startup and shutdown

Answer

Arrigo uses a process manager called PM2 for its process management. At a glance it is an advanced process manager for production Node.js applications with load balancer, logs facility, startup script and micro service management.

PM2 uses a file called ecosystem.config.js and it is located in your project folder (eg. C:\EXO Projects\Regin\Arrigo\pm2). All documentation about the file is located here: https://pm2.keymetrics.io/docs/usage/quick-start/

In short, add an entry (the command line command) to that file with the information of the Node.JS application you wish to run with Arrigo. Attach the project again and the Node.JS application should be started.

Arrigo Services are not starting up after reboot

Question

After a reboot of the server views with SSF code (ServerSide Functions) and reports aren’t displaying correctly.
For example, if I click a report nothing is shown except the loader.

Answer

Verify (on the server) whether the Arrigo Services are running or not:

If they are running you should instead look at this document which talks about websockets.

Solution 1

If the commands ran without errors you can reboot the machine and verify that the Arrigo Services are running.

If the services still aren’t running you can try solution 2.

Note!
These commands will fail if your server isn’t connected to the internet. In that case you can contact arrigosupport@rssoftware.se for further instructions.

Solution 2

Reboot the machine and verify that the Arrigo Services are running.

If the services still aren’t running you can try solution 3.

Solution 3

Basically the same as Solution 2 but changing the Scheduled Task to run as SYSTEM.
Edit the existing task by following the instructions at https://stackoverflow.com/a/6568823

If the services still aren’t running you can can contact arrigosupport@rssoftware.se for further troubleshooting.

User Admin window only shows an error

Question

When I try open the User Administration panel I get an error. Why?

Solution

If you, in your browser instance/session (regardless of which tab), have navigated to the EXOscada login page and then try to open the UserAdmin from within Arrigo it will fail. EXOscada sets a cookie that we cannot manipulate and therefore the wrong cookie will be sent when trying to open the UA.

If this happens you need to restart the browser (not just close the “infected” tab) for the cookie to be flushed.