Today, a Windows Server 2003 Web server was set up, and it was found that it was not possible to download the. exe file in the Web after the Web page was opened, and was resolved by a research issue.
The workaround is very simple, just set the Execute permission in the Web site properties to "script only" in IIS.
Attached: Windows Server 2003 server cannot download exe as suffix file resolution
During the actual operation, only the second step was successful,
That is: Open IIS Manager, right-click on the Properties-home directory, set the Execute permission to "none" or "pure script", that is, cancel "executable file".
Detailed Troubleshooting steps:
1. Set the MIME to allow IIS to support more file types, which can be skipped if there is already an. exe in the MIME type.
Open IIS, select Server, right click, MIME type in attribute
Add extension:. exe
Type: Application/octet-stream
(Common MIME Types
Hypertext Markup Language text. html,.html text/html
Plain text. txt Text/plain
RTF text. rtf Application/rtf
GIF graphics. gif image/gif
JPEG graphics. Ipeg,.jpg Image/jpeg
Au sound file. Au audio/basic
Midi Music files Mid,.midi Audio/midi,audio/x-midi
RealAudio music files. RA,. Ram Audio/x-pn-realaudio
MPEG files. Mpg,.mpeg video/mpeg
AVI file. avi Video/x-msvideo
gzip file. GZ application/x-gzip
Tar file. Tar application/x-tar)
2. If the previous step does not solve the problem, you can set the site home Directory access permissions.
Open IIS Manager, right-click on the Properties-home directory, set the Execute permission to "none" or "script only", that is, cancel the "executable file".
3. If the previous step does not resolve the problem, you can disable all unknown CGI extensions in the Web service extensions in IIS Manager, and all unknown ISAPI expansions, leaving only ASP and ASP.
After the three steps above, the problem should be resolved, and the method of allowing other file types to be downloaded is the same.
From:http://www.jb51.net/article/51423.htm
The Windows Server 2003 server cannot download the. exe file workaround