These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

FDF Toolkit not working

shahkb1
Registered: Nov 30 2005
Posts: 9

Hello. I have been using the FDF Toolkit with ASP and had no problems for years.

My company just rolled out the Adobe Acrobat Reader 9.0 and I personally updated it to 9.1.

The ASP file that selected fields from the database and inserted them into the PDF file (with FDF) does not fill in the fields. It opens up the PDF file, but its blank.

I have used Adobe Acrobat to design the forms. Here is the FDF:

%FDF-1.2
%âãÏÓ
1 0 obj
<<
/FDF << /F (http://tsdwww/tsdhome/quality/oota/alertform.pdf)/Fields 2 0 R >>
>>
endobj
2 0 obj
[
<< /T (date_entered)/V (3/11/2009 2:17:32 PM)>> << /T (user_grp_sup)/V (Alvarez,E. B.)>>
<< /T (instrument)/V (REFERENCE JUNCTION)>> << /T (prop_no)/V (148011)>>
<< /T (mfgr)/V (OMEGA ENGINEERING INC)>> << /T (oot_prev)/V (3/17/2008)>>
<< /T (oot_last)/V (3/2/2009)>> << /T (model)/V (MCJ)>> << /T (user_grp)/V (TEA4)>>
<< /T (ic_name)/V (Marshall,Albert W.)>> << /T (owner_grp)/V (TEO)>>
<< /T (comments)/V (I/C: Wayne Marshall\r\nGroup: TEA4\r\n)>> << /T (prepared_by)/V (Mays,Jason A.)>>
<< /T (preparer_ext)/V (88366)>> << /T (owner_grp_sup)/V ( )>> << /T (todays_date)/V (3/13/2009)>>

]
endobj
trailer
<<
/Root 1 0 R

>>
%%EOF

Any help would be nice. Thank you.

-Kal
kalpesh [dot] shah [at] jhuapl [dot] edu

My Product Information:
Reader 9.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Did you try using the /UF key for the file URL?

Does the same FDF file work in a local context?
If you import the FDF file directly into the PDF (already open in Reader), on your local system using Reader 9.1, what happens? What happens when you try to open the FDF from a local folder, when the PDF file is not already open in Reader?

Does the FDF file work when Acrobat 9.1 is used instead of Reader?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

shahkb1
Registered: Nov 30 2005
Posts: 9
Ok. I copied the PDF file to my desktop and opened it with Acrobat Pro 8.1. I then imported the FDF file and it filled in the fields.

I have been messing with this for two days, so I uninstalled the Acrobat Reader 9.1 yesterday. I reinstalled it just now and tried to run the ASP script which opened up Adobe Reader 9.1 and gave me a security warning. I kept "Allowing", but nothing happened.

I minimized my Acrobat Reader 9.1 and saw this error message dialog box:
"Could not contact the AgentService service. Open the Services node in Microsfot Management Console and restart this service. You should restart the service even if it is already running."

I do not manage the servers, but does this mean that they want to restart the FDF Toolkit, server, or both??

I do not have Acrobat Pro 9.0, so could not test locally.

Thanks!

-Kal
shahkb1
Registered: Nov 30 2005
Posts: 9
just wanted to say that when I run the ASP script within Firefox or IE 7, it does not fill in the PDF file.

I only had luck when I did it locally with the PDF file and the FDF file.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This error message doesn't have anything to do with FDF Toolkit. FDF Toolkit runs on the server and doesn't have any direct contact with the local Reader 9. This seems to be an Acrobat vs the Internet issue.

A search on google for "AgentService" does not turn up anything particularly positive or enlightening. Apparently this is a name that is well used for lots of different applications. All unrelated to Acrobat. And it's also implied that AgentService could be a malicious app.

You should get someone else to test your ASP script from Reader 9.1

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script