Summary
Can you create a binary that contacts both server and client trusted storage?
Question
I am currently writing a DLL that is supposed to loop through the local and server side trusted storages
to list the contents. It works fine to get the number of products in client trusted storage using
code like this:
if (!flxActCommonHandleOpen(&myServerHandle, FLX_ACT_APP, &myServerError))
{
printf("Failed to open server handle");
return false;
}
if (!flxActCommonLicSpcCreate(myServerHandle, &myServerlicense))
{
printf("Failed to create LicSpc\n");
return false;
}
if (!flxActCommonLicSpcPopulateFromTS(myServerlicense))
{
printf("Failed to populate from TS\n");
return false;
}
noOfProducts = flxActCommonLicSpcGetNumberProducts(myServerlicense);
printf("Found %i server products!\n", noOfProducts);
However, if I replace the FLX_ACT_APP with FLX_ACT_SVR to get data from server trusted storage,
the flxActCommonHandleOpen call fails with major error code 5005, minor error code 71040, and syserrno 23.
What could be the cause of this problem?
I would like to have one DLL that reads both from client side trusted storage and server side trusted storage.
Are there any known problems related to doing it this way?
Answer
You can't do this as a single DLL, as they can only be prepped for one type. So you'd need 2 DLLs, one for the server and one for the client. Then the main utility could make calls to either one.
Related Articles
Failed to Create a Feature Collection From Trusted Storage: [1,7e1,2,1[74100008,5,1202014d]] Internal 10Number of Views Client Applications Hang at Checkouts from Trusted Storage 7Number of Views Server Trusted Storage Using Short Code Transactions 6Number of Views Can Licenses be Activated Directly from Server Side Trusted Storage 10Number of Views Broken or Corrupt Trusted Storage 14Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago