WebApp not available

  • Thread starter Thread starter Guest
  • Start date Start date
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);
 
Back
Top