To resolve this, remove all temporary files in C:/Windows/Temp.
Error:
2019-05-05 00:09:32,333 ERROR MonitoringLogger- PrintReport:- PrintWebReport() System.IO.IOException: The file exists.
at System.IO.__Error.WinIOError( Int32 errorCode, String maybeFullPath)
at System.IO.Path. InternalGetTempFileName( Boolean checkHost)
at CrystalDecisions.ReportSource. EromReportSourceBase. ExportToStream( ExportRequestContext reqContext)
at CrystalDecisions. CrystalReports.Engine. FormatEngine.ExportToStream( ExportRequestContext reqContext)
at CrystalDecisions. CrystalReports.Engine. ReportDocument.ExportToStream( ExportOptions options)
at CrystalDecisions. CrystalReports.Engine. ReportDocument. ExportToHttpResponse( ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName)
at CrystalDecisions. CrystalReports.Engine. ReportDocument. ExportToHttpResponse( ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName)
at SFAWebAdmin.WebPages. PrintReport.PrintWebReport( ReportDocument Report)
Good Solution thank you so mmuch
ReplyDelete