Home All Groups Group Topic Archive Search About

Create pdf file through https problem

Author
9 Dec 2005 1:24 PM
agusayala
Hi folks.

I have an application that generates and opens pdf files generated by crystal reports. In my machine works fine (I'm not working with https here), but when I put this application in the production server (here I use https) with the physicalpath of the server and when I try to create the file I have the following problems:

When I try to open the file using javascript, it only opens a empty window then I click on the refresh button of this window and the file finally opens.

When I try to create the pdf file it appears me this message: There was an error opening this document. The file is already open or in use by another process.



Any ideas how to work it out?



Cheers,

Agus -- agusayala Message posted via  http://www.exforsys.com for all your training needs.

Author
9 Dec 2005 5:25 PM
Joerg Jooss
agusayala wrote:

Show quote
>
> Hi folks.
>
> I have an application that generates and opens pdf files generated by
> crystal reports. In my machine works fine (I'm not working with https
> here), but when I put this application in the production server (here
> I use https) with the physicalpath of the server and when I try to
> create the file I have the following problems:
>
> When I try to open the file using javascript, it only opens a empty
> window then I click on the refresh button of this window and the file
> finally opens.
>
> When I try to create the pdf file it appears me this message: There
> was an error opening this document. The file is already open or in
> use by another process.
>
>
>
> Any ideas how to work it out?

Depending on what version of Acrobat Reader you use, you have to make
sure that certain HTTP headers are set, for example Content-Length.

Cheers,
--
http://www.joergjooss.de
mailto:news-re***@joergjooss.de

AddThis Social Bookmark Button