Re: Cant't download "exe" file because of IIS version
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/13/04
- Next message: David Wang [Msft]: "Re: IIS 6 & Server Permisions"
- Previous message: Daniel: "Re: Urgent bout IIS"
- In reply to: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Next in thread: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Reply: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Nov 2004 17:53:19 -0800
Wait. Your resolution is not correct. It may "work" but it's not right and
will fail under load since ASP.Net static file handler is not as robust as
IIS's.
What you did was assign ASP.Net to handle the .exe extension, and ASP.Net
will send the resource as-is since it doesn't understand .exe files. This
means that ASP.Net settings for static files will apply to the response,
which has its own configuration in the various machine.config/web.config
files applicable.
This is one way to "work", but it is a poor choice because ASP.Net static
file handler is known to not perform well under load nor for large files
(i.e. large Office documents can cause it to choke) -- so you really do NOT
want to do this. The official "fix" for this issue is to NOT use ASP.Net
for static files, so if you run into problems, you will have to do what I'm
telling you anyway -- so let's just avoid the run-around and do it correctly
the first time.
You want to make sure that .EXE is NOT scriptmapped to anything, so that the
IIS6 static file handler sends the content in accordance to the MIME Type
settings you make in IIS.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "Peter McLaren" <PeterMcLaren@discussions.microsoft.com> wrote in message news:AFBD908E-8C32-4F3F-B159-862960497CE6@microsoft.com... I am absolutely 100% positive that permissions was set to Scritps only. The final way that this issue was resolved was by following the instructions below: In IIS Manager, right click the virtual folder and select "Properties/Directory". Click "Configuration" button, and then add an application extension: executable: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll extension .exe. Restart IIS "Yogita Manghnani [MSFT]" wrote: > Hello, > Are you sure that the setting Executable permissions for that site in IIS > is set to Scripts only and not Scripts and Executables? I'm not sure how > Firefox works, but if you specify Executable permissions to Scripts only > then IE should prompt you to open/save the exe on the client end. > http://support.microsoft.com/default.aspx?scid=kb;en-us;313075 > > Good luck, > Yogita Manghnani > Microsoft Developer Support > Internet Information Server > > ********************************************************************* > >>Please do not send email directly to this alias. This is an online > account name for newsgroup participation only.<< > > This posting is provided "AS IS" with no warranties, and confers no rights. > You assume all risk for your use. > > © 2003 Microsoft Corporation. All rights reserved. > ********************************************************************* > >
- Next message: David Wang [Msft]: "Re: IIS 6 & Server Permisions"
- Previous message: Daniel: "Re: Urgent bout IIS"
- In reply to: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Next in thread: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Reply: Peter McLaren: "Re: Cant't download "exe" file because of IIS version"
- Messages sorted by: [ date ] [ thread ]