Groups | Blog | Home
all groups > iis security > june 2006 >

iis security : problem downloading exe file on server 2003 iis with sp1


techy
6/8/2006 1:03:44 PM
i am having problems setting up a page to allow the download or run of

an EXE to do an installation routine with IIS 6.0 on windows 2003
server
msi runs fine

Internet Explorer cannot download esinst.exe from myserver


Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
again later.

there is no sub error with 404


i have tried web extensions but no use its so slow and never completes



Thanks.
Bernard Cheah [MVP]
6/9/2006 12:00:00 AM
What about the win32 status code? is the reference path correct?
You don't need the web service extension if you just want to provide
download for the exe file.

Read more -
http://blogs.msdn.com/david.wang/archive/2005/10/17/HOWTO_Allow_file_downloads_including_exe_on_IIS_6_Part_2.aspx

double check the substatus code again.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

techy
6/9/2006 7:09:14 AM
its only 404 simply saying file or folder not found or removed but its
working fine with msi files

but not working with exe files

regards


[quoted text, click to view]
techy
6/9/2006 7:47:59 AM
yes


i did add mime extension

already



[quoted text, click to view]
Daniel Crichton
6/9/2006 3:28:04 PM
Did you add a MIME extension for .exe? If not, IIS6 won't allow it to be
downloaded.

Dan

techy wrote on 9 Jun 2006 07:09:14 -0700:

[quoted text, click to view]


David Wang [Msft]
6/17/2006 12:54:30 AM
The directory containing the EXE should be configured:
1. Does NOT have "Scripts and Executables" permission
2. Should NOT have Web Service Extension (you want it to download and run on
client, not run on server)
3. Should have "Read" permission
4. Should have ".exe" MIME Type

All four configuration values exist by default, so EXE should download by
default.

http://blogs.msdn.com/david.wang/archive/2005/07/11/Allow_file_downloads_on_IIS_6.aspx

If EXE is not downloading for you, then you need to start by showing the
HTTP status and substatus for that failing request.

Yes, the substatus does exist and is logged by default. If your server is
not logging it, then please fix it to log it or else we cannot help you
further.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

[quoted text, click to view]


AddThis Social Bookmark Button