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



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.
//

"techy" <ashish.techy@xxxxxxxxx> wrote in message
news:1149864479.034832.212760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
yes


i did add mime extension

already



Daniel Crichton wrote:
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:

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

Bernard Cheah [MVP] wrote:
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/

"techy" <ashish.techy@xxxxxxxxx> wrote in message
news:1149797024.532572.166870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.





.



Relevant Pages

  • Re: IIS 6.0 CGI
    ... EXE) from the /Scripts virtual directory. ... Configure /Scripts vdir pointing to C:\Scripts with Execute Permissions ... Enable the Web Service Extension ... IIS6 does not allow scripts to execute on the server ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 CGI
    ... are you referring to CGI EXE or CGI scripts. ... Configure /Scripts vdir pointing to C:\Scripts with Execute ... Enable the Web Service Extension ...
    (microsoft.public.inetserver.iis)
  • Re: Help! Cant download exe file, need permission
    ... What browser are you using to download - name and version? ... re. right clicking on exe - This is irrelevant to your problem, which the other poster seems to have misunderstand. ... Windows Defender error msg that I need permission to copy to any file ...
    (microsoft.public.windows.vista.security)
  • Re: IIS / Web site problem
    ... Yeah it is saying 404 file or directory not found, ... will try adding that .exe as a new web service extension ... >> Regards, ...
    (microsoft.public.inetserver.iis)
  • Re: IIS / Web site problem
    ... Excellent, everything seems to be working, appericate the ... etc. and then the .exe runs and sends an email ... >> Regards, ...
    (microsoft.public.inetserver.iis)