<?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>IIS7 - General</title><link>http://forums.iis.net/1041.aspx</link><description>For any general questions relating to IIS 7</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS7 MapRequestHandler</title><link>http://forums.iis.net/thread/1704283.aspx</link><pubDate>Thu, 10 May 2007 17:04:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1704283</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1704283.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1041&amp;PostID=1704283</wfw:commentRss><description>Actually, vista home basic does not have static-content, it only has enough IIS&amp;nbsp;functionality to support wcf and cannot be used as a traditional web-server.</description></item><item><title>Re: IIS7 MapRequestHandler</title><link>http://forums.iis.net/thread/1704163.aspx</link><pubDate>Thu, 10 May 2007 16:07:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1704163</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1704163.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1041&amp;PostID=1704163</wfw:commentRss><description>Make sure you have 'Static Content' component installed on your machine. Open 'Turn Windows Features On or Off' and check Internet Information Services-&amp;gt;World Wide Web Services-&amp;gt;Common Http Features-&amp;gt;Static Content is checked. When you say no UI, did you selectively chose not to install IIS Management Console?</description></item><item><title>IIS7 MapRequestHandler</title><link>http://forums.iis.net/thread/1703531.aspx</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><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1703531.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1041&amp;PostID=1703531</wfw:commentRss><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>