Does the exception has InnerException
specified? It can contain further details.
However, it seems that the you are using wrong assemblies (please check target framework and version).
If you are running your app on Windows CE, please ensure that you have referenced assemblies from netcf-x.y installation directory (e.g. c:\Program Files (x86)\Rebex Components 2018 R3\bin\netcf-3.5
).
If you are using your app on desktop Windows, please ensure that you have referenced assemblies form net-x.y installation directory (e.g. c:\Program Files (x86)\Rebex Components 2018 R3\bin\net-4.0
).
More precisely, please ensure that your application was deployed with correct version of assemblies.
Go to deploy location, right click on .dll, select Properties, select Details tab, check File description (check version and framework). Check this for all .dll files.