Solved

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

Posted on 2003-10-23
8
2,983 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

23 Experts available now in Live!

Get 1:1 Help Now