Summary
This article will help to allow your flex enabled service checkout licenses from trusted storage.
Synopsis
This article will help to allow your flex enabled service checkout licenses from trusted storage.
Discussion
If you are creating an application that is to be run as a service and that service needs to checkout a license from trusted storage, then you may hit a problem where there are not enough permission to check the license out.
Not enough rights to talk to service. Set service to start automatically to resolve this.
Simply changing the permission on the service will not help in this instance as the problem lies with the permission of the user to start the FNPLicensingService from your service.
The reason for activation initialization error is due to ERROR_ACCESS_DENIED error when FlexNet licensing service is started/queried. This happens when Flex-enabled application runs as a service with user account privileges only. The user level accounts are not granted permissions to start and stop the services, by default.
One needs to use the Security Descriptor Definition Language (SSDL) to provide the required service privileges. Since, the ERROR_ACCESS_DENIED is seen for Flexnet licensing service it is required to grant an explicit permission to start and stop this service for the given user account.
Following is an example using SetACL utility(SetACL can be found at http://helgeklein.com/) for user account test123.
SetACL.exe -on "Flexet Licensing Service" -ot srv -actn ace -ace "n:test123;p:start_stop"
Running SetACL against the user should allow the start/stop of the licensing service.
Related Articles
Client Applications Hang at Checkouts from Trusted Storage 4Number of Views Providing a License File that Allows Checkouts from Both Old and New Clients 8Number of Views Sample code to allow checkout based on license file and trusted storage model 5Number of Views Steps to generate the new FNMEA license file 77Number of Views Why can't older clients check-out licenses borrowed by newer clients? 2Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago