Solved

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

Posted on 2003-10-23
8
2,982 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now