Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) Developers

Topic: File is damaged and could not be repaired' error, 1 Attachments
Conf: (P-PDF) Developers, Msg: 71586
From: axc2eis
Date: 8/31/2002 01:29 AM

Hi all,

I've been reading all the posts about this error but none of the workarounds seem to work. Here's the scope on this project:
1) The web pages are run by a Java Framework and jsp pages
2) The FDF is generated by a SQL stored procedure that uses data from the database to create combobox items and fill in default data.
3) A temporary file is created on the server named by the loged on employee number .fdf
4) The browser is forwarded to the temp file by using the setNextPage() command built into the java class Page which does a response.redirect

The PDFs were not emailed but copied onto a shared drive and were then uploaded in BINARY mode.

In both IE and Netscape on my computer, some of them work but on another computer doing the exact same thing, none of them work. The error always being :'File is damaged and could not be repaired'.
I understand that this could be client settings but have checked that they are the same. I also tried (as suggested in another thread) adding:
but this didn't work either.

Below is a sample FDF that was generated by a SQL stored procedure.

1 0 obj
/FDF << /Fields [
<> <> <><><><><><><>)>><><>]
/F (http://localhost:8080/rtis/pdf/extsummary.pdf) >>
/Root 1 0 R


The other thing is that is all works fine though websphere on my harddrive and the problems only arrive on the server. Also, on the server the MIME type for the FDF and PDF extensions are set.

Any suggestions or ideas to try would be VERY greatly appreciated as I'm all out of them and this project is to be in production next week!

Thank you very much in advance,

PS The posted FDF won't appear the way it actually is so I've attached it as well.

Click to open!0.fdf
Sample FDF (3,024 bytes)

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.