cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RangaPro
Level 4

Flexera API fails when not accessed via Network Service

Hi,

Currently we are using Flexera with License Files with it running as a separate Windows Service (Network Service). Our C# application also runs as a separate Windows Service (Network Service) and uses the C API (lmgr11.dll) to access features list and everything works fine.

If our application runs as any other account (basic user account, Local System, Administrator account) then the following call returns a null. 

lc_feat_list(lm_job,LM_FLIST_ALL_FILES,NULL)

Note: here, the Flexera service running as any of the other accounts did not matter (it worked fine as long as our application account ran as network service). Also the folder permissions for flexera exe's and license files were also updated accordingly.

Any idea on what could be the problem with running that API call ?

0 Kudos
(1) Reply
RangaPro
Level 4

Some additional information:

 

All the services are located in the same machine

The license is set to allow use in any machine.

 

The following error is seen after the API call :

No socket connection to license server manager.
License path: C:\flexlm\license.dat;
FLEXnet Licensing error:-7,96

 

Note: that above license path is incorrect, not sure how that was picked up.

0 Kudos