Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Invalid File ContentType (MimeType) - Bug? Urgent.
Previous Previous
 
Next Next
New Post 5/22/2008 5:05 PM
Unresolved
User is offline Dale Burrell
230 posts
www.creative-dreaming.com
9th Ranked


Invalid File ContentType (MimeType) - Bug? Urgent. 

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 7:56 PM
User is offline Slavic Kozyuk
126 posts
www.ihostasp.net
9th Ranked






Re: Invalid File ContentType (MimeType) - Bug? Urgent. 
Modified By Slavic Kozyuk  on 5/22/2008 9:57:17 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 8:02 PM
User is offline Dale Burrell
230 posts
www.creative-dreaming.com
9th Ranked


Re: Invalid File ContentType (MimeType) - Bug? Urgent. 

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/22/2008 11:12 PM
User is offline InsiteFX
59 posts
10th Ranked


Re: Invalid File ContentType (MimeType) - Bug? Urgent. 

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 8:47 PM
User is offline Dale Burrell
230 posts
www.creative-dreaming.com
9th Ranked


Re: Invalid File ContentType (MimeType) - Bug? Urgent. 

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 Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  Invalid File ContentType (MimeType) - Bug? Urgent.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP