all groups > iis security > january 2008 >
You're in the

iis security

group:

404 error when dowloading DLL files from IIS 6.0?



Re: 404 error when dowloading DLL files from IIS 6.0? bruce barker
1/22/2008 3:15:50 PM
iis security: 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)

[quoted text, click to view]
404 error when dowloading DLL files from IIS 6.0? Usenet User
1/22/2008 10:23:04 PM
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

Re: 404 error when dowloading DLL files from IIS 6.0? Usenet User
1/23/2008 1:04:21 AM
Thanks, that was it :)) Changed from "Scripts and Executables" to
"Scripts only".


On Tue, 22 Jan 2008 15:15:50 -0800, bruce barker <nospam@nospam.com>
[quoted text, click to view]
AddThis Social Bookmark Button