crystal report export function

  • Thread starter Thread starter Guest
  • Start date Start date
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,
 
Jasmine,
Were you able to solve this problem. I'm experiencing something very
similar. On my Development server everything is fine, but on my Test server
the export function doesn't produce the file. I checked the permissions and
I opened up the permissions to everyone, system etc. Like your situtation
this was working a week ago.

If anyone has any ideas please let me know.
Thanks
Sean
 
Back
Top