error 404 when open ASP

error 404 when open ASP

am 19.12.2007 20:13:01 von Lisa

Hi,

I have Windows 2003 with IIS 6. My webpage is .asp file. I did configure to
allow Active Server Pages in the Web Service Extention, and I did enable
parents path for the default website. But I still get "HTTP Error 404 - File
or directory not found.
Internet Information Services (IIS)" error massage. "

Please advice.

Thanks in advance!

Lisa

Re: error 404 when open ASP

am 19.12.2007 21:51:20 von Kristofer Gafvert

Hi Lisa,

Please check the IIS log file located in C:\Windows\System32\LogFiles\W3...

Look for the entry for the .asp-file, and tell us the status code, substatus
code and scwin32 status code (or paste the log entry here). This information
will help us resolve your issue.

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


"Lisa" skrev i meddelandet
news:BEF3D7DA-AFB0-4D69-BDD1-69CCF95FA0BD@microsoft.com...
> Hi,
>
> I have Windows 2003 with IIS 6. My webpage is .asp file. I did configure
> to
> allow Active Server Pages in the Web Service Extention, and I did enable
> parents path for the default website. But I still get "HTTP Error 404 -
> File
> or directory not found.
> Internet Information Services (IIS)" error massage. "
>
> Please advice.
>
> Thanks in advance!
>
> Lisa

Re: error 404 when open ASP

am 19.12.2007 22:33:02 von Lisa

Hi Kristofer,

Thank you for your response. Below the the copy of the log file.

2007-12-19 18:13:30 W3SVC1 172.20.120.200 GET /logon.asp
URL=/helpdesk/Default.asp 80 - 172.20.120.200
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 2

:40 W3SVC1 172.20.120.200 GET /logon.asp URL=/helpdesk/Default.asp 80 -
172.20.120.200
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 2

#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
2007-12-19 18:58:26 W3SVC1 172.20.120.200 GET /logon.asp
URL=/helpdesk/Default.asp 80 - 172.20.120.200
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 0 2


Thanks again,

Lisa

"Kristofer Gafvert" wrote:

> Hi Lisa,
>
> Please check the IIS log file located in C:\Windows\System32\LogFiles\W3...
>
> Look for the entry for the .asp-file, and tell us the status code, substatus
> code and scwin32 status code (or paste the log entry here). This information
> will help us resolve your issue.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Lisa" skrev i meddelandet
> news:BEF3D7DA-AFB0-4D69-BDD1-69CCF95FA0BD@microsoft.com...
> > Hi,
> >
> > I have Windows 2003 with IIS 6. My webpage is .asp file. I did configure
> > to
> > allow Active Server Pages in the Web Service Extention, and I did enable
> > parents path for the default website. But I still get "HTTP Error 404 -
> > File
> > or directory not found.
> > Internet Information Services (IIS)" error massage. "
> >
> > Please advice.
> >
> > Thanks in advance!
> >
> > Lisa
>
>

Re: error 404 when open ASP

am 19.12.2007 22:56:41 von Kristofer Gafvert

Lisa,

The scwin32 status code is 2, which means that the file is not available on
the file system. Can you please make sure that you have a file called
logon.asp in the root folder of the website.

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


"Lisa" skrev i meddelandet
news:B189EDB9-C443-4BFA-BB5D-8E2B147005B1@microsoft.com...
> Hi Kristofer,
>
> Thank you for your response. Below the the copy of the log file.
>
> 2007-12-19 18:13:30 W3SVC1 172.20.120.200 GET /logon.asp
> URL=/helpdesk/Default.asp 80 - 172.20.120.200
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> 404 0 2
>
> :40 W3SVC1 172.20.120.200 GET /logon.asp URL=/helpdesk/Default.asp 80 -
> 172.20.120.200
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> 404 0 2
>
> #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
> 2007-12-19 18:58:26 W3SVC1 172.20.120.200 GET /logon.asp
> URL=/helpdesk/Default.asp 80 - 172.20.120.200
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> 404 0 2
>
>
> Thanks again,
>
> Lisa
>
> "Kristofer Gafvert" wrote:
>
>> Hi Lisa,
>>
>> Please check the IIS log file located in
>> C:\Windows\System32\LogFiles\W3...
>>
>> Look for the entry for the .asp-file, and tell us the status code,
>> substatus
>> code and scwin32 status code (or paste the log entry here). This
>> information
>> will help us resolve your issue.
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Lisa" skrev i meddelandet
>> news:BEF3D7DA-AFB0-4D69-BDD1-69CCF95FA0BD@microsoft.com...
>> > Hi,
>> >
>> > I have Windows 2003 with IIS 6. My webpage is .asp file. I did
>> > configure
>> > to
>> > allow Active Server Pages in the Web Service Extention, and I did
>> > enable
>> > parents path for the default website. But I still get "HTTP Error 404 -
>> > File
>> > or directory not found.
>> > Internet Information Services (IIS)" error massage. "
>> >
>> > Please advice.
>> >
>> > Thanks in advance!
>> >
>> > Lisa
>>
>>

Re: error 404 when open ASP

am 20.12.2007 09:18:01 von Lisa

Hi Kristofer,

I was put folder helpdesk under wwwroot and created helpdesk as virtual
directory. It didn't work in this way. I moved all asp file to wwwroot, the
page can be displayed now. I don't know why.

Thank you for your help!

Lisa

"Kristofer Gafvert" wrote:

