imrancs
asked on
Export generates a PDF file of 0 KB
Hi Experts,
I am using Crystal Reports 9 (8.5 upgraded to 9) on Windows 2003 machine.
I am using the following code to export a report to PDF:
....
session("ExportOptions").D iskFileNam e = session("ExportFileName")
session("ExportOptions").F ormatType = cint(ExportType)
session("ExportOptions").P DFExportAl lPages = TRUE
session("ExportOptions").D estination Type = 1
On Error Resume Next
Session("oRpt").Export False
...
When the above code executes, a PDF file is generated wiht size of 0 KB. Same code is working fine on Windows 2000 Server.
Kindly advice how to get ride of this 0 KB file size problem ? This is urgent.
Regards,
Imran
I am using Crystal Reports 9 (8.5 upgraded to 9) on Windows 2003 machine.
I am using the following code to export a report to PDF:
....
session("ExportOptions").D
session("ExportOptions").F
session("ExportOptions").P
session("ExportOptions").D
On Error Resume Next
Session("oRpt").Export False
...
When the above code executes, a PDF file is generated wiht size of 0 KB. Same code is working fine on Windows 2000 Server.
Kindly advice how to get ride of this 0 KB file size problem ? This is urgent.
Regards,
Imran
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your suggestion. Although, I got my problem solved some other way i.e. running the IIS 6 in IIS 5 isolation mode, but your suggestion give me a way to debug dll permissions issues.
Thanks,
Imran