Home » Developer & Programmer » Forms » Problem opening pdf through Oracle Forms (Oracle Forms 10g, Win 2000/XP)
Problem opening pdf through Oracle Forms [message #428421] Wed, 28 October 2009 05:38 Go to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

Hi,

We have a problem while opening PDF through oracle forms, we are getting the folowing error in some PC's, but some PC's this is working fine.

'there was a problem reading this document 14'

any solution on this is greatfull for us
thanks in advance

Regards,
Suresh.V
Re: Problem opening pdf through Oracle Forms [message #428512 is a reply to message #428421] Wed, 28 October 2009 10:11 Go to previous messageGo to next message
dlwixon
Messages: 92
Registered: September 2008
Member

How are you viewing the pdf?

Where are the pdf's stored: in the file system or on the database?

Or are you creating a pdf by calling a report?

[Updated on: Wed, 28 October 2009 10:11]

Report message to a moderator

Re: Problem opening pdf through Oracle Forms [message #428533 is a reply to message #428512] Wed, 28 October 2009 12:28 Go to previous messageGo to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

We stored the PDF docs in the application server(file system), we are trying to open this using forms(web.show_document('link')), but we r getting mentioned error message.

in the when button pressed trigger we have the following code
WEB.SHOW_DOCUMENT('/forms/java/guide_basic.pdf', '_blank');
Re: Problem opening pdf through Oracle Forms [message #428547 is a reply to message #428533] Wed, 28 October 2009 14:27 Go to previous messageGo to next message
dlwixon
Messages: 92
Registered: September 2008
Member

I also use web.show_document().

If the user wants to view the document while in oracle forms, we send the report to cache. So the pdf is created at that time.

If the user wants to save the document to the filesystem, we send the report to file.

If we want to open a pdf that has been stored in the filesystem, we have a java application that opens the pdfs for viewing.

Sorry, I can't offer any more help here.

Re: Problem opening pdf through Oracle Forms [message #431350 is a reply to message #428547] Mon, 16 November 2009 23:59 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you tried opening the 'pdf' using 'rundll32'?

David
Re: Problem opening pdf through Oracle Forms [message #482431 is a reply to message #431350] Thu, 11 November 2010 08:30 Go to previous message
eng_amrelhanafy
Messages: 5
Registered: October 2010
Location: Egypt
Junior Member
I tried opening the pdf using rundll32 , using this code
declare
 x boolean;
begin
       x := webutil_file_transfer.as_to_client(file_name ,file_name);			
      client_host('cmd /c rundll32 url.dll,FileProtocolHandler C:\word\quick reference.pdf' );
end;


it opened once , then it gave me the same message 'there was a problem reading this document 14'

any solution ?
Previous Topic: error define in form to summarized a block
Next Topic: Display image through forms
Goto Forum:
  


Current Time: Thu Sep 19 18:29:08 CDT 2024