Summary
This article will describe an error you will get in the FnmpXenAppAgent.exe with the message "An unhandled error occured while attempting to process the application 'SOME APP'. An item with the same key has already been added". The affected version is FNM On Premise 2014 R3 and FNM On Demand (before April 2015)Symptoms
If you get an error in the FnmpXenAppAgent.exe with the message "An unhandled error occured while attempting to process the application 'SOME APP'. An item with the same key has already been added"The affected version is FNM On Premise 2014 R3 and FNM On Demand (before April 2015)
Cause
This is due to the application 'SOME APP' being published directly on a XenApp server, and a worker group that also contains the same XenApp server.May affect XenAppAgent 6 / XenAppAgent 65 / XenAppAgent75
Resolution
You can either manually remove the XenApp server from the list of servers publishing the application and simply keep the XenApp server in the worker group, or use the patched FnmpXenAppAgent.exe attached to this KB article.Additional Information
Sample error log:2015-02-03 2:08:56.596 : Error : An unhandled error occured while attempting to process the application 'SOME APP'.
2015-02-03 2:08:56.596 : Error : System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XaDataProviderBase.GetAclApplicationServers(String p_AppBrowserName)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XaDataProviderBase.GetAclApplications()
2015-02-03 2:08:56.596 : Error : An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XaDataProviderBase.GetAclApplicationServers(String p_AppBrowserName)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XaDataProviderBase.GetAclApplications()
at Flexera.Compliance.Importer.XenAppAgent.AclImporter.Import(String p_DatabaseConnectionString, Int32 p_DatabaseTimeout, String p_OutputFile)
at Flexera.Compliance.Importer.XenAppAgent.Program.Main(String[] args)
Was this helpful?
Related Articles
Known Issue: Web UI grid pages may show error with error in webui.log if custom property names have mismatched case betwee… 17Number of Views A "An item with the same key has already been added" error may be encountered when creating a Purchase with custom properties 4Number of Views Web UI grid pages may show error with error in webui.log if custom property names have mismatched case between *Property_M… 4Number of Views Import process may associate inventory device record to multiple cloud instances, leading to red error bar in web UI when … 4Number of Views Beacon policy download error: An unhandled error occurred System.ArgumentException: An item with the same key has already … 18Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago