-
May 2nd, 2008, 09:09 AM
#1
IIS 6.0 and Windows 2003 Server Problem
Hi All,
When I am on my XP machine with IIS 5.1 I create a virtual folder called Download off my web site. I place an exe file called a.exe in this folder.
I enable the Web Server for Anonymous access.
When I type http://192.160.20.30/Download/a.exe in Internet explorer I can download the file.
192.160.20.30 is the local machine IP address.
I do exactly the same thing using IIS 6.0 on a Windows 2003 Server machine.
When I type http://192.163.22.32/Download/a.exe in Internet explorer I get a 404-0 error.
When I trawled the web I found that 404-0 is "File or directory not found"
But I am doing exactly the same thing as I was doing on my XP machine.
How do I enable myself to download an exe from a Virtual directory on Windows 2003 Server using IIS 6.0?
Thanks all.
Last edited by carrolls; May 2nd, 2008 at 09:30 AM.
-
May 2nd, 2008, 10:05 PM
#2
Re: IIS 6.0 and Windows 2003 Server Problem
Last edited by dglienna; May 2nd, 2008 at 10:07 PM.
-
May 2nd, 2008, 10:10 PM
#3
Re: IIS 6.0 and Windows 2003 Server Problem
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
May 4th, 2008, 10:40 AM
#4
Re: IIS 6.0 and Windows 2003 Server Problem
Thanks dglienna et al,
but in view of the fact that I have set Execute Permission = 'None' on the IIS6.0 Win2003 machine, and it still is coming back with a 404.0 error when I try to download an exe file, what do i need to do to make IIS 6.0 on a Windows 2003 machine behave like IIS 5.1 on an XP Professional machine in terms of downloading an exe from a website.
Thanks
-
May 4th, 2008, 11:26 AM
#5
Re: IIS 6.0 and Windows 2003 Server Problem
Can you please post the actual IIS log (just covering the time period where you attempt a single download...we not need megabytes of what has happended for weeks. )
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
May 4th, 2008, 12:18 PM
#6
Re: IIS 6.0 and Windows 2003 Server Problem
Originally Posted by TheCPUWizard
This is true.
About IIS, did you specify the correct version of Net? You need a default document also, unless you specifically turn on directory browsing.
Also, check your firewall.
-
May 5th, 2008, 02:37 PM
#7
Re: IIS 6.0 and Windows 2003 Server Problem
Originally Posted by TheCPUWizard
Can you please post the actual IIS log (just covering the time period where you attempt a single download...we not need megabytes of what has happended for weeks. )
My Windows 2003 Server is in the office.
I will be back in the office on Tuesday, today is a bank holiday.
I will post the log first thing..
dglienna, I have the correct version of net chosen. 2.0xxx, also the firewall is off.
CheersCPU Wizard.
Last edited by carrolls; May 5th, 2008 at 03:18 PM.
-
May 6th, 2008, 04:00 AM
#8
Re: IIS 6.0 and Windows 2003 Server Problem
Hi CPUWizard
Here are the logs that were generated for the error.
I tried it three times in a row and it is still failing.
I have only anonymous access on for the Downloads virtual folder.
I have set the execute permissions to none for the virtual folder.
I have set Read, Write and Directory browsing to on.
I have added .exe octet/stream as a mime type.
I have disabled default content page.
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2008-05-06 08:17:16
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2008-05-06 08:17:16 W3SVC300981380 192.163.22.32 GET /Download/a.exe - 80 - 192.163.22.32 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 3
2008-05-06 08:22:59 W3SVC300981380 192.163.22.32 GET /Download/a.exe - 80 - 192.163.22.32 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 3
2008-05-06 08:23:01 W3SVC300981380 192.163.22.32 GET /Download/a.exe - 80 - 192.163.22.32 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|