Skip to Content
avatar image
Former Member

Do ASP.NET crystal reports support background processing

CR reports take too much of processing time for our web app. I have modified the process to generate reports in the background using ASP.NET asynchronus pages concept (http://msdn.microsoft.com/en-us/magazine/cc163725.aspx)

But now, the reports do NOT render at all. This makes me wonder whether they support background processing at all.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 13, 2010 at 08:15 PM

    Hello,

    Not a lot to go on here. See this thread for more info on threading:

    invalid-api-call-made-causes-contextswitchdeadlock

    As long as you are managing the threads and pointers it could work. Bottom line is CR works under the STA model.

    Thank you

    Don

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Trevor Dubinsky

      I have postponed efforts on this one now, but my attempt is to make the Report to export Html in the background thread, that would then be easily handed over to the front-end UI thread for sending to the client.

      I am not sure if this is possible at all, because the web-based CR Viewer simply generates an error when its not working on the front-end UI thread.

      If anyone from CR here can confirm whether CR ASP.NET Viewer control is capable of performing its processing on a background non-ASP.NET thread pool thread, that would be great saving many a hours of productive time.

      I will try this later, but I really hope if this gets some solution with CR reports taking many a seconds of CPU time blocking the limited front0end UI threads available to ASP.NET.