I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
cannot get the index.html page to display. Instead, I get the HTTP 404 error
message. I enabled ASP and ASP.Net but that does not work. Is there anything
else that I can try?

Any help is much appreciated.

Re: HTTP 404 - File or Directory not found error message by Guilherme

Guilherme
Tue Mar 14 13:49:25 CST 2006

Hi J.

Take a look at global and website level ISAPI filters. Maybe there's a
filter that's returning the 404 error.

--
Guilhere Magalhães - .NET CF MVP
www.guilherme.co.uk


"JRich" <JRich@discussions.microsoft.com> wrote in message
news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
>I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
> cannot get the index.html page to display. Instead, I get the HTTP 404
> error
> message. I enabled ASP and ASP.Net but that does not work. Is there
> anything
> else that I can try?
>
> Any help is much appreciated.



Re: HTTP 404 - File or Directory not found error message by JRich

JRich
Tue Mar 14 13:58:25 CST 2006

I have no ISAPI filters listed for this particular website. Should I add one?

Thanks

"Guilherme Magalhães [MVP]" wrote:

> Hi J.
>
> Take a look at global and website level ISAPI filters. Maybe there's a
> filter that's returning the 404 error.
>
> --
> Guilhere Magalhães - .NET CF MVP
> www.guilherme.co.uk
>
>
> "JRich" <JRich@discussions.microsoft.com> wrote in message
> news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
> >I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
> > cannot get the index.html page to display. Instead, I get the HTTP 404
> > error
> > message. I enabled ASP and ASP.Net but that does not work. Is there
> > anything
> > else that I can try?
> >
> > Any help is much appreciated.
>
>
>

Re: HTTP 404 - File or Directory not found error message by Kristofer

Kristofer
Tue Mar 14 14:15:16 CST 2006

Hello,

Changing ASP and ASP.NET settings will not solve the problem since it is a
problem with a html file.

Can you please look in the IIS log file
(C:\Windows\System32\LogFiles\W3SVCNNN where NNN is the website ID) and
tell us the status code, substatus code and scwin32-status code logged for
this request? Without this we can only guess.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


JRich wrote:

>I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
>cannot get the index.html page to display. Instead, I get the HTTP 404
>error
>message. I enabled ASP and ASP.Net but that does not work. Is there
>anything
>else that I can try?
>
>Any help is much appreciated.

Re: HTTP 404 - File or Directory not found error message by Tom

Tom
Tue Mar 14 14:16:14 CST 2006

"JRich" <JRich@discussions.microsoft.com> wrote in message
news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
>I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
> cannot get the index.html page to display. Instead, I get the HTTP 404
> error
> message. I enabled ASP and ASP.Net but that does not work. Is there
> anything
> else that I can try?

Did you set index.html as a default document?

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS



Re: HTTP 404 - File or Directory not found error message by JRich

JRich
Tue Mar 14 14:29:27 CST 2006

index.html is the default document. Here are the status codes:


2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET /index.html -
80 - 131.2.2.166
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET
/index_flash.html - 80 - 131.2.2.166
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 2


"Tom Kaminski [MVP]" wrote:

> "JRich" <JRich@discussions.microsoft.com> wrote in message
> news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
> >I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but I
> > cannot get the index.html page to display. Instead, I get the HTTP 404
> > error
> > message. I enabled ASP and ASP.Net but that does not work. Is there
> > anything
> > else that I can try?
>
> Did you set index.html as a default document?
>
> --
> Tom Kaminski IIS MVP
> http://www.microsoft.com/windowsserver2003/community/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
>
>
>

Re: HTTP 404 - File or Directory not found error message by Kristofer

Kristofer
Tue Mar 14 15:28:35 CST 2006

Hello,

This means that your first message was wrong. index.html is successfully
sent by IIS, but index_flash.html gives a 404 with a scwin32-status code
of 2, which means that the file is simply missing.

So please verify that index_flash.html exists, because that is the file
that is reported to be missing, not index.html.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


JRich wrote:

