HTTP 404.2 Error

HTTP 404.2 Error

am 20.12.2005 16:05:02 von PaulieS

I have migrated a site (and metabase) from a IIS5 box to a new IIS6 box.
Default page does not display (get blank screen in browser, friendly http
error messages disabled on client).

I created a simple asp page to display "hello world"... get nothing.

Created an asp page to display basic html content... get nothing. Change
extension on page from .asp to .htm and call in browser... voila! Page
displays correctly.

Change page extension back to asp - nada!

Code:
file - hello.asp

<%@ Language=VBScript %>


xxxxxx Corporation e-Business access manager


Should display HTML code here!




Howdy Dude!




Log File:

#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem
cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
time-taken
2005-12-19 22:34:30 W3SVC4 NPI-EBAM-01 172.16.77.18 GET /hello2.asp - 80 -
172.16.76.160 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.0.3705;+.NET+CLR+1.1.4322;+Media+Center+PC+4.0;+.NET+ CLR+2.0.50727;+InfoPath.1)
- - 404 2 1260 132 463 140

I know I am missing something simple... any suggestions?

PaulieS

Re: HTTP 404.2 Error

am 20.12.2005 20:37:50 von Kristofer Gafvert

Hello,

404.2 means that the ASP web service extension is not allowed. So try to
enable it.

Also see:

"ASP files generates "404 - File or directory not found""
http://www.gafvert.info/notes/ASP404NotFound.htm

If you need help with that.

One thing that is strange is however that you get a blank screen. You
usually see the 404 error message in the browser.

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


PaulieS wrote:

>I have migrated a site (and metabase) from a IIS5 box to a new IIS6 box.
>Default page does not display (get blank screen in browser, friendly http
>error messages disabled on client).
>
>I created a simple asp page to display "hello world"... get nothing.
>
>Created an asp page to display basic html content... get nothing. Change
>extension on page from .asp to .htm and call in browser... voila! Page
>displays correctly.
>
>Change page extension back to asp - nada!
>
>Code:
>file - hello.asp
>
><%@ Language=VBScript %>
>
>
> xxxxxx Corporation e-Business access manager
>
>
>Should display HTML code here!


>
>
Howdy Dude!

>
>
>
>Log File:
>
>#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem
>cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
>cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
>time-taken
>2005-12-19 22:34:30 W3SVC4 NPI-EBAM-01 172.16.77.18 GET /hello2.asp - 80 -
>172.16.76.160 HTTP/1.1
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NE T+CLR+1.0.3705;+.NET+CLR+1.1.4322;+Media+Center+PC+4.0;+.NET +CLR+2.0.50727;+InfoPath.1)
>- - 404 2 1260 132 463 140
>
>I know I am missing something simple... any suggestions?
>
>PaulieS

Re: HTTP 404.2 Error

am 20.12.2005 22:36:02 von PaulieS

ASP web service extensions are allowed...

It seems that the migrated metabase pointed the 404.2 error page to a non
existant page... When I create a custom error page for the 404.2 error, that
displays in the browser window... still not getting any where.

"Kristofer Gafvert" wrote:

> Hello,
>
> 404.2 means that the ASP web service extension is not allowed. So try to
> enable it.
>
> Also see:
>
> "ASP files generates "404 - File or directory not found""
> http://www.gafvert.info/notes/ASP404NotFound.htm
>
> If you need help with that.
>
> One thing that is strange is however that you get a blank screen. You
> usually see the 404 error message in the browser.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> PaulieS wrote:
>
> >I have migrated a site (and metabase) from a IIS5 box to a new IIS6 box.
> >Default page does not display (get blank screen in browser, friendly http
> >error messages disabled on client).
> >
> >I created a simple asp page to display "hello world"... get nothing.
> >
> >Created an asp page to display basic html content... get nothing. Change
> >extension on page from .asp to .htm and call in browser... voila! Page
> >displays correctly.
> >
> >Change page extension back to asp - nada!
> >
> >Code:
> >file - hello.asp
> >
> ><%@ Language=VBScript %>
> >
> >
> > xxxxxx Corporation e-Business access manager
> >
> >
> >Should display HTML code here!


> >
> >
Howdy Dude!

> >
> >
> >
> >Log File:
> >
> >#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem
> >cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
> >cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
> >time-taken
> >2005-12-19 22:34:30 W3SVC4 NPI-EBAM-01 172.16.77.18 GET /hello2.asp - 80 -
> >172.16.76.160 HTTP/1.1
> >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NE T+CLR+1.0.3705;+.NET+CLR+1.1.4322;+Media+Center+PC+4.0;+.NET +CLR+2.0.50727;+InfoPath.1)
> >- - 404 2 1260 132 463 140
> >
> >I know I am missing something simple... any suggestions?
> >
> >PaulieS
>

Re: HTTP 404.2 Error

am 20.12.2005 23:06:31 von Kristofer Gafvert

Can you please check that the .asp extension is mapped to the very same
file as is listed in the ASP Web Service Extension.

It could be a mismatch between the paths (for example, c:\winnt\... is
used instead of c:\windows\...).

You probably already know how to do this, but to make sure we are talking
about the same, here are the instructions:

In IIS Manager, right click the website and click Properties.
Click on the Home Directory tab, and the Configuration button.
Note the Executable Path.

Click Web Service Extensions in the left pane of IIS Manager.
Right click the ASP Web Service Extension, and click Properties.
Click on the Required Files tab, and see if the path matches the one above.

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


PaulieS wrote:

>ASP web service extensions are allowed...
>
>It seems that the migrated metabase pointed the 404.2 error page to a non
>existant page... When I create a custom error page for the 404.2 error,
>that
>displays in the browser window... still not getting any where.
>
>"Kristofer Gafvert" wrote:
>
>>Hello,
>>
>>404.2 means that the ASP web service extension is not allowed. So try to
>>enable it.
>>
>>Also see:
>>
>>"ASP files generates "404 - File or directory not found""
>>http://www.gafvert.info/notes/ASP404NotFound.htm
>>
>>If you need help with that.
>>
>>One thing that is strange is however that you get a blank screen. You
>>usually see the 404 error message in the browser.
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>PaulieS wrote:
>>
>>>I have migrated a site (and metabase) from a IIS5 box to a new IIS6 box.
>>>Default page does not display (get blank screen in browser, friendly http
>>>error messages disabled on client).
>>>
>>>I created a simple asp page to display "hello world"... get nothing.
>>>
>>>Created an asp page to display basic html content... get nothing. Change
>>>extension on page from .asp to .htm and call in browser... voila! Page
>>>displays correctly.
>>>
>>>Change page extension back to asp - nada!
>>>
>>>Code:
>>>file - hello.asp
>>>
>>><%@ Language=VBScript %>
>>>
>>>
>>> xxxxxx Corporation e-Business access manager
>>>
>>>
>>>Should display HTML code here!


>>>
>>>
Howdy Dude!

>>>
>>>
>>>
>>>Log File:
>>>
>>>#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem
>>>cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
>>>cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
>>>time-taken
>>>2005-12-19 22:34:30 W3SVC4 NPI-EBAM-01 172.16.77.18 GET /hello2.asp - 80
>>>-
>>>172.16.76.160 HTTP/1.1
>>>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+. NET+CLR+1.0.3705;+.NET+CLR+1.1.4322;+Media+Center+PC+4.0;+.N ET+CLR+2.0.50727;+InfoPath.1)
>>>- - 404 2 1260 132 463 140
>>>
>>>I know I am missing something simple... any suggestions?
>>>
>>>PaulieS
>>

Re: HTTP 404.2 Error

am 20.12.2005 23:28:02 von PaulieS

Yup yup yup... path mismatch!

Wow... thank you very much (PaulieS bangs head against desk)!

Absolutely the right answer... the metabase was transferred in a very
roundabout way (as IISMT would not work on the server in question)... SO the
metadata which was imported was never MIGRATED which would have corrected the
error in path!

Once again, thanks!

PaulieS

"Kristofer Gafvert" wrote:

> Can you please check that the .asp extension is mapped to the very same
> file as is listed in the ASP Web Service Extension.
>
> It could be a mismatch between the paths (for example, c:\winnt\... is
> used instead of c:\windows\...).
>
> You probably already know how to do this, but to make sure we are talking
> about the same, here are the instructions:
>
> In IIS Manager, right click the website and click Properties.
> Click on the Home Directory tab, and the Configuration button.
> Note the Executable Path.
>
> Click Web Service Extensions in the left pane of IIS Manager.
> Right click the ASP Web Service Extension, and click Properties.
> Click on the Required Files tab, and see if the path matches the one above.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> PaulieS wrote:
>
> >ASP web service extensions are allowed...
> >
> >It seems that the migrated metabase pointed the 404.2 error page to a non
> >existant page... When I create a custom error page for the 404.2 error,
> >that
> >displays in the browser window... still not getting any where.
> >
> >"Kristofer Gafvert" wrote:
> >
> >>Hello,
> >>
> >>404.2 means that the ASP web service extension is not allowed. So try to
> >>enable it.
> >>
> >>Also see:
> >>
> >>"ASP files generates "404 - File or directory not found""
> >>http://www.gafvert.info/notes/ASP404NotFound.htm
> >>
> >>If you need help with that.
> >>
> >>One thing that is strange is however that you get a blank screen. You
> >>usually see the 404 error message in the browser.
> >>
> >>--
> >>Regards,
> >>Kristofer Gafvert
> >>http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >>PaulieS wrote:
> >>
> >>>I have migrated a site (and metabase) from a IIS5 box to a new IIS6 box.
> >>>Default page does not display (get blank screen in browser, friendly http
> >>>error messages disabled on client).
> >>>
> >>>I created a simple asp page to display "hello world"... get nothing.
> >>>
> >>>Created an asp page to display basic html content... get nothing. Change
> >>>extension on page from .asp to .htm and call in browser... voila! Page
> >>>displays correctly.
> >>>
> >>>Change page extension back to asp - nada!
> >>>
> >>>Code:
> >>>file - hello.asp
> >>>
> >>><%@ Language=VBScript %>
> >>>
> >>>
> >>> xxxxxx Corporation e-Business access manager
> >>>
> >>>
> >>>Should display HTML code here!


> >>>
> >>>
Howdy Dude!

> >>>
> >>>
> >>>
> >>>Log File:
> >>>
> >>>#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem
> >>>cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie)
> >>>cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
> >>>time-taken
> >>>2005-12-19 22:34:30 W3SVC4 NPI-EBAM-01 172.16.77.18 GET /hello2.asp - 80
> >>>-
> >>>172.16.76.160 HTTP/1.1
> >>>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+. NET+CLR+1.0.3705;+.NET+CLR+1.1.4322;+Media+Center+PC+4.0;+.N ET+CLR+2.0.50727;+InfoPath.1)
> >>>- - 404 2 1260 132 463 140
> >>>
> >>>I know I am missing something simple... any suggestions?
> >>>
> >>>PaulieS
> >>
>