Solution
If your installer was built using Merge Modules, your application utilizes NationalInstruments.Common, and your computer has the National Instruments Common 17.5 assembly on it, there is a known issue with the use of merge modules for application deployment. This behavior can present itself due to the correct policy files not being installed on the system (for more information, see Additional Information).
The best way to avoid this issue will be to use Measurement Studio Installer Builder to include the NationalInstruments.Common .NET Runtime Installer. If your installer tool does not support adding .MSI installers, then you can include the Common DLL and the dependencies manually through XCOPY deployment. For more detailed information on changing your installer to use the Runtime Installer, see this KnowledgeBase article.
Note: If you do not use the National Instruments Installer Builder and would like to use the NationalInstruments.Common .NET Runtime Installer, ensure you add the command-line flag INSTALLLEVEL. You must explicitly set the INSTALLLEVEL flag to 1000 when running the NationalInstruments.Common 17.5 .NET Runtime Installer standalone or through another installer method. For example, the command to run the Runtime Installer (.NET 4.0) from the command-line is the following:
MStudioCommonRuntime.v400.msi INSTALLLEVEL=1000
This is not the only cause of this error, as this error can also result when you have not included any way to install the National Instruments Common assembly. If you are not sure how to create an installer to ensure that your Measurement Studio application has all of the correct dependencies, see the help for deploying Measurement Studio applications.