Solution
This error occurs during the deployment of the network-shared variables.
In order to solve the issue, please follow the steps below:
1. In the properties of the build specification put the Main VI in the
Startup VIs tab, and all others VIs, libraries and etc in the
Always Included tab.

2. Navigate to the
Shared Variable Deployment tab, and enable "
Deploy shared variable libraries at application execution" and "
Undeploy shared variable libraries at application exit".

3. Rebuild the executable.