> Lisa,
>
> The scwin32 status code is 2, which means that the file is not available on
> the file system. Can you please make sure that you have a file called
> logon.asp in the root folder of the website.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Lisa" skrev i meddelandet
> news:B189EDB9-C443-4BFA-BB5D-8E2B147005B1@microsoft.com...
> > Hi Kristofer,
> >
> > Thank you for your response. Below the the copy of the log file.
> >
> > 2007-12-19 18:13:30 W3SVC1 172.20.120.200 GET /logon.asp
> > URL=/helpdesk/Default.asp 80 - 172.20.120.200
> > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > 404 0 2
> >
> > :40 W3SVC1 172.20.120.200 GET /logon.asp URL=/helpdesk/Default.asp 80 -
> > 172.20.120.200
> > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > 404 0 2
> >
> > #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
> > 2007-12-19 18:58:26 W3SVC1 172.20.120.200 GET /logon.asp
> > URL=/helpdesk/Default.asp 80 - 172.20.120.200
> > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > 404 0 2
> >
> >
> > Thanks again,
> >
> > Lisa
> >
> > "Kristofer Gafvert" wrote:
> >
> >> Hi Lisa,
> >>
> >> Please check the IIS log file located in
> >> C:\Windows\System32\LogFiles\W3...
> >>
> >> Look for the entry for the .asp-file, and tell us the status code,
> >> substatus
> >> code and scwin32 status code (or paste the log entry here). This
> >> information
> >> will help us resolve your issue.
> >>
> >> --
> >> Regards,
> >> Kristofer Gafvert
> >> http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >> "Lisa" skrev i meddelandet
> >> news:BEF3D7DA-AFB0-4D69-BDD1-69CCF95FA0BD@microsoft.com...
> >> > Hi,
> >> >
> >> > I have Windows 2003 with IIS 6. My webpage is .asp file. I did
> >> > configure
> >> > to
> >> > allow Active Server Pages in the Web Service Extention, and I did
> >> > enable
> >> > parents path for the default website. But I still get "HTTP Error 404 -
> >> > File
> >> > or directory not found.
> >> > Internet Information Services (IIS)" error massage. "
> >> >
> >> > Please advice.
> >> >
> >> > Thanks in advance!
> >> >
> >> > Lisa
> >>
> >>
>
>

Re: error 404 when open ASP

am 21.12.2007 06:22:53 von David Wang

The problem is either with your Helpdesk application or your
misconfiguration of it.

The helpdesk application is looking to "login" at /Logon.asp even
though you put its files under /helpdesk. That's why it didn't work
under helpdesk -- because the file was literally not there. When you
moved it to wwwroot, which maps to "/", it works as it expects.

This is either a problem with the helpdesk application being
hardcoded, or you are misconfiguring the software beyond what it
supports.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Dec 20, 12:18=A0am, Lisa wrote:
> Hi Kristofer,
>
> I was put folder helpdesk under wwwroot and created helpdesk as virtual
> directory. It didn't work in this way. I moved all asp file to wwwroot, th=
e
> page can be displayed now. I don't know why.
>
> Thank you for your help!
>
> Lisa
>
>
>
> "Kristofer Gafvert" wrote:
> > Lisa,
>
> > The scwin32 status code is 2, which means that the file is not available=
on
> > the file system. Can you please make sure that you have a file called
> > logon.asp in the root folder of the website.
>
> > --
> > Regards,
> > Kristofer Gafvert
> >http://www.gafvert.info/iis/- IIS Related Info
>
> > "Lisa" skrev i meddelandet
> >news:B189EDB9-C443-4BFA-BB5D-8E2B147005B1@microsoft.com...
> > > Hi Kristofer,
>
> > > Thank you for your response. Below the the copy of the log file.
>
> > > 2007-12-19 18:13:30 W3SVC1 172.20.120.200 GET /logon.asp
> > > URL=3D/helpdesk/Default.asp 80 - 172.20.120.200
> > > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4=
322;+=AD.NET+CLR+2.0.50727)
> > > 404 0 2
>
> > > :40 W3SVC1 172.20.120.200 GET /logon.asp URL=3D/helpdesk/Default.asp 8=
0 -
> > > 172.20.120.200
> > > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4=
322;+=AD.NET+CLR+2.0.50727)
> > > 404 0 2
>
> > > #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=

> > > 2007-12-19 18:58:26 W3SVC1 172.20.120.200 GET /logon.asp
> > > URL=3D/helpdesk/Default.asp 80 - 172.20.120.200
> > > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET +CLR+1.1.4=
322;+=AD.NET+CLR+2.0.50727)
> > > 404 0 2
>
> > > Thanks again,
>
> > > Lisa
>
> > > "Kristofer Gafvert" wrote:
>
> > >> Hi Lisa,
>
> > >> Please check the IIS log file located in
> > >> C:\Windows\System32\LogFiles\W3...
>
> > >> Look for the entry for the .asp-file, and tell us the status code,
> > >> substatus
> > >> code and scwin32 status code (or paste the log entry here). This
> > >> information
> > >> will help us resolve your issue.
>
> > >> --
> > >> Regards,
> > >> Kristofer Gafvert
> > >>http://www.gafvert.info/iis/- IIS Related Info
>
> > >> "Lisa" skrev i meddelandet
> > >>news:BEF3D7DA-AFB0-4D69-BDD1-69CCF95FA0BD@microsoft.com...
> > >> > Hi,
>
> > >> > I have Windows 2003 with IIS 6. My webpage is .asp file. I did
> > >> > configure
> > >> > to
> > >> > allow Active Server Pages in the Web Service Extention, and I did
> > >> > enable
> > >> > parents path for the default website. But I still get "HTTP Error 4=
04 -
> > >> > File
> > >> > or directory not found.
> > >> > Internet Information Services (IIS)" error massage. "
>
> > >> > Please advice.
>
> > >> > Thanks in advance!
>
> > >> > Lisa- Hide quoted text -
>
> - Show quoted text -