Hi,
I am new to IIS7.
I have got one laptop with Windows Vista Home Basic (OEM). I enabled IIS7 from Control Panel > Programs and Features > Turn Windows Features On or Off.
As there is no UI I can only use appcmd command line. I kept a html file Default.htm in c:\inetpub\wwwroot. Then when I try to open the site http://localhost/Default.htm I get following error
HTTP Error 404.4 - Not Found
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/vdir1/default.htm
Physical Path: C:\Websites\vdir1\default.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.
Then I created virtual folder using appcmd, kept the same html file, Still I get the same error.
My question is How I can assign request handler for htm, aspx etc., files using appcmd command.
With regards