Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 5.0 not allowing EXE download 1

Status
Not open for further replies.

brier2002

Programmer
Sep 13, 2001
1
CA
Hi,
I am having an issue with downloading an EXE file. The proper download dialogue does not appear, plus I get a 404 page cannot be found error. I know the file is located in the right directory. It will allow for other file extensions to be downloaded, just not EXE files. I have installed IIS Lockdown, could that be the problem. Weird, not sure what to do with this issue.

Could this be a setting that I have over looked?

Please help, your help will be much appreciated.
Thanks in advance.

Jim Cotter
Visual Statements Inc.
 
Yes,

I don't know if you installed the "URLScan tool" also or it is a part of the IIS Lockdown.
But the system in tis case will workk like this:
If the extension is ".dll", ".com" or ".exe", then it will check AllowDotInPath. If AllowDotInPath parameter is 0 then the access will stoped.
The parameter is in
c:\winnt\system32\inetsrv\urlscan\URLScan.ini

I hope that will solve your problem. Success! Gia Betiu
m.betiu@chello.nl
Computer Eng. CNE 4, CNE 5
 
If you did use urlscan, then it by most defaults will disable .exe's. To get .exe back, you'll need to allow .exe either by adding it to the allow extensions or removing it from the extensions; depending on how your specific urlscan setup is working.

Open the ini file, all the instructions are there. You'll have to restart the for the settings to take effect. Also, make a backup of the ini before u mess around just in case. GL.
 
There is also another possibility if you did not use the lockdown tool. Make sure that the directory that your exe files are located are NOT set to execute. Make sure the NTFS and the properties of the web folder are marked READ and not EXECUTE.

Happy downloading.

Dan
 
I guess you have given "Scripts and Executables" as the Execute permissions for the folder.You need to change it to either "Scripts Only" or "None".
This can be done as fallows:
Just go to the IIS, right click on the folder in whcih you have copied the exe file , go to properties, select the Directory tab,then in the Execute Permissions drop down list, select "Scripts Only" or "None", click on OK.
You may have to restart the IIS so that the changes take effect.
It should work for you.

With regards and Thanks.
-Umashankar.H.M.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top