Report fails when run over Citrix session

Posted by: hampshirecc on 3 August 2017, 3:23 pm EST

  • Posted 3 August 2017, 3:23 pm EST


    I hope someone is able to help me with a problem that I've been trying to fix for 3 months now! It's a very specific issue so I'm hoping someone can put a finger on it.

    We are hosting an application over XenApp 6.5 called CMSI that uses data dynamics reports. Reports are failing with the error message below when run over Citrix. But if I log the user user onto the server through RDP it will work and will continue to work over Citrix during subsequent logons. So it's as if something is written to locally that fixes it permanently. It isn't practical for me to get all of the 50 users to rdp onto the server so I am trying to figure out what is fixing this through an RDP logon. Some registry key that is added perhaps?

    Inner exception stack trace
    DataDynamics.Reports.ReportsException: An unexpected error occured. Additional information: 'Object reference not set to an instance of an object.' ---> System.NullReferenceException: Object reference not set to an instance of an object.

    Full error attached
  • Replied 3 August 2017, 3:23 pm EST

    Hi Manpreet

    I can successfully publish other applications on the Citrix server and they run without issue. We have a 6000 concurrent user farm supporting over a thousand different applications which run successfully on our Citrix build. This is a very unusual problem that we have not come across before. Even if my user is local administrator the report fails.
  • Replied 3 August 2017, 3:23 pm EST

    Sorry I forgot to mention I don't know the application architecture but have asked the vendor for CMSi for more information
  • Replied 3 August 2017, 3:23 pm EST


    The issue does not seems to be specific to Data Dynamics Reports as the application using Data Dynamics Reports is working correctly when the users access the application via remote desktop.

    The issue seems to be related to the object returned by the service that offers the users to access the original application hosted on citrix server.

    Could you try creating a simple application and hosting the same on the citrix server to observe if this works correctly with XenApp. Further could you please let me know what your original application using Data Dynamics Report does, what code is excatly written in the application which is not read by the service.

    Please provide me some information about your original application using Data Dynamics Reporrts so that I can accordingly guide you ahead with the same.

    Manpreet Kaur
  • Replied 3 August 2017, 3:23 pm EST


    Form your last reply it seems that the application created by CMSI internally uses Data Dynamics Reports which you are hosting at your end. I would suggest you to contact CMSI for further information regarding this issue as currently there are no such known isssues with Data Dynamics Reports.

    Please confirm if my understanding above is correct for this issue.

    Manpreet Kaur
  • Replied 3 August 2017, 3:23 pm EST

    Hi Manpreet Kaur

    Sorry for the delay with this. I have been working with CMSi and in our testing we published Reports Designer as a standalone application hence CMSi was not involved. Yet the reports where formatted text controls contain html text still fail with the error messages attached.

    When I run the reports directly on the server they run successfully. I have run process explorer to try and find what processes and file locations are written to when the report runs but there are so many folders that seem to be called by Report Designer it is like looking for a needle in a haystack. This must be a permissions issue but without knowing which of the folders is called when the report runs it is almost impossible for me to solve.

    Can you offer any ideas with this please?

    Many thanks
  • Replied 3 August 2017, 3:23 pm EST

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels