<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'MapRequestHandler'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=MapRequestHandler&amp;orTags=0</link><description>Search results matching tag 'MapRequestHandler'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS7 MapRequestHandler</title><link>http://forums.iis.net/p/1108992/1703531.aspx#1703531</link><pubDate>Thu, 10 May 2007 08:37:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1703531</guid><dc:creator>Backend</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I am new to IIS7. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I have got one&amp;nbsp;laptop with Windows Vista Home Basic (OEM). I enabled IIS7 from Control Panel &amp;gt; Programs and Features &amp;gt; Turn Windows Features On or Off.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;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 &lt;/STRONG&gt;&lt;A href="http://localhost/Default.htm"&gt;&lt;STRONG&gt;http://localhost/Default.htm&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;&amp;nbsp;I get following error&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;HTTP Error 404.4 - Not Found&lt;BR&gt;Description: The resource you are looking for does not have a handler associated with it. &lt;/P&gt;
&lt;P&gt;Error Code: 0x80070002 &lt;/P&gt;
&lt;P&gt;Notification: MapRequestHandler &lt;/P&gt;
&lt;P&gt;Module: IIS Web Core &lt;/P&gt;
&lt;P&gt;Requested URL: &lt;A href="http://localhost/vdir1/default.htm"&gt;http://localhost:80/vdir1/default.htm&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Physical Path: C:\Websites\vdir1\default.htm &lt;/P&gt;
&lt;P&gt;Logon User: Anonymous &lt;/P&gt;
&lt;P&gt;Logon Method: Anonymous &lt;/P&gt;
&lt;P&gt;Handler: Not yet determined &lt;/P&gt;
&lt;P&gt;Most likely causes: &lt;/P&gt;
&lt;P&gt;The file extension for the requested URL does not have a handler configured to process the request on the Web server. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Then I created virtual folder using appcmd, kept the same html file, Still I get the same error. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;My question is How I can assign request handler for htm, aspx etc., files using appcmd command.&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;With regards&lt;/STRONG&gt;&lt;/P&gt;</description></item></channel></rss>