« Previous Next »

Thread: IIS7 MapRequestHandler

Last post 05-10-2007 1:04 PM by anilr. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-10-2007, 4:37 AM

    • Backend
    • Not Ranked
    • Joined on 11-20-2005, 9:10 AM
    • India
    • Posts 1

    IIS7 MapRequestHandler

    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

    Koushik
  • 05-10-2007, 12:07 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: IIS7 MapRequestHandler

    Make sure you have 'Static Content' component installed on your machine. Open 'Turn Windows Features On or Off' and check Internet Information Services->World Wide Web Services->Common Http Features->Static Content is checked. When you say no UI, did you selectively chose not to install IIS Management Console?
    Follow me on twitter at http://twitter.com/kjsingla
  • 05-10-2007, 1:04 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: IIS7 MapRequestHandler

    Actually, vista home basic does not have static-content, it only has enough IIS functionality to support wcf and cannot be used as a traditional web-server.
    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (3 items)
Microsoft Communities