- Flexera Community
- FlexNet Manager
- FlexNet Manager Forum
- Re: Citrix Virtual apps import
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Citrix Virtual apps import
Trying to run the Xenapp server agent - not using a staging database so running the app with the
switches and am getting an error message
system.indexoutofrangeexception: Index was outside the bounds of the array
Any ideas out there please?
Is there any further context that appears before or after this error message?
(Ensure the "-v" command line option is used to produce verbose output, in case that gives any further details beyond what you are already seeing.)
That error smells like it might occur if bad command line options are provided. What is the full command line you are using?
url = FQDN of the beacon
user = service account in use on the beacon
pass = service account password
As is shown in the guide
-url http://beacon01.example.com -user beaconAccountName -pass password
So I assume the screenshot shared earlier was generated when using the "-v" command line option, but that option isn't shown in the command line above.
I should have been clearer that the "-v" option needs a number (specifying a verbosity level) after it - and if a number was not specified, that would explain the error you saw in that case. But it wouldn't explain the error seen when the "-v" option is not used.
Can you share a screenshot showing the exact full command used (including details such as exactly where spaces are and are not specified) and the full output it generates (obviously with sensitive details obscured)?
NB. An "IndexOutOfRangeException" from the CommandLineProcessor.Initialize function like shown in the screenshot indicates that a command line option where it expects to find a value following the option didn't have a value specified.
Thanks - what is the best -v number (and required format) to use to get the most accurate result please?
Use "0" to include the most verbose details that are available:
FnmpXenAppAgent.exe -v 0 -url http://beacon01.example.com -user beaconAccountName -pass password
So I'm confused at what you're seeing. 🙂 There is no error shown in this screenshot. Has the problem stopped happening? Or if it is still occurring, where are you seeing the error?
So the command line with "-v" at the end is failing due to no number following the option.
The other command lines are not obviously showing any failure. So I'm guess I'm not sure what problem you are seeking input from the Community on here. Is there still an issue that is concerning you?
So if there is no error shown that means the agent has run ok?
Have you seen the other reply above using the format you suggested? That doesn't report any error.
From what you're reporting now, the system.indexoutofrangeexception that is the focus of your question in this thread seems to be no longer be occurring.
I don't know exactly what output to expect from this agent. But unless an error is reported, I would assume that the agent is running OK until/unless you observe some kind of anomaly.
The following page contains some suggestions for validation of what the agent is doing: Validation and Problem Solving.
Is there anything else I need to do to set this up on the XenApp server?