ASP.net Hyperlink to open a window apps file RRS feed

  • Question

  • User-775831949 posted

    I have a .app data file which is a Windows Desktop app file.
    I can now double click this file in file explorer and that app would start and load this .app file.

    Now, I want to copy this file to the asp.net application folder.
    What I only need is to have a aspx page with hyperlink.
    I wish on click of this hyperlink, it will start my Desktop app and open the .app data file sitting on the IIS.

    Now, it keep saying 404.3 file not found.
    But if I do the same with .xlsx file the Excel would open up....

    What should I do to achieve this ? Thanks.

    Thursday, June 7, 2018 7:03 AM


  • User-369506445 posted


    it's the way your server serves that mime-type. Might have to configure it differently or serve the download using a php/asp.net page or Excel file and edit the headers.

    you can find your mime-type in below link


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 7, 2018 7:13 AM