Re: HTTP Download of EXE

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 03/24/04


Date: Wed, 24 Mar 2004 01:42:08 -0800

Well, that's what you configured the server to do...

Given a request, IIS has to determine whether to serve the file (i.e.
"static" request) or execute something on the server to generate the
response (i.e. "dynamic" request).

Execute Permissions of "None" means everything is treated as a static file
and downloadable. If "Scripts" is enabled, then extensions corresponding to
"App Mappings" are processed by the associated Script Engine and response
dynamically generated. Executable files like COM, EXE, DLL, etc are still
downloaded (unless you set a App Mapping to the extension). Finally,
"Scripts and Executables" means that "App Mappings" are processed by the
Script Engine on the server AND COM, EXE, DLL, etc are executed on the
server to generate content.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Per Herkel" <Per.Herkel@SystemTechnologies.se> wrote in message
news:eI281xLEEHA.2408@TK2MSFTNGP10.phx.gbl...
I solved it at last!
It was "Execute permissions" that was set to "Scripts and Executables". I
guess that the server tried to run the files instead of sending them.
"Per Herkel" <Per.Herkel@SystemTechnologies.se> skrev i meddelandet
news:uw628HLEEHA.1272@TK2MSFTNGP11.phx.gbl...
> Sorry for my late reply.
> We do not have compression enabled on thr server.
>
> Regards
>
>  Per.Herkel@SystemTechnologies.se
>
> "David Wang [Msft]" <someone@online.microsoft.com> skrev i meddelandet
> news:e$xClYNDEHA.3348@TK2MSFTNGP11.phx.gbl...
> > See my reply to this thread 5 hours ago to your post.
> >
> > I do not think this is an issue with IIS; I think the problem is either
> with
> > the browser client or your configuration.  IIS will send the data as
> > requested -- the problem is what the client chooses to do with the data.
> >
> > If you do not agree, please give a Netmon sniff of the request which
does
> > not generate the Save dialog.  Netmon is a component included with
Windows
> > Server 2003.  You must make sure the Netmon sniff is between two
distinct
> > machines (i.e. localhost Netmon sniff does not work).
> >
> > --
> > //David
> > IIS
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > //
> > "Per Herkel" <Per.Herkel@SystemTechnologies.se> wrote in message
> > news:uIQcbZMDEHA.3748@TK2MSFTNGP11.phx.gbl...
> > I've got almost the same proble, but I don't even get the Save dialog.
> > Running IIS 6.0
> > Any suggestions?
> >
> > Regards
> >
> > Per.Herkel@SystemTechnologies.se
> >
> >
> > "Scott Norberg" <snorberg@ecis.com> skrev i meddelandet
> > news:uDxQ441CEHA.684@tk2msftngp13.phx.gbl...
> > > I am using an anchor to try to download a setup.exe file, similar to
the
> > > following
> > >
> > >    <p>Download test</p>
> > >
> > > I get the typical File download dialog with the standard Open, save,
> > cancel
> > > and more info selections.
> > >
> > > If save is selected the file downloads just fine and can be executed
> from
> > > the download directory, but
> > > if Open is select nothing seems to happen.
> > >
> > > We have tried this from several web servers and the Open works from
some
> > and
> > > not others. So there must be some setting keeping/letting this option
> from
> > > working.
> > >
> > > Can anyone shed some light on what to consider when doing this?
> > >
> > > Thanks
> > >
> > >
> >
> >
> >
>
>


Relevant Pages

  • Re: Page Cannot Be Displayed Errors
    ... In WFetch, for Advanced Request, change to "Add Headers" and write: ... > directly on the web server, ... >>> Where can I get the IIS 6.0 Resource Kit, and how do I use WFetch? ...
    (microsoft.public.inetserver.iis)
  • Re: Performance question (IIS 6)
    ... The delay on the first request is due to interaction between IIS process ... You can do this yourself by making a request to the necessary application ... Turn off all the application pool recycling parameters except maybe the ... until you reboot the server. ...
    (microsoft.public.inetserver.iis)
  • Re: Page Cannot Be Displayed Errors
    ... not IIS, but something else. ... >>> directly on the web server, ... >>>>> I have done some additional checking in the logs. ... >>>>> either the request isn't even getting to IIS at this point, ...
    (microsoft.public.inetserver.iis)
  • Re: Page Cannot Be Displayed Errors
    ... "Jesse" wrote in message ... >> In WFetch, for Advanced Request, change to "Add Headers" and write: ... >>> directly on the web server, ... >>>>> Where can I get the IIS 6.0 Resource Kit, and how do I use WFetch? ...
    (microsoft.public.inetserver.iis)
  • Re: Page Cannot Be Displayed Errors
    ... I have remote access to the server through Remote Desktop, ... Where can I get the IIS 6.0 Resource Kit, and how do I use WFetch? ... following through with the request, ... > It sounds like you are quite close to the webserver. ...
    (microsoft.public.inetserver.iis)