IBM developerWorks
           IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 9th, 2004, 03:27 PM
Rinkesh Rinkesh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: india
Posts: 22 Rinkesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 sec
Reputation Power: 0
Send a message via ICQ to Rinkesh
Red face how to download exe file from IIS5.0

Hi,
I am working on a win2000 server with IIS 5.0 installed on it. I have few websites running on it. On one of the website when i try to download the .exe file using URL http://domainname.com/file.exe , it gives me the "page cannot be found" error, though the file is present at that location.

Can anybody tell me what should i do to download the file from the site.
Any suggestion would be appreciated.

Thanks in advance
Rinkesh

Reply With Quote
  #2  
Old July 10th, 2004, 12:05 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
I'd say you need to double-check the url

Or, possibly the file has permissions on it so the web server has no access.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old August 1st, 2004, 03:24 AM
stcfs stcfs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 stcfs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Rinkesh

I thought the problem might be URLscan.exe but I installed v2.5; checked the .ini file and ensured that .EXE was not denied; restarted IIS ... and still it doesn't permit me to download a .EXE file! The good news is URLscan works when I tested it for other bad characters! When I tried to download my .EXE file, the log file ignored the action ... but still I got the error 404! Very puzzling!! Any ideas Doug?

Reply With Quote
  #4  
Old August 1st, 2004, 05:26 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
I don't know urlscan. My best guess is still permissions. If you're not on a public connection, you can temporarily add the IUSR_computername user as a member of the Administrators group, restart IIS and see if your problem goes away. If it does, that tells you there is a permission problem

Don't forget to remove the IIS user from the Administrators group when you are done testing!

Reply With Quote
  #5  
Old August 11th, 2004, 09:32 AM
talksandy talksandy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 4 talksandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Iis 6.0

I'm facing the same problem in IIS 5.1 on Windows XP too.
As Microsoft is saying in IIS 6.0 snapin in mmc we can use web service extension to allow permission for exe but in IIS 5.1 I'm unable to see it. If anybody find the solution please inform everybody else.
Thanks

Reply With Quote
  #6  
Old September 1st, 2004, 06:46 PM
Grubsy Grubsy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 Grubsy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey, I am having the same problem as Rinkesh. If I have http://www.mydomain.com.au/support.exe I get "The page cannot be found" error message. If I rename the file so it is http://www.mydomain.com.au/support.exe1 it prompts me to download the file (like it want it to do). So I'm guessing it is some security setting or something blocking the .exe files. Any ideas? I am using Windows 2000 Server with IIS 5

Reply With Quote
  #7  
Old September 2nd, 2004, 12:13 AM
Grubsy Grubsy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 Grubsy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Fixed !!!

Yay I fixed my problem. I had run the IIS Lockdown tool on our webserver. So I opened the URLScan ini and made a couple changes:

C:\WINNT\system32\inetsrv\urlscan\urlscan.ini

In the section: [AllowExtensions] I added .exe and in the section [DenyExtensions] I removed .exe.

I the restarted IIS and all works fine

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > how to download exe file from IIS5.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway