I am getting a run time error while attempting to export crystal report to PDF by two methods:
1>A parameterized report was run from an ASP (Active Server Pages) application and successfully displayed in one of the Crystal web viewers using the ASP Report Server. However, while attempting to export the report to PDF, by clicking on the export button on the toolbar, the following error message was displayed:
"CRAXDRT Error occurred on Server -2147190908: Failed to export the report."
2>Using Crystal Reports 8.5 I have a created a report with Sql Server 7.0 as the data source and ASP as the application.
After I completed the report development, I wanted to export the same to PDF.
When I initiated the export from Crystal Reports, I received error "Failed to export the report."
The export to RTF and other formats is working fine. Only in PDF we are facing the problem. We have even tried reinstalling Acrobat writer and Crystal reports software.
Both Database and application are hosted in the same server.
OS is Win2k with IIS5 and SP3.
Tried unregistering and registring exportmodeller.dll and crfx_pdf.dll too but with no success.
Mention below is the part of the code which is used for generating and exporting pdf.
strDiskFileName = strPDFDirectory & familyCode & vntArrreports(intRepCount, 2) & ".pdf"
ExportFileName = strDiskFileName
Path = Request.ServerVariables("PATH_TRANSLATED"
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
ExportDirectory = Path & "pdf\" & cstr(session("user_cd") & "\"
ExportType = "31"
CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName
CrystalExportOptions.FormatType = CInt(ExportType)
CrystalExportOptions.DestinationType = CInt(1)
Session("oRpt".Export False
Note: Same application is running properly in a test server.
want to know what could be the problem. Is it a DLL issue or some other problem.
1>A parameterized report was run from an ASP (Active Server Pages) application and successfully displayed in one of the Crystal web viewers using the ASP Report Server. However, while attempting to export the report to PDF, by clicking on the export button on the toolbar, the following error message was displayed:
"CRAXDRT Error occurred on Server -2147190908: Failed to export the report."
2>Using Crystal Reports 8.5 I have a created a report with Sql Server 7.0 as the data source and ASP as the application.
After I completed the report development, I wanted to export the same to PDF.
When I initiated the export from Crystal Reports, I received error "Failed to export the report."
The export to RTF and other formats is working fine. Only in PDF we are facing the problem. We have even tried reinstalling Acrobat writer and Crystal reports software.
Both Database and application are hosted in the same server.
OS is Win2k with IIS5 and SP3.
Tried unregistering and registring exportmodeller.dll and crfx_pdf.dll too but with no success.
Mention below is the part of the code which is used for generating and exporting pdf.
strDiskFileName = strPDFDirectory & familyCode & vntArrreports(intRepCount, 2) & ".pdf"
ExportFileName = strDiskFileName
Path = Request.ServerVariables("PATH_TRANSLATED"
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
ExportDirectory = Path & "pdf\" & cstr(session("user_cd") & "\"
ExportType = "31"
CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName
CrystalExportOptions.FormatType = CInt(ExportType)
CrystalExportOptions.DestinationType = CInt(1)
Session("oRpt".Export False
Note: Same application is running properly in a test server.
want to know what could be the problem. Is it a DLL issue or some other problem.