Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Problem in opening pdf files View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 4/7/2010 1:33:17 AM
   
Problem in opening pdf files
Hi all,

I am facing problem in opening pdf files, I am creating job opening page.in that I use document type job and transformation preview for summary and for details default transformation , but on the detail page when I click on the download document link then it is not opening the pdf file it is opening a blank page, please help me to solve this how can I resolve this issue .

Thanks
Sansugoi

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/3/2010 7:02:43 AM
   
RE:Problem in opening pdf files
Hello.

Do you have this issue with some particular browser only, or is it common for all browsers? Do you have the latest pdf reader and appropriate plug-in in your browser? What transformation do you use? Could you copy it there? Could you also provide some link, where I can test this behavior? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
dion@lemonade.com.au - 9/22/2010 3:16:26 AM
   
RE:Problem in opening pdf files
Hi there,

We are having the same problem.

It is happening in Firefox on the PC only - latest version 3.6.10 and previous version.

Have PDF reader and plug in.

Ref: http://www.gmkpartners.com.au/our-people.aspx?p=2 (see the Download Bio link), but the same happens for all PDF links in the site.

The transformation being used is GetFileUrl("BioData").

Any help would be appreciated.

Cheers
Dion

User avatar
Member
Member
michael-thefamousgroup.com - 9/23/2010 1:32:48 AM
   
RE:Problem in opening pdf files
Hi

We too had this issue. It was only happening on Firefox on a PC and it appeared to be something to do with it substituting the .pdf extension to .aspx. The client managed to fix this on their side with a firefox or pdf setting. I'll see if they remember what they did.

Thanks
Michael

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/23/2010 2:03:04 AM
   
RE:Problem in opening pdf files
Hi,

I would like to suggest to apply hotfix on your CMS or upgrade to newer version. There were made some changes regarding this issue. Also, please make sure that you are using latest Adobe plugin in FireFox - there was bug too :-)

I am sorry for this inconvenience.

Best regards,
Juraj Ondrus

User avatar
Member
Member
michael-thefamousgroup.com - 9/23/2010 11:12:06 PM
   
RE:Problem in opening pdf files
Hi

We found this client-side action fixed the problem:

In Adobe Reader, go to Edit => Preferences => Internet then UNTICK the box for Display PDF in browser => OK

Thanks
Michael

User avatar
Member
Member
dion@lemonade.com.au - 9/24/2010 2:28:12 AM
   
RE:Problem in opening pdf files
Thanks for your help everyone. Seems like upgrading to latest version of Acrobat Reader did the trick.

Cheers
Dion

User avatar
Member
Member
andreycoman-yahoo - 3/22/2012 3:36:01 AM
   
RE:Problem in opening pdf files
Hello,
I have also the same problem in opening pdf files (the browser stop working when it start open and dowloading the file).
My site runs on Kentico 6 with hotfix 15 and the problem appears only on Internet Explorer browser, only with Adobe Reader X plugin and only hosted on Windows Azure. With Adobe reader 9 plugin the pdf file opens well on Azure , also on another hosting environment with Adobe Reader X it works well. I hope I make you an idea of my issue.
The files are uploaded with document attachments control and in my transformation I use this code line to show them on the page
<a target="_blank" href="<%# GetAbsoluteUrl(GetAttachmentUrl(Eval("AttachmentName"), Eval("NodeAliasPath")), EvalInteger("AttachmentSiteID")) %>">
<%# Eval("AttachmentTitle",true) %>


If you have an idea of how I can fix this I will be grateful. Maybe the team that develop for Azure environment knows the reason for this behavior.

Thanks,
Andrei



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/25/2012 5:29:07 AM
   
RE:Problem in opening pdf files
Hi,

It is strange and it seems to be environment related.

Have you tried to re-install the Adobe plugins as well as applying latest MS hotfixes to the IE browser? Which version of IE do you use?

Best regards,
Juraj Ondrus

User avatar
Member
Member
andreycoman-yahoo - 3/28/2012 1:49:51 AM
   
RE:Problem in opening pdf files
Hi,
I have tested on IE 9 and 8 on different environments (windows vista and seven with all the updates installed). If the website is hosted on Azure IE stop working when it try to open files with Adobe Reader X plugin. On other hosting environment works well.

In my opinion adobe reader has some problems only with the files from a virtual device.

Isn't there a temporary fix for IE like in the situation below?
http://devnet.kentico.com/Forums/f40/t11811/PDF-files-not-appearing-in-Firefox.aspx

Best regards,
Andrei

User avatar
Member
Member
andreycoman-yahoo - 3/28/2012 2:01:56 AM
   
RE:Problem in opening pdf files
Hi,
If you have a test kentico website hosted on Azure, can you please upload a pdf file and try to view it with IE?

Thanks,
Andrei

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/29/2012 2:20:24 AM
   
RE:Problem in opening pdf files
Hi,

Does it happen for every PDF file? It seems that there were some changes in the PDF format and also in the Adobe Reader X plugin. Could oyu please try adding this key into the web.config file:

<add key="CMSGetFileExcludedResumableExtensions" value=".pdf"/>

Best regards,
Juraj Ondrus

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/2/2012 8:56:25 AM
   
RE:Problem in opening pdf files
Hi,

Are you still having issues with the PDF files? I have found that there was also a bug in the Adobe plugin. Please, check this link out.

Best regards,
Juraj Ondrus