System.IO.IOException: The process cannot access the file 'D:\Project\ohu\Website\ReportPDF\TempReportForMail\1600021.pdf' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at CrystalDecisions.CrystalReports.Engine.FormatEngine.WriteStreamToFile(Stream stream, String filename) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportStreamToFile(Stream stream, DiskFileDestinationOptions options) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() at ReportHelper.InvokeReport(PageController page, IReportController iReportController, ReportDetail reportDetailData) in d:\Project\ohu\Website\App_Code\ReportHelper.cs:line 205 at Pages_ExaminationSetup_AlertUpdate.MailHealthReportButton_Click(Object sender, EventArgs e) in d:\Project\ohu\Website\Pages\ExaminationSetup\AlertUpdate.aspx.cs:line 516