private void exportToTxt_Execute(object sender, ParametrizedActionExecuteEventArgs e) { //diagnostic info for: //ReportV2Demo_Web_ContacttWithSubMappedToViewData (Elapsed:00:00:31.1559236) Application:ReportV2Demo_Web MachineName:VICTIMTARGET IP:172.22.2.17 //Caught the 'System.IO.FileNotFoundException' exception. Exeption text: 'Could not find file 'c:\Projects\13.2\Xaf_FT_Demos_ReportsV2\Scripts\ContactReportWithSubreportMappedToViewDataSource.txt'.', stack trace: ' 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) // at DevExpress.EasyTest.Framework.Commands.CompareFilesCommand.FileCompare(String file1, String file2) DevExpress.Persistent.Base.Tracing.Tracer.LogText("Saving report '" + shownReport.ToString() + "' to file '" + (string)e.ParameterCurrentValue + "'"); DevExpress.Persistent.Base.Tracing.Tracer.LogText("Environment.CurrentDirectory: '" + Environment.CurrentDirectory); shownReport.ExportToText((string)e.ParameterCurrentValue); }