The LDK is returning "LDK_ERR_REGISTRY_ACCESS". How can I resolve this?

Modified on Sat, Jun 29, 2024 at 11:49 AM

When running a custom app that utilizes the LDK module for obtaining a license, sometimes the app returns the following error when running on a machine:

LDK_ERR_REGISTRY_ACCESS

This appears to suggest that it couldn't access the registry. So, what are ways to ensure that it will be able to gain access for writing the license key?


There are a few ways you can resolve this issue:

  1. Try right-clicking on your custom LDK application and choosing "Run as Administrator".
  2. Try logging in as a user with elevated or admin rights for running the app.
  3. The LDK writes the license to the following areas in the registry. You can check the registry permissions to see if the user account has access to these paths (right-click on the registry key and select Permissions):

HKEY_LOCAL_MACHINE\Software\Accusoft\Licensing<Your solution name>
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Accusoft\Licensing<Your solution name>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article