Skip to Content
0
Former Member
Mar 06, 2009 at 05:04 PM

Report.Load Error with ASP application

16 Views

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