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:
- Try right-clicking on your custom LDK application and choosing "Run as Administrator".
- Try logging in as a user with elevated or admin rights for running the app.
- 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
Feedback sent
We appreciate your effort and will try to fix the article