on 03-06-2009 5:04 PM
Hi,
I experienced a few instances where my the follow statement where my ASP application (using VS2005, CRXI-R2+SP4, Datasets and CR Viewer on the server) thows an error on my server (running Server 2003).
Dim Report As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
New CrystalDecisions.CrystalReports.Engine.ReportDocument()
Try
Report.Load(Server.MapPath("~/Private/Event/WebEvent.rpt"))
Catch ex As Exception
JavaMessage("Report Not Found")
Exit Sub
End Try
I don't know what the exception is at this point. But something happens and the crystal reports in all my websites break uniformly. I need to restart IIS to get things back working. This has happended to me 3x now.
Any ideas?
Thanks,
Eric
Hi,
As a best practice use Close() and Dispose() method also gc.Collect();
Check if this helps!!
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.