The first user works successfully generates all / any reports as expected without any issues. All works fine outside of Citrix / RDP without any issues.
Following users accessing the reports via RDP or Citrix all following users get the following error until either the AppPool is recyceled for the website or until time out period probably session timeout is met. Again only the first user will work which ever user tries first.
Failed to render page
<!--
Inner Stack Trace:
at CrystalDecisions.Web.HtmlReportRender.ReportRenderBase.Render(Object reportContent)
at CrystalDecisions.Web.ReportAgent.RenderPage(String sDrilldownGraphPostBackPrefix, String sDrilldownPostBackPrefix, String sSortPostBackPrefix, String sHyperlinkClickedPrefix, String controlID, Boolean bSeparatePages, Int32 iZoomFactor, Boolean bShowAllPageIds)
Stack Trace:
at CrystalDecisions.Web.ReportAgent.RenderPage(String sDrilldownGraphPostBackPrefix, String sDrilldownPostBackPrefix, String sSortPostBackPrefix, String sHyperlinkClickedPrefix, String controlID, Boolean bSeparatePages, Int32 iZoomFactor, Boolean bShowAllPageIds)
at CrystalDecisions.Web.CrystalReportPageViewer.RenderPage()
at CrystalDecisions.Web.CrystalReportPageViewer.Render(HtmlTextWriter output)
at CrystalDecisions.Web.CrystalReportPageViewer.GetHTML()
at CrystalDecisions.Web.Render.ReportPageRenderer.GetJSONObject(IComponent component)
at CrystalDecisions.Web.Components.ComponentBase.GetJSONObject()
at CrystalDecisions.Web.Render.ReportViewRenderer.GetJSONObject(IComponent component)
at CrystalDecisions.Web.Components.ComponentBase.GetJSONObject()
at CrystalDecisions.Web.Render.ReportAlbumRenderer.GetJSONObject(IComponent component)
at CrystalDecisions.Web.Components.ComponentBase.GetJSONObject()
at CrystalDecisions.Web.CrystalReportViewer.GetJSONObject()
at CrystalDecisions.Web.CrystalReportViewer.Render(HtmlTextWriter output)
-->
I have remotely debugged the IIS using Visual Studio 2012 and all code executes as expected and have added ample logging but cannot get any Crystal Logging working even though I have set EnableEventLog the following in ReportFactory.cs
2x files in C:\Windows\Temp\ are generated ok for all users such as temp_038b5d02-735f-4d64-8923-5680238be787.rpt but after this the error is then displayed on the browser.
Also see previous thread which is related for extra details but didn't know the cause.