>index.html is the default document. Here are the status codes:
>
>
>2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET /index.html -
>80 - 131.2.2.166
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>200 0 0
>2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET
>/index_flash.html - 80 - 131.2.2.166
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>404 0 2
>
>
>"Tom Kaminski [MVP]" wrote:
>
>>"JRich" <JRich@discussions.microsoft.com> wrote in message
>>news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
>>>I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but
>>>I
>>>cannot get the index.html page to display. Instead, I get the HTTP 404
>>>error
>>>message. I enabled ASP and ASP.Net but that does not work. Is there
>>>anything
>>>else that I can try?
>>
>>Did you set index.html as a default document?
>>
>>--
>>Tom Kaminski IIS MVP
>>http://www.microsoft.com/windowsserver2003/community/centers/iis/
>>http://mvp.support.microsoft.com/
>>http://www.iistoolshed.com/ - tools, scripts, and utilities for running
>>IIS
>>
>>
>>

Re: HTTP 404 - File or Directory not found error message by David

David
Wed Mar 15 01:25:20 CST 2006

... how about try troubleshooting by looking at the logfile and NOT by
soliciting/making random configuration changes?

http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx

The log file often has enough information to make the diagnosis and
solution. And even if it doesn't, there are many tools/procedures and is
simple enough to make non-invasive observations of the failing system to
figure out the issue.

What your log file suggests is that:
- you make a request to /index.html, and it returns a 200 OK.
- It probably has a 0-second META REFRESH to go to /index_flash.html
- it is that request to /index_flash.html which is returning 404.0 Win32
Error code 2 (which means real "file not found").
- At this point, I would look up the website physical folder mapping for "/"
and verify that index_flash.html exists.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"JRich" <JRich@discussions.microsoft.com> wrote in message
news:0C86E73D-8EDE-4390-8291-D25109E724C5@microsoft.com...
> index.html is the default document. Here are the status codes:
>
>
> 2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET /index.html -
> 80 - 131.2.2.166
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> 200 0 0
> 2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET
> /index_flash.html - 80 - 131.2.2.166
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> 404 0 2
>
>
> "Tom Kaminski [MVP]" wrote:
>
>> "JRich" <JRich@discussions.microsoft.com> wrote in message
>> news:B457EC85-5F1B-437F-AA04-14A405D82A72@microsoft.com...
>> >I have a Windows 2003 Server w/ IIS 6 running. I have a new website, but
>> >I
>> > cannot get the index.html page to display. Instead, I get the HTTP 404
>> > error
>> > message. I enabled ASP and ASP.Net but that does not work. Is there
>> > anything
>> > else that I can try?
>>
>> Did you set index.html as a default document?
>>
>> --
>> Tom Kaminski IIS MVP
>> http://www.microsoft.com/windowsserver2003/community/centers/iis/
>> http://mvp.support.microsoft.com/
>> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
>> IIS
>>
>>
>>



Re: HTTP 404 - File or Directory not found error message by JRich

JRich
Wed Mar 15 11:01:47 CST 2006

The problem is now fixed. Here is what needed to be done.

For the website the extensions
*.htm and *.html must be mapped to the ASP.NET isapi stuff. Go to the
properties for the site Home
Directory/Configuration then mapped the two up. One thing to note,
verify you do not have "verify file exists" checked, if you do nothing
will work.
\
Thank you to everyone that replied to my issue!


"David Wang [Msft]" wrote:

> .... how about try troubleshooting by looking at the logfile and NOT by
> soliciting/making random configuration changes?
>
> http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx
>
> The log file often has enough information to make the diagnosis and
> solution. And even if it doesn't, there are many tools/procedures and is
> simple enough to make non-invasive observations of the failing system to
> figure out the issue.
>
> What your log file suggests is that:
> - you make a request to /index.html, and it returns a 200 OK.
> - It probably has a 0-second META REFRESH to go to /index_flash.html
> - it is that request to /index_flash.html which is returning 404.0 Win32
> Error code 2 (which means real "file not found").
> - At this point, I would look up the website physical folder mapping for "/"
> and verify that index_flash.html exists.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
>
> "JRich" <JRich@discussions.microsoft.com> wrote in message
> news:0C86E73D-8EDE-4390-8291-D25109E724C5@microsoft.com...
> > index.html is the default document. Here are the status codes:
> >
> >
> > 2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET /index.html -
> > 80 - 131.2.2.166
> > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+RCBIE6XPMAN;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > 200 0 0
> > 2006-03-14 20:03:37 W3SVC1818944864 Servername 131.2.2.2 GET
> > /index_flash.html - 80 - 131.2.2.166
&