Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • RolandWolters 32 posts 32 karma points
    Jan 27, 2009 @ 08:19
    RolandWolters
    0

    Not serving media file

    I have this strange issue....

    When i add an an image to the media store, i can use it on some content page with no problem.

    Today I needed to share a file, it's a Mapsource database. So I added it as media-file and put a link on the cont page.

    Straight forward, right?

    Well I cannot acces it in the browser. I keep getting a 404: file not found.

    If i look in de IIS logs, I see this:

    2009-01-27 07:09:44 W3SVC5 192.168.1.201 GET /media/3005/mfweekend2009.gdb - 80 - 212.178.96.242 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+GTB5;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+.NET+CLR+1.0.3705;+InfoPath.2) http://www.habbiebabbie.net/auto--motor/mf/mf-weekend/2009/routes.aspx www.habbiebabbie.net 404 3 50

    I am sure that the file is there. Why can I not access it? Why does it work ok for an image file?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jan 27, 2009 @ 08:25
    Peter Dijksterhuis
    0

    Hi,

    this is standard IIS behaviour. IIS does not know the extension gdb, thus it blocks the file. jpg, gif etc are standard extensiion that IIS knows, thus it allows those to be served.
    A bit weird, but for unknown extension, IIS throws a 404 error.
    Add the extension to the mime-types that are set up in ISS, that will solve the problem.

    HTH,
    PeterD

  • RolandWolters 32 posts 32 karma points
    Jan 27, 2009 @ 14:27
    RolandWolters
    0

    Thanx Peter, that did the trick indeed. That is, i did not add the .gdb extension to the list, but compressed it to a .rar file, because that WAS in the mime list.

    Thnx for the help!

Please Sign in or register to post replies

Write your reply to:

Draft