Kepware Knowledge Base: Solution
Developing ClientAce Projects for 64 Bit Operating Systems
Last Update: 11/12/2018
Because the ClientAce libraries are 32 bit, users must set the target CPU to X86 when developing a project that will be running on a 64 bit Operating System. This allows the application to run in WOW64 on the 64 bit machine. Please note the following:
- If the target CPU is set to AnyCPU, the application will not run on the 64 bit Operating System.
- If the target CPU is set to x64, the following error will be received at compilation: "An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Kepware.ClientAce.OpcClient, Version = , Culture = neutral, PublicKeytoke = null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
©
2022
PTC Inc. All Rights Reserved.