DeployLX Software Protection System

Troubleshooting Encryption Problems

The Runtime Executive is piece of native code that manages the loading and execution of veiled assemblies. The Runtime Executive imposes certain runtime and security requirements on the end-users machine that must be honored for it to work. Double check the System Requirements for and make sure that the machine having trouble meets these minimum requirements.

If the end-user's machine meets the minimum system requirements then the next step is to test a version of your assembly that does not use encryption.

To disable Code Encryption

  1. Open your project in the DeployLX Manager.
  2. Navigate to the Code Encryption section.
  3. Uncheck Enable code encryption.

Re-run your application after encryption has been disabled. If problems persist, try Troubleshooting Obfuscation Problems.

If the problem is resolved by disabling encryption you will need to isolate which portion of encryption system is causing the problem. Again, double check that the system meets the minimum system requirements, you are running a 32-bit application and have granted Full Trust to the EXE.

If your project has multiple assemblies, try re-enabling them one by one to see if a specific assembly is the root cause of the problem; otherwise continue to Locating the Specific Problem.

To enable Code Encryption for a single Assembly

  1. Select the assembly from the assembly list of the Project Editor.
  2. Select Properties from the CodeVeil Tab to customize the assembly settings.
  3. Scroll to the Code Encryption section.
  4. Select Enable code encryption.

Continue enabling individual assemblies until you identify which one is causing the problem. Then continue to Locating the Specific Problem.

Locating the Specific Problem

Once you've identified an assembly that is having trouble with Code Encryption you will need to identify if the problem is specific with your code, or systemic. To isolate your code from the entire encryption system, make sure Enable method encryption is selected and disable Encrypt all methods by default and Prevent profilers from analyzing the code options. Also disable Prevent debugging when protected assemblies are loaded from the Runtime & Integrity Protections section.

Test again. If problems persist you will need to contact customer service and provide them with complete details, including veiled and unveiled versions of your assembly. See the Troubleshooting Other Problems topic for details on contacting customer service.

See Also