Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryError opening .PDF file after downloaded from RepositoryError opening .PDF file after downloaded from Repository
Previous
 
Next
New Post
10/30/2006 8:36 PM
 

Hi everyone,

I'm having an issue with the Repository serving .PDF files...

I can upload the file successfully, but when a user attempts to download, and then open the file, a message comes to screen saying that the file is corrupted and cannot be repaired.

If I attempt to access the file via Windows Explorer from the Repository directory using a file share, the document opens, so I know it is not corrupted on the server.

I have checked my Host settings, and the PDF file type is permitted.  I have a sneaking suspicion it might be a problem with MIME types, but am not sure how to fix it.

If anyone else has encountered similar problems, please let me know.

I am running DNN 4.3.5 on Windows 2003, and Repository version 3.01.10

Thanks,

Steve

 
New Post
10/30/2006 9:41 PM
 

the Repository module uses the Dnn Core functions to download files and it appears that it's a known issue

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/18/threadid/50097/scope/posts/Default.aspx

 
New Post
10/30/2006 11:45 PM
 

Hi Steve,

Thanks for the reply.  I've read the thread you mentioned, and believe I have a different error...

Firstly, it is not just opening the file in IE that is causing me a problem.  Even if the user SAVES the file before they open it, the error occurs.

Also, the error is NOT limited to IE.... I have also verified the fault in Firefox.

This is why I think it is a problem with the MIME handling... If I get the file directly from the Repository directory in the file system, all is good, however downloading the file through DNN fails every time...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryError opening .PDF file after downloaded from RepositoryError opening .PDF file after downloaded from Repository


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out