Solved

'The file is damaged and could not be repaired' - PDF export under RAS 9

Posted on 2003-10-23
8
2,985 Views
Last Modified: 2008-02-20
Hi to all experts...
 I know that not too many people are using RAS 9, but I do remember that there was couple of people here in same boat as I am - namely, using RAS and CR 9.
 Well, problem is that I have IIS with RAS SDK on one machine and RAS (as service) on another. Everything works fine, except when I want to export (any) report. If I select PDF export, I'm getting this error:
'The file is damaged and could not be repaired'. If I export it to any other format, everything is ok.
 Problem is not happening when I did same thing from my development machine (where I have visual studio installed), nor when I call ePortfolio on RAS machine itself to see that same report.
 I'm suspecing dll hell problem, but so far, I was unable to find out what can be cause of that problem.
 I have:
   Exportmodeller.dll version 9.2.1.564
   CrtSlv.dll version 9.2.0.528
 Any other dll important to export?
 I did install latest RAS, Main program and Database/Export hotfix on both RAS and RAS SDK machine, as well as redistributable package... Machines are both WIn2K Servers.
 
 Any ideas? Similar experience? Problems in deployment?

Thanks in advance,
Lady Linet
0
Comment
Question by:ladylinet
  • 3
  • 2
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 9611819
No hits on the error message in the Crystal Knowledge Base.

Yes there are several other important dlls.

Something like U2PDF.dll

I don't have CR exporters loaded here.

mlmcc
0
 
LVL 22

Expert Comment

by:Ido Millet
ID: 9615008
Actually, in Version 9 it should be crxf_pdf.dll

The description, however, implies you have all the necessary dlls
but the resulting export is unuseable.  

Does the server have a printer installed for it?
The report rendering is dependent on that.
Try to install a printer if one is not installed
or try to change the default printer if one is already installed.

Cheers,
- Ido
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9618541
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 22

Expert Comment

by:Ido Millet
ID: 9619971
Thanks   :o)
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9621760
Ido:  You need to add a comment to the question to collect the points.

mlmcc
0
 
LVL 7

Accepted Solution

by:
ladylinet earned 0 total points
ID: 9659485
Ok, I found a cause:
 1) ReportRenderer.dll wasn't updated on one machine, even after all hotfixes that I has been appling month after month
 2) Include files - I had this setting:
 With Htmlviewer
    .IsOwnPage = true
    .IsOwnForm = true
 End With

 and my inlcude files had some html code with </html> on the end... IE does not complains about multiple </html> tags, and that footer is standard for the rest of the site...
 What happened is that adobe file appended that code after EOF mark, and that was a reason for error.
 Thanks everybody for trying to help, I'm so glad that it's working now :)

Lady Linet
 
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question