IIS 7 and Above
Configuration & Scripting
Help with HTTP Error 404.4 - Not Found - Server Error in application...
Last post Aug 16, 2011 05:43 PM by HCamper
Mar 09, 2008 02:55 AM|johnno|LINK
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
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:
What you can try:
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"
<html xmlns = "html://www.w3c.org/1999/xhtml">
<title>Hello World - page</title>
Mar 09, 2008 03:34 AM|johnno|LINK
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
Mar 09, 2008 08:17 PM|Luciano.cl|LINK
hello.html works ????
Mar 10, 2008 03:50 AM|qbernard|LINK
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"
Mar 10, 2008 08:32 AM|johnno|LINK
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
Aug 16, 2011 05:03 PM|Pradeep15|LINK
hi I am facing the same problem, can you tell me how did you add System.Web.DefaultHttpHandler.
Aug 16, 2011 05:43 PM|HCamper|LINK
So which Windows and IIS Server are you using ?
This thread is dealing with Vista and Windows XP which one are you having problems with ?
Have you checked that the Required Features have been added from Windows Control Panel ?