O
Oenone
Sorry for the cross-post, but I'm not sure what the best place to post this
is, and I'm getting a bit desparate.
Part of our product uses the SQL Server Reporting engine to create reports
in Excel and PDF format. To do this I am using the LocalReport object the
Microsoft.ReportViewer.WinForms namespace. This is all running in a
web-based service running in IIS.
In development and UAT this has worked flawlessly and had been very powerful
and convenient. Having just put some of our systems live, we are suddenly
running into problems that I am unable to work out how to resolve.
Everything works fine at first, but after the service has been running for
between 20 and 40 minutes, suddenly the report generation stops working.
I've added debug logging to the application, and can see that the last
statement that gets executed is a call to the LocalReport.Render method.
This never returns.
If we recycle the application pool, the reports start working again -- for
another 20 to 40 minutes. Then they stop, just as before.
Setting the application pools to automatically recycle every 20 minutes
seems like a very bad solution to this. I would really like to understand
why it is that the system is locking up. But without being able to step into
the source code for the LocalReport object, I'm completely at a loss as to
how I can resolve this.
Does anyone have any suggestions as to what I could try?
We're using VS2005 and ASP.NET v2.0, running in IIS6 on Windows Server 2003.
My thanks in advance,
is, and I'm getting a bit desparate.
Part of our product uses the SQL Server Reporting engine to create reports
in Excel and PDF format. To do this I am using the LocalReport object the
Microsoft.ReportViewer.WinForms namespace. This is all running in a
web-based service running in IIS.
In development and UAT this has worked flawlessly and had been very powerful
and convenient. Having just put some of our systems live, we are suddenly
running into problems that I am unable to work out how to resolve.
Everything works fine at first, but after the service has been running for
between 20 and 40 minutes, suddenly the report generation stops working.
I've added debug logging to the application, and can see that the last
statement that gets executed is a call to the LocalReport.Render method.
This never returns.
If we recycle the application pool, the reports start working again -- for
another 20 to 40 minutes. Then they stop, just as before.
Setting the application pools to automatically recycle every 20 minutes
seems like a very bad solution to this. I would really like to understand
why it is that the system is locking up. But without being able to step into
the source code for the LocalReport object, I'm completely at a loss as to
how I can resolve this.
Does anyone have any suggestions as to what I could try?
We're using VS2005 and ASP.NET v2.0, running in IIS6 on Windows Server 2003.
My thanks in advance,