Solved

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

Posted on 2003-10-23
8
2,986 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 23

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 23

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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