Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > 404 error when dowloading DLL files from IIS 6.0?

Reply
Thread Tools

404 error when dowloading DLL files from IIS 6.0?

 
 
Usenet User
Guest
Posts: n/a
 
      01-22-2008
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;+InfoPat h.1;+.NET+CLR+1.1.4322)
404 2 1260

Any ideas?
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      01-22-2008
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;+InfoPat h.1;+.NET+CLR+1.1.4322)
> 404 2 1260
>
> Any ideas?

 
Reply With Quote
 
 
 
 
Usenet User
Guest
Posts: n/a
 
      01-23-2008
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;+InfoPat h.1;+.NET+CLR+1.1.4322)
>> 404 2 1260
>>
>> Any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dowloading to excel sarinthms@gmail.com Java 1 12-11-2007 11:24 AM
Accessing/Dowloading certain filetypes... Brandon ASP General 2 01-18-2006 04:57 PM
Intercept IIS 404 errors? Issue with Viewstate and 404 Jonathan Folland ASP .Net 2 03-17-2005 02:32 AM
Dowloading Sten Larsson ASP General 1 10-27-2004 06:11 AM
Dowloading email problem Samuel Decalo Computer Support 6 11-18-2003 03:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57