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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Invalid File ContentType (MimeType) - Bug? Urgent.Invalid File ContentType (MimeType) - Bug? Urgent.
Previous
 
Next
New Post
5/22/2008 7:05 PM
 

When I upload mp3 files to my DNN portal (04.07.00) initially they are entered into the DNN file database with a content type "audio/mpeg" which is correct. However some time later - I am guessing when DNN re-reads the directory to check that the files are still there - the content type of the file changes to application/octet-stream.

This causes a problem because I am adding these mp3 files to a podcast and the podcast module uses the content type from the files table meaning that I am sending out podcasts using the wrong content type.

Now not all of my mp3 files are being treated this way, although I think all of them in a particular directory are, so it might just be a case that the other directory hasn't been re-checked lately. My initial observation indicates that a couple of other file type were being handled incorrectly as well.

Can anyone offer any adice with regard to this? Is it a bug? Is it known? Is it something I'd doing wrong?

Cheers,

PS - apologies for the cross posting but this is quite urgent.


www.creative-dreaming.com
 
New Post
5/22/2008 9:56 PM
 

Check to make sure IIS MIME types have .mp3 are correctly defined.


Affordable DotNetNuke Hosting Affordable DNN Hosting & Support - www.ihostasp.net
Slavic Kozyuk
IHOST, LLC
Call toll-free: 1.800.593.0238
 
New Post
5/22/2008 10:02 PM
 

I have checked and mp3 is enabled - I am interested in how you think this could have any affect on what DNN does internally?


www.creative-dreaming.com
 
New Post
5/23/2008 1:12 AM
 

Because DNN has to go through the IIS server and thats where things are configured!

If Mime types are not set in IIS server they will not work in DNN.

Enjoy

Ray

 

 
New Post
5/24/2008 10:47 PM
 

I think this is highly unlikely - when DNN scans the contents of the portal directory to update its list of files in the database I would expect the code to be reading the files directly from the file system - I'm not even sure you can access files via IIS from within code that is running internal to DNN.

AFAIK IIS will *only* be involved with the initial file upload - which is the time it gets the MIME type correct!

If I am wrong on this please give me an example of some server side code that access a file via IIS.

Thanks,

InsiteFX wrote

Because DNN has to go through the IIS server and thats where things are configured!

If Mime types are not set in IIS server they will not work in DNN.

Ray


www.creative-dreaming.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Invalid File ContentType (MimeType) - Bug? Urgent.Invalid File ContentType (MimeType) - Bug? Urgent.


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