dbeckner
Consultant

App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

We have App Portal integrated with FNMS for license checks. We have the "Enable Advanced License Check with FlexNet Manager Suite" option checked. But for the non-licensed products we are not defining a Flexera ID. The Admin UI Error Logs are showing errors for "Server was unable to process request ----> Application with ID does not exist or you do not have permission"

When I check the FNMSIntegration.log file it shows the same error and when i trace back the requestor the product they were requesting isn't licensed nor does it have any FNMS product information listed (flexera ID, etc). These errors are concerning to the customer and can make it difficult to determine what is a true failure and what isnt.

Has this symptom been identified before and is there a way to prevent App Portal from checking FNMS for licenses for a non-licensed product?

 

We are on App Portal  2018 R1.

 

TIA

0 Kudos
1 Solution

Accepted Solutions
jdempsey
Moderator Moderator
Moderator

Re: App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

For reference, we're dealing with the properties on this UI page: https://docs.flexera.com/appportal/2021r1/ag/Content/helplibrary/AP_CatItemProp_FNMP_Map.htm

I highly recommend to all my customers that they define a Flexera ID mapping for all catalog items, even if not performing a license check, as it can be used for other functions beyond just the license check.  For applications that aren't in our Application Recognition Library (ARL), you can add local application entries within FlexNet Manager (they have a slightly different format, but work exactly the same).  Assuming these applications are not internal-only applications, you can also submit a support case requesting to have them added to the ARL in a future update.

Now, having said that, for catalog items where you don't want to perform a license check, you should uncheck both boxes on the above-referenced page.  In most cases, both boxes should be checked or both boxes should be unchecked.  There are rare cases where you might want to check the box for the standard license check and uncheck the box for the advanced license check, but you should never have it configured the other way around.  Also note that if you don't have a Flexera ID mapped, you should not even see those checkboxes appear in the UI.  Unfortunately, if I recall correctly, selecting the "Clear" button at the top of that page to remove the Flexera ID mapping will actually set the advanced license check value in the DB to NULL rather than 0, and the code interprets anything non-zero as true, so adding a mapping and saving it, then clearing the mapping will actually remove the Flexera ID and cause an advanced license check to be performed without having a valid Flexera ID.  This is likely what you're seeing in the logs.  If you want to get rid of these errors, you have a few options:

  1. Set a valid Flexera ID for each catalog item and uncheck the boxes if you don't wish to perform a license check (e.g. freeware, enterprise unlimited licenses, true-up licenses, etc.)
  2. If no Flexera ID exists for that application,
    1. add one in FlexNet Manager and then add that local ARL mapping into the catalog item, or
    2. use SQL Server Management Studio to directly edit the catalog items in the database (WD_WebPackages table) and set both the standard license check and advanced license check columns to 0.
Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

View solution in original post

9 Replies
jdempsey
Moderator Moderator
Moderator

Re: App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

For reference, we're dealing with the properties on this UI page: https://docs.flexera.com/appportal/2021r1/ag/Content/helplibrary/AP_CatItemProp_FNMP_Map.htm

I highly recommend to all my customers that they define a Flexera ID mapping for all catalog items, even if not performing a license check, as it can be used for other functions beyond just the license check.  For applications that aren't in our Application Recognition Library (ARL), you can add local application entries within FlexNet Manager (they have a slightly different format, but work exactly the same).  Assuming these applications are not internal-only applications, you can also submit a support case requesting to have them added to the ARL in a future update.

Now, having said that, for catalog items where you don't want to perform a license check, you should uncheck both boxes on the above-referenced page.  In most cases, both boxes should be checked or both boxes should be unchecked.  There are rare cases where you might want to check the box for the standard license check and uncheck the box for the advanced license check, but you should never have it configured the other way around.  Also note that if you don't have a Flexera ID mapped, you should not even see those checkboxes appear in the UI.  Unfortunately, if I recall correctly, selecting the "Clear" button at the top of that page to remove the Flexera ID mapping will actually set the advanced license check value in the DB to NULL rather than 0, and the code interprets anything non-zero as true, so adding a mapping and saving it, then clearing the mapping will actually remove the Flexera ID and cause an advanced license check to be performed without having a valid Flexera ID.  This is likely what you're seeing in the logs.  If you want to get rid of these errors, you have a few options:

  1. Set a valid Flexera ID for each catalog item and uncheck the boxes if you don't wish to perform a license check (e.g. freeware, enterprise unlimited licenses, true-up licenses, etc.)
  2. If no Flexera ID exists for that application,
    1. add one in FlexNet Manager and then add that local ARL mapping into the catalog item, or
    2. use SQL Server Management Studio to directly edit the catalog items in the database (WD_WebPackages table) and set both the standard license check and advanced license check columns to 0.
Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

View solution in original post

dbeckner
Consultant

Re: App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

@jdempsey We have 865 packages created and 841 have NULL set for CheckFNMPAdvancedLicensePosition. We are using a bulk catalog import script to create these catalog items and I am thinking something is occurring during import that is causing this. That number seems high to have added and removed FlexeraIDs. In the interim I believe bulk updating these values to '0' will resolve our issues until such a time when the customer chooses to add a FlexeraID to all catalog items.

Thanks for the detailed response.

0 Kudos
CharlesW
Flexera
Flexera

Re: App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

I'd guess that the bulk import is setting the FUID column to an empty string in the WD_WebPackages table, where it should be null. How many rows are returned by the following query?

select * from wd_webpackages where FUID = ''

those are two single quotes....

If any just run an update query similar to the following to resolve:

update wd_webpackages set FUID = null where FUID = ''

0 Kudos
dbeckner
Consultant

Re: App Portal checking for Licenses in FNMS for products without licenses or a Flexera ID

Jump to solution

I see 3 packages for that query. I looked through our script and I dont see anything that even references the FNMS license positions, but nonetheless we have 841 with a null value.

0 Kudos