Home > .NET Framework > Crystal Reports from ASP.NET

Crystal Reports from ASP.NET

If any of you folks out there use Crystal Reports from .NET
Do not forget to call Dispose on the ReportDocument object.
We just spent a week on a wild goose chase, the worker process was recycling / hanging without a proper dispose call.
I was also looking for a code review / code analysis tool which could point such issues automagically.
Visual Studio Team System: Reliability Rules Dispose Before losing scope.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=463603&SiteID=1
Mem Profiler seems to have this feature. This is not static analysis tool though.
http://memprofiler.com/
"The profiler also contains a dispose tracker, which provides additional data about disposable instances (i.e. instances of classes implementing the System.IDisposable interface). "
Advertisements
Categories: .NET Framework
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: