404 error when dowloading DLL files from IIS 6.0?

Discussion in 'ASP .Net' started by Usenet User, Jan 22, 2008.

  1. Usenet User

    Usenet User Guest

    Windows 2003 Server Standard SP1
    IIS 6.0
    ASP.NET 1.1

    My ASP.NET page uses a client-side .NET control. The control is
    implemented as a .NET assembly which is located in the virtual
    directory root. This worked on IIS 5.0/Win 2000 server, bit IIS 6.0
    refuses to serve the DLL file to the client (404 file not found
    error).

    I saw multiple posts that say that IIS 6.0 does not allow downloading
    files of unknown MIME types. I followed the steps outlined here:

    http://support.microsoft.com/kb/326965

    , but, to my surprise, the ".dll" extension was already set up (as
    "application/x-msdownload".

    I also added ".*" as "application/octet-stream", but, still, it did
    not help.

    Here is the entry from IIS log file:

    2008-01-22 18:54:37 W3SVC1 172.19.12.33 GET
    /oms/Helper.Win.Controls.dll - 80 - 173.29.123.19
    Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+InfoPath.1;+.NET+CLR+1.1.4322)
    404 2 1260

    Any ideas?
     
    Usenet User, Jan 22, 2008
    #1
    1. Advertising

  2. Usenet User

    bruce barker Guest

    the dll is probably in a iis site that has scripts and executables
    enabled, so trying to run it.

    btw: this is a dead technology, and you should not be using it, you
    should be using silverlight instead.

    -- bruce (sqlwork.com)

    Usenet User wrote:
    > Windows 2003 Server Standard SP1
    > IIS 6.0
    > ASP.NET 1.1
    >
    > My ASP.NET page uses a client-side .NET control. The control is
    > implemented as a .NET assembly which is located in the virtual
    > directory root. This worked on IIS 5.0/Win 2000 server, bit IIS 6.0
    > refuses to serve the DLL file to the client (404 file not found
    > error).
    >
    > I saw multiple posts that say that IIS 6.0 does not allow downloading
    > files of unknown MIME types. I followed the steps outlined here:
    >
    > http://support.microsoft.com/kb/326965
    >
    > , but, to my surprise, the ".dll" extension was already set up (as
    > "application/x-msdownload".
    >
    > I also added ".*" as "application/octet-stream", but, still, it did
    > not help.
    >
    > Here is the entry from IIS log file:
    >
    > 2008-01-22 18:54:37 W3SVC1 172.19.12.33 GET
    > /oms/Helper.Win.Controls.dll - 80 - 173.29.123.19
    > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+InfoPath.1;+.NET+CLR+1.1.4322)
    > 404 2 1260
    >
    > Any ideas?
     
    bruce barker, Jan 22, 2008
    #2
    1. Advertising

  3. Usenet User

    Usenet User Guest

    Thanks, that was it :)) Changed from "Scripts and Executables" to
    "Scripts only".


    On Tue, 22 Jan 2008 15:15:50 -0800, bruce barker <>
    wrote:

    >the dll is probably in a iis site that has scripts and executables
    >enabled, so trying to run it.
    >
    >btw: this is a dead technology, and you should not be using it, you
    >should be using silverlight instead.
    >
    >-- bruce (sqlwork.com)
    >
    >Usenet User wrote:
    >> Windows 2003 Server Standard SP1
    >> IIS 6.0
    >> ASP.NET 1.1
    >>
    >> My ASP.NET page uses a client-side .NET control. The control is
    >> implemented as a .NET assembly which is located in the virtual
    >> directory root. This worked on IIS 5.0/Win 2000 server, bit IIS 6.0
    >> refuses to serve the DLL file to the client (404 file not found
    >> error).
    >>
    >> I saw multiple posts that say that IIS 6.0 does not allow downloading
    >> files of unknown MIME types. I followed the steps outlined here:
    >>
    >> http://support.microsoft.com/kb/326965
    >>
    >> , but, to my surprise, the ".dll" extension was already set up (as
    >> "application/x-msdownload".
    >>
    >> I also added ".*" as "application/octet-stream", but, still, it did
    >> not help.
    >>
    >> Here is the entry from IIS log file:
    >>
    >> 2008-01-22 18:54:37 W3SVC1 172.19.12.33 GET
    >> /oms/Helper.Win.Controls.dll - 80 - 173.29.123.19
    >> Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+InfoPath.1;+.NET+CLR+1.1.4322)
    >> 404 2 1260
    >>
    >> Any ideas?
     
    Usenet User, Jan 23, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonathan Folland
    Replies:
    2
    Views:
    1,630
    Jonathan Folland
    Mar 17, 2005
  2. dowloading to excel

    , Dec 11, 2007, in forum: Java
    Replies:
    1
    Views:
    281
    Andrew Thompson
    Dec 11, 2007
  3. Sten Larsson

    Dowloading

    Sten Larsson, Oct 27, 2004, in forum: ASP General
    Replies:
    1
    Views:
    178
    Stuart Palmer
    Oct 27, 2004
  4. Brandon
    Replies:
    2
    Views:
    177
    Jevon
    Jan 18, 2006
  5. Andrew Walrond

    HTTP dowloading help

    Andrew Walrond, Sep 22, 2003, in forum: Ruby
    Replies:
    0
    Views:
    95
    Andrew Walrond
    Sep 22, 2003
Loading...

Share This Page