WebApp not available

G

Guest

In my webapp I create a PDF file using Crystal Decisions. When I call the Export function, the system got busy and never ends. After the call, none of the webapp on the server are available anymore. I have to restart IIS before I can use them again. In the application log I've found an entry "application popup: aspnet_wp.exe- application error: the instruction at ......... The memory could not be written". It has worked fine, but 'suddenly' it doesn't work anymore. Perhaps due to a servicpack?
Code part:
CrystalDecisions.Shared.DiskFileDestinationOptions dfdoReport =
new CrystalDecisions.Shared.DiskFileDestinationOptions();
string szReport = @"Temp\" + Session.SessionID +
DateTime.Now.ToString("hhMMss") + ".pdf";
string szFileName = Server.MapPath("") + @"\" + szReport;
dfdoReport.DiskFileName = szFileName;
crReportDocument.ExportOptions.ExportDestinationType =
CrystalDecisions.Shared.ExportDestinationType.DiskFile;
crReportDocument.ExportOptions.ExportFormatType =
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
crReportDocument.ExportOptions.DestinationOptions = dfdoReport;
crReportDocument.Export();
Response.Redirect(szReport, false);
 
G

Guest

Hi,

Thanks for your answer. I've used a stream now, but the problem still occures.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top