ActiveReports for .NET 2.0 Support

Started by smdavis at 01-28-2010 2:36 PM. Topic has 2 replies.

Print Search Rate
Sort Posts:    
   01-28-2010, 2:36 PM
smdavis is not online. Last active: 10/4/2011 9:52:31 PM smdavis

Not Ranked
Joined on 08-28-2004
Posts 15
ThreadAbortException on AR Report with large amounts of data.
This happens with large amounts of data - but works fine with smaller amounts of data.

This report has one main report withg 2 subreports. One subreport is for the details and the other is for the high level summary section.

Using: ActiveReports3 5.3.1436.2

When I am in the debugger, or run this locally from my PC, the report completes as expected. However when ran from the Report Server this error occurs.


This particular report is written to the local drive on the report server when it is generated. When there is an internal report error, an errorpage is generated in the catch() block and saved before the report exits.


ActiveReports3.dll ,252,Report failed to generate due to unknown error:
System.Threading.ThreadAbortException: Thread was being aborted.
at #mb.#vqb.#vEb()
at #mb.#vqb.#qEb(Page newPage, Single left, Single top, Single right, Single bottom, UInt32 flags, UInt32& status)
at DataDynamics.ActiveReports.Section.#yBb(ActiveReport3 parentReport, #tqb rData)
at #mb.#mqb.#NDb(Int32 pieceIndex)
at #mb.#mqb.#LDb()
at #mb.#vqb.#vEb()
at #mb.#vqb.#qEb(Page newPage, Single left, Single top, Single right, Single bottom, UInt32 flags, UInt32& status)
at DataDynamics.ActiveReports.ActiveReport3.#4yb()
at DataDynamics.ActiveReports.ActiveReport3.Run(Boolean syncDocument)
at rptStatement.ReportServer.RunReport()


Thanks
   Report 
   01-29-2010, 8:25 AM
AashishB is not online. Last active: 12/24/2010 3:51:14 PM AashishB

Top 25 Posts
Joined on 12-11-2008
Posts 818
Re: ThreadAbortException on AR Report with large amounts of data.
Hello,

Could you please share the code with us where the exception is thrown. It would be helpful if you share the .cs or .vb report's code file with us as well.

Regards,
Aashish

   Report 
   01-29-2010, 2:36 PM
smdavis is not online. Last active: 10/4/2011 9:52:31 PM smdavis

Not Ranked
Joined on 08-28-2004
Posts 15
Re: ThreadAbortException on AR Report with large amounts of data.
I have found the problem.

Because of the large size of data being
returned, the report was loosing its connection with the database - thus the ThreadAbortedException.

After tuning the stored procedure - all is working as expected.

Thank you for your reply.
   Report 
GrapeCity » Product Support » ActiveReports f... » Re: ThreadAbortException on AR Report with large amounts of data.

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.