Summary
This article describes the error seen when using FnmpXenAppAgent.exe 6.0 and 6.5 with Inventory Agent version 12.0.0. This behavior is further described in issue FNMS-36780
Symptoms
Version 12.0 of the inventory agent reported the following error when attempting to use FnmpXenAppAgent.exe 6.0 and 6.5:
2016-10-05 2:42:00.987 : Informational : Command line arguments:
2016-10-05 2:42:01.190 : Informational : -?
2016-10-05 2:42:01.674 : Error : Could not load file or assembly 'FnmpXenAppAgent.resources, Version=12.0.0.14093, Culture=en-US, PublicKeyToken=null' or one of its dependencies. The system cannot find the path specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
at Flexera.Compliance.Importer.XenAppAgent.Properties.Resources.get_UsageMessage()
at Flexera.Compliance.Importer.XenAppAgent.Program.Main(String[] args)
2016-10-05 2:42:01.799 : Error : Could not find a part of the path 'C:\Program Files\Citrix\Broker\Snapin\v2'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetDirectories(String path)
at Flexera.Compliance.Importer.XenAppAgent.Program.FindFileInPath(String path, String filename)
at Flexera.Compliance.Importer.XenAppAgent.Program.ResolveSnapinPathDlls(Object sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
Resolution
The FnmpXenAppAgent.exe 6.0 and 6.5 issue reported in issue FNMS-36780 has now been resolved in FlexNet Manager Suite 2016 R1 SP1. Please deploy agent version 12.1.0 to avoid or correct this error.