G
Guest
Hi, I try to generate a "pdf" file in my local direction using following code
" ExportOptions expOptions = new ExportOptions();
expOptions = crReportDocument.ExportOptions;
expOptions.ExportDestinationType = ExportDestinationType.DiskFile;
expOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
DiskFileDestinationOptions diskOptions = new DiskFileDestinationOptions();
diskOptions.DiskFileName = dir + "\\" + filename;
expOptions.DestinationOptions = diskOptions;
crReportDocument.Export(); "
It worked fine before, but suddenly, there is no file generated after
calling crReportDocument.Export(); The piece of code works fine on my other
PC, could anyone tell me how could I fix it. browser? or any other configure
issue?
Thanks,
" ExportOptions expOptions = new ExportOptions();
expOptions = crReportDocument.ExportOptions;
expOptions.ExportDestinationType = ExportDestinationType.DiskFile;
expOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
DiskFileDestinationOptions diskOptions = new DiskFileDestinationOptions();
diskOptions.DiskFileName = dir + "\\" + filename;
expOptions.DestinationOptions = diskOptions;
crReportDocument.Export(); "
It worked fine before, but suddenly, there is no file generated after
calling crReportDocument.Export(); The piece of code works fine on my other
PC, could anyone tell me how could I fix it. browser? or any other configure
issue?
Thanks,