Displaying chm help file in Citrix Environment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Trying to do something very simple, just display the application help file
associated with an application. I've set up the Help Provider, the
HelpNamespace property is simply the name of the file so it is always looking
for it in the same directory as the program. I am calling with the following
code..

Help.ShowHelp(this, hpMain.HelpNamespace, HelpNavigator.TableOfContents);

This works absolutely fine on my development machine. This also works fine
on a Citrix server where I am in the local Administrators group.

However, this does not work on servers that make up our farm (I don't have
admin rights on these). I've wrapped the above code in try|catch blocks,
added logging etc....the code is simply called and nothing happens. No
exceptions are raised and the help file is not displayed??

What could this be, a permissions issue?? Any ideas?

Thanks
 
Have turned on all Exceptions to break into debugger - am noticing the
following Exception that is not propagated to my GUI.

A first chance exception of type 'System.UriFormatException' occurred in
system.dll

Additional information: Invalid URI: The format of the URI could not be
determined.

??!
Thanks
 
SOLVED:

Instead of just leaving the HelpNamespace as MyHelpFile.chm, I'm setting it
at runtime to (ExecutingAssemblyPath + "\MyHelpFile.chm")

I would've expected something like FileNotFoundException etc to have hit my
GUI, rather than just being swallowed by the URI Exception??
 
Back
Top