?
Solved

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

Posted on 2003-10-23
8
Medium Priority
?
2,988 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 101

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 101

Expert Comment

by:mlmcc
ID: 9618541
0
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

 
LVL 23

Expert Comment

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

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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. …
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

800 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