> Forums > Active Forums > Themes and Templates > download file with unknown extention
Last Post 29 Jan 2010 06:44 PM by Paul. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Paul
Customers
Paul
Post Count:33

--
29 Jan 2010 06:35 PM
    Hello i want to download a file with a .TOS extention and i don't want to have .TXT files to open in my browser, but instant download (with leftclick, not rightclick save as)

    as they are attachments i like to download them to my pc and not open them in my browser.

    currently i get a big (IIS 403.3) error if i leftclick a tos file since there is no MIME type.
    i cant change that since it is a hosted environment. On the same hosted environment i have another type of forum that has no problems with serving teh download.

    I get a lot of complaints about the error and not bieng able to download the file.

    sample forum that does download properly on leftclick:
    http://www.realmsofgondor.com/index...204#msg204

    same (.tos) file on the AF
    http://www.it-pro.nl/Forums/ActiveF...fault.aspx


    the exact error that occurs when left click on a (.TOS or unknown) filetype
    HTTP Error 404.3 - Not Found
    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    possible problem
    •It is possible that a handler mapping is missing. By default, the static file handler processes all content.

    a possible solution:
    •In system.webServer/handlers:
    ◦Ensure that the expected handler for the current page is mapped.
    ◦Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
    ◦Pay extra attention to typographical errors in the expected handler line.

    so my guess is that it can be fixed somehow with code. (that other forum works...)

    Thanks,
    Paul
    Paul Fijma
    Digital Funwork
    Amsterdam
    Paul
    Customers
    Paul
    Post Count:33

    --
    29 Jan 2010 06:44 PM
    i just checked the same functionality in the standard DNN forum, it also just downloads on leftclick...
    Paul Fijma
    Digital Funwork
    Amsterdam
    You are not authorized to post a reply.
    > Forums > Active Forums > Themes and Templates > download file with unknown extention
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy