Previous Next

Thread: Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

Last post 03-10-2008 3:32 AM by johnno. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-08-2008, 9:55 PM

    • johnno
    • Not Ranked
    • Joined on 03-08-2008, 9:39 PM
    • Posts 3

    Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

    Hi there

    I am a Uni student just starting in  course on nWeb development. To demonstrate IIS we have a small HTML program to load into IIS and display using localhost.  The course uses Windows XP for the example and IIS6.  I can get the exercise to work on my other PC which has this software but am unable to get it to run on my laptop which has Vista for Business installed. I get the above message with the following

     

    Description: The resource you are looking for does not have a handler associated with it.

    Error Code: 0x80070002

    Notification: MapRequestHandler

    Module: IIS Web Core

    Requested URL: http://localhost:80/hello.htm.

    Physical Path: C:\inetpub\wwwroot\hello.htm.

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: Not yet determined

    Most likely causes:

    • The file extension for the requested URL does not have a handler configured to process the request on the Web server.

    What you can try:

    • If the file extension does not have a handler associated with it, add a handler mapping for the extension.
    • Verify that the handler associated with the file extension is properly installed and configured.
    • Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

    More Information... This error means that the Web server does not recognize the file extension of the requested resource. A module handler is not configured on the Web server for this extension. If the file extension being denied is required by the Web server, add the appropriate handler for the file extension.


    Server Version Information: Internet Information Services 7.0.

     

    I asked my tutor who suggested

    1. I disable IIS in the Services Control Panel -   which I did and this makes no difference or

    2. Change the proxy port in the proxy tab in the advanced configuration to something like 8080.

    I have not done part 2 yet but I think the problem does not lie there. Any clue would be appreciated

    The file is called hello.htm  and is in c:\inetpub\wwwroot

    it contains the following code

    <?xml version = "1.0" encoding = "utf-8"?>
    <!DOCTYPE html PUBLIC "-//s3c//DTD XHTML 1.1//EN" http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>
    <html xmlns = "html://www.w3c.org/1999/xhtml">
    <head>
    <title>Hello World - page</title>
    </head>
    <body>
    <h1>Hello World</h1>
    </body>
    </html> 

     

  • 03-08-2008, 10:34 PM In reply to

    • johnno
    • Not Ranked
    • Joined on 03-08-2008, 9:39 PM
    • Posts 3

    Re: Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

     

    Ok a further clue .. I changed the file name to   hello.asp    and it works ... MMM

    hope this helps someone who can solve this for me

  • 03-09-2008, 3:17 PM In reply to

    • Luciano.cl
    • Top 50 Contributor
    • Joined on 12-22-2007, 6:56 PM
    • Santiago. Chile
    • Posts 115

    Re: Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

    hello.html  works ????

  • 03-09-2008, 10:50 PM In reply to

    Re: Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

    check your handler mapping, refers...
    Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.4 - Not Found"
    http://support.microsoft.com/kb/942052/

     

    Cheers,
    Bernard Cheah
  • 03-10-2008, 3:32 AM In reply to

    • johnno
    • Not Ranked
    • Joined on 03-08-2008, 9:39 PM
    • Posts 3

    Re: Help with HTTP Error 404.4 - Not Found - Server Error in application default Website

     

    Thanks that fixed it - there was no StaticFile Handler so I added one using the System.Web.DefaultHttpHandler     hopefully this was correct. It all works now and yes the .html version does work as well

    Thanks again

Page 1 of 1 (5 items)
Page view counter