Skip to main content
Participant
October 9, 2008
Question

executeable can't be found on new server

  • October 9, 2008
  • 1 reply
  • 649 views
The Region's CF server was replaced recently. I have some applications (.exe) files that when linked, download and execute. The new server gives "Page cannot be found" error. The admin says it's my path, but I take the same path and execute an ASP page in the same folder so the path is fine. I keep saying it's in the settings of the server so the admin tells me to find the problem. I could SURE USE SOME HELP!!
    This topic has been closed for replies.

    1 reply

    October 9, 2008
    Might want to check your MIME types to make sure the web server understands how to deal with those files.
    Participant
    October 9, 2008
    ke4, thanks. I've done some looking and found a scriplet:
    <cfscript>
    // get a file with path
    myFile = "/Reports/Movies/A80-R-08-E-003.exe";
    // find the mime type (string)
    myMime = getPageContext().getServletContext().getMimeType(myFile);
    </cfscript>

    and plugged in a file in the folder that "should" be from the root of the web site. If this is executed the myMime should come back "undefined" shouldn't it if the type .exe is undefined?? and I'm not a Cold Fusion programmer (working mainly in ASP lately), how do I execute this in an ASP page?
    Participant
    October 9, 2008
    we've check the old server and the only registered MIME type was .doc files, YET, my .exe files worked on that server, so I'm BACK at SQUARE ONE. sorry.