<?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 - Configuration &amp; Scripting</title><link>http://forums.iis.net/1046.aspx</link><description>Forum aimed at understanding the system.Webserver or system.ApplicationHost using a text editor or scripting</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Configure IIS 7 to handle ASP framework with appcmd.exe</title><link>http://forums.iis.net/thread/1865981.aspx</link><pubDate>Mon, 24 Mar 2008 17:35:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1865981</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1865981.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1865981</wfw:commentRss><description>&lt;p&gt;Again standard parsing of input will split input parameter on a space - you need to surround the whole parameter with double quotes to prevent that&lt;/p&gt;
&lt;p&gt;appcmd set config -section:IsapiCgiRestriction &amp;quot;/+[path=&amp;#39;%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&amp;#39;,allowed=&amp;#39;true&amp;#39;,groupId=&amp;#39;ASP.NET v2.0.5072&amp;#39;,description=&amp;#39;ASP.NET v2.0.50727&amp;#39;]&amp;quot;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Configure IIS 7 to handle ASP framework with appcmd.exe</title><link>http://forums.iis.net/thread/1865956.aspx</link><pubDate>Mon, 24 Mar 2008 02:47:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1865956</guid><dc:creator>Deward</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1865956.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1865956</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anilr, thanks for you answer. When I replace \ with \\, the same problem happens. It seems that the space in description syntax &amp;quot;ASP.NET v2.0.50727&amp;quot; causes the problem. When I remove the spaces from groupId and decription syntax, this kind of error is removed. It&amp;#39;s confusing.&lt;/p&gt;&lt;p&gt;I work on 64 bit Vista. &lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Configure IIS 7 to handle ASP framework with appcmd.exe</title><link>http://forums.iis.net/thread/1865876.aspx</link><pubDate>Fri, 21 Mar 2008 16:02:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1865876</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1865876.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1865876</wfw:commentRss><description>&lt;p&gt;You need to type in \\ when you want \ - standard command line escaping rules.&lt;/p&gt;</description></item><item><title>Configure IIS 7 to handle ASP framework with appcmd.exe</title><link>http://forums.iis.net/thread/1865859.aspx</link><pubDate>Fri, 21 Mar 2008 07:41:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1865859</guid><dc:creator>Deward</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1865859.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1865859</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I need to use appcmd to configure IIS 7 to handle ASP framework. When I use the following command:&lt;/p&gt;&lt;p&gt;c:\Windows\System32\inetsrv&amp;gt;appcmd set config -section:IsapiCgiRestriction /+[path=&amp;#39;%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&amp;#39;,allowed=&amp;#39;true&amp;#39;,groupId=&amp;#39;ASP.NET v2.0.5072&amp;#39;,description=&amp;#39;ASP.NET v2.0.50727&amp;#39;]&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Then I got the following errors:&lt;br /&gt;&lt;br /&gt;Failed to process input: The parameter &amp;#39;v2.0.50727&amp;#39;]&amp;#39; must begin with a / or - (HRESULT=80070057).&lt;/p&gt;&lt;p&gt;&amp;nbsp;It&amp;#39;s appreciated for any idea.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>