<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">From Mind To Words</title><subtitle type="html">VIVEK KUMBHAR&amp;#39;s WEBLOG</subtitle><id>http://blogs.msdn.com/b/vivekkum/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b/vivekkum/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2009-03-05T17:50:00Z</updated><entry><title>Client Certificate Mapping in FTP 7 &amp; FTP 7.5 - Step by Step - Part 4</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/12/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-4.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/12/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-4.aspx</id><published>2009-12-02T09:31:00Z</published><updated>2009-12-02T09:31:00Z</updated><content type="html">&lt;p&gt;Moved to &lt;a href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-4.aspx" mce_href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-4.aspx" target="_blank"&gt;www.dotnetscraps.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931130" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term="Client Certificate" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Client+Certificate/" /><category term="Step by Step" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Step+by+Step/" /><category term="FTP 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7-5/" /><category term="FTP 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7/" /><category term="FTPS" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTPS/" /></entry><entry><title>Client Certificate Mapping in FTP 7 &amp; FTP 7.5 - Step by Step - Part 3</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/12/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-3.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/12/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-3.aspx</id><published>2009-12-01T21:34:00Z</published><updated>2009-12-01T21:34:00Z</updated><content type="html">&lt;p&gt;Moved to &lt;a href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-3.aspx" mce_href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-3.aspx" target="_blank"&gt;www.dotnetscraps.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931087" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term="Client Certificate" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Client+Certificate/" /><category term="Step by Step" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Step+by+Step/" /><category term="FTP 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7-5/" /><category term="FTP 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7/" /><category term="FTPS" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTPS/" /></entry><entry><title>Client Certificate Mapping in FTP 7 &amp; FTP 7.5 - Step by Step - Part 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/11/05/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-2.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/11/05/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-2.aspx</id><published>2009-11-04T20:12:00Z</published><updated>2009-11-04T20:12:00Z</updated><content type="html">&lt;p&gt;Moved to &lt;a href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-2.aspx" mce_href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-2.aspx" target="_blank"&gt;www.dotnetscraps.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917520" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term="Client Certificate" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Client+Certificate/" /><category term="Step by Step" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Step+by+Step/" /><category term="FTP 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7-5/" /><category term="FTP 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7/" /><category term="FTPS" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTPS/" /></entry><entry><title>Client Certificate Mapping in FTP 7 &amp; FTP 7.5 - Step by Step - Part 1</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/11/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-1.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/11/02/client-certificate-mapping-in-ftp-7-ftp-7-5-step-by-step-part-1.aspx</id><published>2009-11-02T01:50:00Z</published><updated>2009-11-02T01:50:00Z</updated><content type="html">&lt;p&gt;Moved to &lt;a href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-1.aspx" mce_href="http://www.dotnetscraps.com/dotnetscraps/post/Did-you-know-Configure-Client-Certificate-Mapping-in-FTP-7-FTP-75-Part-1.aspx" target="_blank"&gt;www.dotnetscraps.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916152" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term="Client Certificate" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Client+Certificate/" /><category term="Step by Step" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Step+by+Step/" /><category term="FTP 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7-5/" /><category term="FTP 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP+7/" /><category term="FTPS" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTPS/" /></entry><entry><title>“Parser Error Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.” when debug=”true” in .aspx page</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/07/20/parser-error-message-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-when-debug-true-in-aspx-page.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/07/20/parser-error-message-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-when-debug-true-in-aspx-page.aspx</id><published>2009-07-20T19:53:04Z</published><updated>2009-07-20T19:53:04Z</updated><content type="html">&lt;p&gt;Just recently one of my customer faced the below mentioned error on his Windows Server 2008 SP2 box.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/ParserErrorMessageThisimplement.aspxpage_8AFC/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/ParserErrorMessageThisimplement.aspxpage_8AFC/image_thumb.png" width="789" height="372" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Read my post in our team blog on the issue: &lt;a href="http://blogs.msdn.com/webtopics/archive/2009/07/20/parser-error-message-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-when-net-page-has-debug-true.aspx" target="_blank"&gt;Parser Error Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;HTH.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9841901" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="IIS 6" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+6/" /><category term="FIPS" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FIPS/" /><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="ASP.NET" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/ASP-NET/" /></entry><entry><title>Blind drop FTP in IIS 7/7.5</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/05/10/blind-drop-ftp-in-iis-7-7-5.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/05/10/blind-drop-ftp-in-iis-7-7-5.aspx</id><published>2009-05-10T20:46:00Z</published><updated>2009-05-10T20:46:00Z</updated><content type="html">&lt;P&gt;I saw this topic floating around for few days and since it’s very interesting I thought of blogging it for everybody’s benefit.&lt;/P&gt;
&lt;P&gt;If you haven’t heard about Blind Drop FTP have a look at this blog &lt;A href="http://www.iisanswers.com/Blind_drop_ftp.htm" target=_blank mce_href="http://www.iisanswers.com/Blind_drop_ftp.htm"&gt;Creating a Blind Drop FTP Server&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I thought of testing the same on IIS 7 and IIS 7.5. Here is a step by step of the same..&lt;/P&gt;
&lt;P&gt;For IIS 7, you will have to install OOB (Out of Band) &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1620" target=_blank mce_href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1620"&gt;Microsoft FTP Publishing Service 7.5 for IIS 7.0 (x64)&lt;/A&gt; or &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1619" target=_blank mce_href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1619"&gt;Microsoft FTP Publishing Service 7.5 for IIS 7.0 (x86)&lt;/A&gt; depending on your platform. &lt;/P&gt;
&lt;P&gt;I am using Windows Server 2008 R2 RC1 for this scenario.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Creating directory structure&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;I have created FTPRoot on my D drive and it has Incoming directory&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image1_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image1_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image1 border=0 alt=image1 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image1_thumb.png" width=162 height=105 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image1_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Setting NTFS Permission on the directory&lt;/P&gt;
&lt;P&gt;Right click on FTPRoot folder -&amp;gt; Properties -&amp;gt; Security &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image5_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image5_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image5 border=0 alt=image5 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image5_thumb.png" width=356 height=416 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image5_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click on Advanced button -&amp;gt; Change Permissions...&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image6_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image6_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image6 border=0 alt=image6 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image6_thumb.png" width=622 height=400 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image6_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Uncheck the check box “Include inheritable permissions from this object’s parent” -&amp;gt; click Add&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image7_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image7_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image7 border=0 alt=image7 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image7_thumb.png" width=640 height=410 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image7_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Select SYSTEM, Authenticated Users and Users and click Remove&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image8_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image8_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image8 border=0 alt=image8 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image8_thumb.png" width=639 height=415 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image8_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK and click OK again&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image9_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image9_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image9 border=0 alt=image9 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image9_thumb.png" width=364 height=387 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image9_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click Add... and select IUSR of the local machine&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image10_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image10_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image10 border=0 alt=image10 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image10_thumb.png" width=476 height=260 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image10_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK&lt;/P&gt;
&lt;P&gt;Remove Read &amp;amp; execute and Read permission for IUSR as shown below. So IUSR group has only List folder contents permission of FTPRoot folder&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image11_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image11_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image11 border=0 alt=image11 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image11_thumb.png" width=380 height=460 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image11_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK and click OK again&lt;/P&gt;
&lt;P&gt;Go to the Incoming folder and right click on the Incoming folder and click Properties.&lt;/P&gt;
&lt;P&gt;Click Advanced -&amp;gt; Change Permissions &lt;/P&gt;
&lt;P&gt;Uncheck the check box “Include inheritable permissions from this object’s parent” -&amp;gt; click Add&lt;/P&gt;
&lt;P&gt;Select IUSR and click Edit...&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image12_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image12_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image12 border=0 alt=image12 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image12_thumb.png" width=623 height=411 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image12_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click on Apply to: and select “This folder only” -&amp;gt; click Clear All&lt;/P&gt;
&lt;P&gt;Select Create files / write data, Create folders / append data, Write attributes, Write extended attributes and Read permissions as shown below&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image13_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image13_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image13 border=0 alt=image13 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image13_thumb.png" width=378 height=475 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image13_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK and click Apply&lt;/P&gt;
&lt;P&gt;Click Add... and select IUSR of the local machine, click OK&lt;/P&gt;
&lt;P&gt;Select List folder / read data, Read attributes, Read extended attributes and Read permissions as shown below&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image14_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image14_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image14 border=0 alt=image14 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image14_thumb.png" width=374 height=477 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image14_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK&lt;/P&gt;
&lt;P&gt;Select the check box “Replace all child object permissions with inheritable permissions from this object” -&amp;gt; Click OK&lt;/P&gt;
&lt;P&gt;Permissions on Incoming folder are as follows:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image15_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image15_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image15 border=0 alt=image15 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image15_thumb.png" width=596 height=254 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image15_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK and click OK again&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Configuring FTP in IIS&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;Creating the FTP Site Basic Settings&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image2_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image2_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image2 border=0 alt=image2 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image2_thumb_1.png" width=525 height=283 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image2_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Configuring FTP Authentication&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image3_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image3_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image3 border=0 alt=image3 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image3_thumb.png" width=416 height=162 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image3_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Configuring FTP Authorization&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image4_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image4_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image4 border=0 alt=image4 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image4_thumb.png" width=486 height=523 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image4_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Configuring FTP Request Filtering. Add Deny Command… LIST and NLST as shown below&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image19_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image19_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image19 border=0 alt=image19 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image19_thumb.png" width=530 height=261 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image19_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click on Incoming and click FTP Authorization Rules and verify that you have Anonymous Users with Read, Write permissions.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image18_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image18_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image18 border=0 alt=image18 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image18_thumb.png" width=661 height=187 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image18_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, let’s test the FTP site from a command prompt&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image16_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image16_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image16 border=0 alt=image16 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image16_thumb.png" width=574 height=265 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image16_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Nice.&lt;/P&gt;
&lt;P&gt;Check the FTP logfile and we see the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image17_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image17_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image17 border=0 alt=image17 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image17_thumb.png" width=850 height=161 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/BlinddropinIIS77.5_9385/image17_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Wondering why we added that FTP Request Filtering setting above. &lt;/P&gt;
&lt;P&gt;I tried “ls” command above to see if the files / folder are listed. I got the error 500 i.e. “internal server error” because the command is not allowed with a substatus 5 i.e. “Access is denied.” as per the FTP log above. &lt;/P&gt;
&lt;P&gt;If you don’t add the above request filtering you will be able to see the Incoming folder but you won’t be able to change to the folder nor add file / folder in the FTPRoot folder. This looks like a neat workaround to what was default behavior in Windows Server 2003 IIS 6 FTP configuration.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9600763" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="General Troubleshooting" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/General+Troubleshooting/" /><category term="FTP" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/FTP/" /><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /></entry><entry><title>HTTP Error 404.3 – Not Found, when browsing WCF application after reinstalling IIS</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/05/07/http-error-404-3-not-found-when-browsing-wcf-application-after-reinstalling-iis.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/05/07/http-error-404-3-not-found-when-browsing-wcf-application-after-reinstalling-iis.aspx</id><published>2009-05-07T02:43:00Z</published><updated>2009-05-07T02:43:00Z</updated><content type="html">&lt;P&gt;Sometime back my friend had a weird issue on his machine. He was working on his WCF application and as per his requirement he ran some command which brought his IIS down.&lt;/P&gt;
&lt;P&gt;So, to resolve the issue he reinstalled IIS and now his WCF application won’t work. &lt;/P&gt;
&lt;P&gt;Here is the scenario:&lt;/P&gt;
&lt;P&gt;I am using Win 7 RC for our test; his was a Windows Vista box. I have IIS installed and have Microsoft .NET Framework 3.5.1 enabled, here’s the screenshot&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image1_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image1_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image1 border=0 alt=image1 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image1_thumb.png" width=443 height=256 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image1_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I created a simple WCF page such that it proves WCF is working on the machine.&lt;/P&gt;
&lt;P&gt;Now, let’s uninstall IIS. Look at the prompt here&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image2_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image2_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image2 border=0 alt=image2 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image2_thumb_1.png" width=392 height=280 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image2_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The prompt says it will turn off the Windows Communication Foundation HTTP Activation.&lt;/P&gt;
&lt;P&gt;On Windows Server 2008, it will prompt you something like this&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image8_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image8_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image8 border=0 alt=image8 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image8_thumb_1.png" width=658 height=290 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image8_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;On Windows Server 2008 R2 RC1, it shows like this&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image9_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image9_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image9 border=0 alt=image9 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image9_thumb.png" width=613 height=237 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image9_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click Yes&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image3_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image3_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image3 border=0 alt=image3 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image3_thumb_1.png" width=421 height=112 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image3_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click OK&lt;/P&gt;
&lt;P&gt;IIS is uninstalled.&lt;/P&gt;
&lt;P&gt;Check the inetsrv folder and you will find few files and the applicationHost.config remaining&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image4_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image4_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image4 border=0 alt=image4 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image4_thumb.png" width=618 height=379 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image4_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, I reinstall IIS again and this time not selecting the WCF HTTP Activation because many of the times we will miss this option.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image013_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image013_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image013 border=0 alt=image013 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image013_thumb.png" width=409 height=165 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image013_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Start IIS Manager -&amp;gt; Expand Sites and this is what I see&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image015_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image015_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image015 border=0 alt=image015 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image015_thumb.png" width=570 height=94 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image015_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;All my other websites have Binding missing.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image017_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image017_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image017 border=0 alt=image017 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image017_thumb.png" width=776 height=456 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image017_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is because the old applicationHost.config had the configuration information and when we uninstalled IIS, the skeleton of the new websites stayed. Hence we can see the websites but the configuration missing.&lt;/P&gt;
&lt;P&gt;I added the Bindings manually and now the websites are looking good. &lt;/P&gt;
&lt;P&gt;Let’s look at the original issue. I will browse the WCF application and it fails&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image019_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image019_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image019 border=0 alt=image019 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image019_thumb.png" width=887 height=455 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/HTT.3NotFoundwhenbrowsingWCFapplicationa_E11F/image019_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I really love IIS 7 for all the good things. The error is self-explanatory and it clearly says the handler or the MIME mapping is missing.&lt;/P&gt;
&lt;P&gt;The error code &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;0x80070032&lt;/SPAN&gt; means &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;“The request is not supported”&lt;/SPAN&gt;. IIS does not know what the file Service.svc is.&lt;/P&gt;
&lt;P&gt;Open applicationHost.config and search for .svc and it returns with nothing.&lt;/P&gt;
&lt;P&gt;Open, command prompt and go to &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Run the command &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;ServiceModelReg.exe –i&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This command acts similar to what aspnet_regiis.exe –i does. ServiceModelReg.exe –i will install Windows Communication Foundation and update scriptmaps at the Metabase root i.e. in the applicationHost.config.&lt;/P&gt;
&lt;P&gt;Open applicationHost.config and now look for .svc&lt;/P&gt;
&lt;P&gt;You will find the following handler mappings&lt;/P&gt;
&lt;DIV style="BORDER-BOTTOM: thin solid; BORDER-LEFT: thin solid; BACKGROUND-COLOR: rgb(79,110,152); WIDTH: 80%; HEIGHT: auto; COLOR: rgb(255,255,255); OVERFLOW: auto; BORDER-TOP: thin solid; BORDER-RIGHT: thin solid"&gt;&lt;PRE style="FONT-FAMILY: consolas,'Courier New',courier,monospace; FONT-SIZE: 15px; CURSOR: text"&gt;&amp;lt;add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" /&amp;gt;
&amp;lt;add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /&amp;gt;
&amp;lt;add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;Browse the page again and now Service.svc executed fine.&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9592370" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="General Troubleshooting" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/General+Troubleshooting/" /><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term=".NET" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/-NET/" /></entry><entry><title>IIS 7/7.5 .net configuration settings using appcmd.exe and IIS Manager</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/05/07/iis-7-7-5-net-configuration-settings-using-appcmd-exe-and-iis-manager.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/05/07/iis-7-7-5-net-configuration-settings-using-appcmd-exe-and-iis-manager.aspx</id><published>2009-05-07T00:27:00Z</published><updated>2009-05-07T00:27:00Z</updated><content type="html">&lt;P&gt;Just recently I came across an issue where customer was using appcmd.exe to make changes to the Application Settings and Configuration Settings he had made using IIS Manager. I am using Application Settings for this post but it holds true for all the ASP.NET settings from IIS Manager.&lt;/P&gt;
&lt;P&gt;Application Settings using IIS Manager first at the Server Level, in our example it’s Sample&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image1_1.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image1_1.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image1 border=0 alt=image1 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image1_thumb_1.png" width=642 height=219 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image1_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;the setting gets reflected in web.config file in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image2 border=0 alt=image2 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image2_thumb.png" width=386 height=90 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image2_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, creating the new application settings on the Default Web Site, in our example it’s Sample2.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image3_1.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image3_1.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image3 border=0 alt=image3 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image3_thumb_1.png" width=642 height=218 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image3_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;An entry is created in the web.config file at the website’s home directory, in our example its C:\inetpub\wwwroot folder. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image4 border=0 alt=image4 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image4_thumb.png" width=390 height=124 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image4_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;If you create a new Application Settings at a virdir level, a new web.config will be created with the entry.&lt;/P&gt;
&lt;P&gt;Now, the customer was following the article &lt;A href="http://technet.microsoft.com/en-us/library/cc732824.aspx" target=_blank mce_href="http://technet.microsoft.com/en-us/library/cc732824.aspx"&gt;IIS 7.0: Remove an Application Setting&lt;/A&gt; and using appcmd.exe he wanted to remove the first entry i.e. Sample&lt;/P&gt;
&lt;P&gt;The command he used as per the article was: &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(255,0,0); FONT-SIZE: 15px"&gt;appcmd.exe set config /commit:MACHINE /section:appSettings /-“[key=’Sample’,value=’1’]”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Result: &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image5.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image5.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image5 border=0 alt=image5 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image5_thumb.png" width=643 height=64 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image5_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So, what’s going wrong?&lt;/P&gt;
&lt;P&gt;Here the command is looking for the appSettings parameter and the key in MACHINE i.e. machine.config but it can not find it and hence the error. We now know the key is created in web.config, so what is the command to make the changes in web.config?&lt;/P&gt;
&lt;P&gt;The correct command is: &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;appcmd.exe set config /commit:WEBROOT /section:appSettings /-“[key=’Sample’,value=’1’]”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image6.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image6 border=0 alt=image6 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image6_thumb.png" width=645 height=70 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image6_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Check the IIS Manager and the entry is now removed.&lt;/P&gt;
&lt;P&gt;Similarly, to remove appSettings from Default Web Site, the command is: &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;appcmd.exe set config “Default Web Site” /section:appSettings /-“[key=’Sample2’,value=’2’]”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image7.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image7.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image7 border=0 alt=image7 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image7_thumb.png" width=644 height=94 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image7_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;And to remove appSettings from NewVirDir i.e. the virtual directory under Default Web Site, the command is: &lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;appcmd.exe set config “Default Web Site/NewVirDir” /section:appSettings /-“[key=’Sample3’,value=’3’]”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image8.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image8 border=0 alt=image8 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image8_thumb.png" width=644 height=87 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image8_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, let’s create appSettings using appcmd.exe using the different variant’s and see where they get reflected&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image9.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image9.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image9 border=0 alt=image9 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image9_thumb.png" width=644 height=79 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image9_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Machine.config in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image10.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image10 border=0 alt=image10 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image10_thumb.png" width=645 height=81 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image10_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Web.config in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image11.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image11.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image11 border=0 alt=image11 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image11_thumb.png" width=644 height=83 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image11_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;applicationHost.config in C:\Windows\System32\inetsrv\config, since applicationHost.config is the global configuration file for IIS&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image12.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image12.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image12 border=0 alt=image12 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image12_thumb.png" width=645 height=82 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image12_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;applicationHost.config in C:\Windows\System32\inetsrv\config. The above command does not make much sense as it is not specific to Default Web Site and since it’s reflected in applicationHost.config it will apply for all web sites/virdir on the server which inherits the setting.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image13.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image13.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image13 border=0 alt=image13 src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image13_thumb.png" width=644 height=89 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/IIS77.5configurationset.exeandIISManager_D318/image13_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;web.config in C:\inetpub\wwwroot folder&lt;/P&gt;
&lt;P&gt;HTH. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9592120" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="General Troubleshooting" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/General+Troubleshooting/" /><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /><category term="appcmd" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/appcmd/" /></entry><entry><title>Manually migrating websites from IIS 5.0 to IIS 6.0 (or even IIS 5.0 to IIS 5.0)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/03/17/manually-migrating-websites-from-iis-5-0-to-iis-6-0.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/03/17/manually-migrating-websites-from-iis-5-0-to-iis-6-0.aspx</id><published>2009-03-17T11:23:00Z</published><updated>2009-03-17T11:23:00Z</updated><content type="html">&lt;P&gt;Just recently I came across an issue where a customer wanted to migrate websites from IIS 5 to IIS 6. The best and recommended option is to use “&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2aefc3e4-ce97-4f25-ace6-127f933a6cd2&amp;amp;DisplayLang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2aefc3e4-ce97-4f25-ace6-127f933a6cd2&amp;amp;DisplayLang=en"&gt;Internet Information Services 6.0 Migration Tool&lt;/A&gt;”. But there are a few limitations in using the Migration Tool they are listed in “Before You Begin” in the IIS6MigrationToolUserGuide.doc.&lt;/P&gt;
&lt;P&gt;Here in our case we did not had network connectivity between the IIS 5 and IIS 6 servers. So, we decided to manually migrate the websites from IIS 5 to IIS 6.&lt;/P&gt;
&lt;P&gt;Steps we follow:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Take a backup of IIS 5.0 and IIS 6.0 metabase, here is how you do it in &lt;A href="http://support.microsoft.com/kb/300672" target=_blank mce_href="http://support.microsoft.com/kb/300672"&gt;IIS 5.0&lt;/A&gt; and &lt;A href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d40b56ee-90d4-45e1-9b82-4aaea90eb02e.mspx?mfr=true" target=_blank mce_href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d40b56ee-90d4-45e1-9b82-4aaea90eb02e.mspx?mfr=true"&gt;IIS 6.0&lt;/A&gt;. &lt;/LI&gt;
&lt;LI&gt;Remember, you need to verify that the clients are not accessing the websites. &lt;/LI&gt;
&lt;LI&gt;Copy the website contents &lt;/LI&gt;
&lt;LI&gt;Install &lt;A href="http://www.microsoft.com/downloads/thankyou.aspx?familyId=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displayLang=en" target=_blank mce_href="http://www.microsoft.com/downloads/thankyou.aspx?familyId=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displayLang=en"&gt;Internet Information Services (IIS) 6.0 Resource Kit Tools&lt;/A&gt; on IIS 6.0 server. &lt;/LI&gt;
&lt;LI&gt;Copy the Metabase.bin file from IIS 5.0 server and paste it on IIS 6.0 server. You can find the Metabase.bin in C:\WINDOWS\system32\inetsrv folder. &lt;/LI&gt;
&lt;LI&gt;Open Metabase Explorer &lt;/LI&gt;
&lt;LI&gt;Click on Metabase –&amp;gt; Import Key… &lt;/LI&gt;
&lt;LI&gt;Browse to the Metabase.bin and click Open, You will see a prompt as shown below, ignore it. Click OK 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb.png" width=458 height=121 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;This is what you will see 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_1.png" width=302 height=108 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;Under Archive (Metabase.bin) expand LM –&amp;gt; W3SVC and you will see different nodes. I have 1 to 4 because I have 4 websites. &lt;/LI&gt;
&lt;LI&gt;You can verify which website you want to migrate by clicking on the node and checking the ServerComment. In my case I would like to migrate website 3 which is “Dotnet Web Site”. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_2.png" width=669 height=274 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_2.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;I would also like to migrate “Default Web Site” which is website 1. &lt;/LI&gt;
&lt;LI&gt;Just click on 1 under Archive (Metabase.bin) and drag and drop it under (local) –&amp;gt; W3SVC. Remember not to drop it on 1 but on W3SVC. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_4.png" width=203 height=492 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_4.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;You will get a prompt. If you don’t see the prompt you are not dropping the website correctly. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_14.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_6.png" width=275 height=226 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_6.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;Select Replace the key. &lt;/LI&gt;
&lt;LI&gt;Open IIS MMC, (Start –&amp;gt; Run type inetmgr). You will see the virtual directories/files/folder seen in the old IIS 5 mmc now displayed in IIS 6 mmc. See that virtual app PerlEx, that’s Perl website. I need to make sure that C:\Perl\eg\PerlEx folder exists to get it working. If it happens to be in a different location change it in IIS MMC and that should be good. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_12.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_12.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_5.png" width=561 height=367 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;You can drag and drop other websites as well using Metabase Explorer and they will get reflected in the IIS 6 MMC. &lt;/LI&gt;
&lt;LI&gt;Now, lets get Perl and PHP configured in IIS 6 as they won’t be configured by default. If you are using ActivePerl 5.10 as I am, the job is easy. Just install ActivePerl 5.10 and it will configure all the mappings. But if not, and you are just copy pasting the Perl folder from the old server. You will need to create the mappings for the Perl extensions. &lt;/LI&gt;
&lt;LI&gt;This is how you do it. 
&lt;OL&gt;
&lt;LI&gt;Right click on Web Site (Default Web Site in our case) &lt;/LI&gt;
&lt;LI&gt;Click Properties &lt;/LI&gt;
&lt;LI&gt;Click Home Directory tab and click the Configuration… button &lt;/LI&gt;
&lt;LI&gt;In Mappings, click Add.. &lt;/LI&gt;
&lt;LI&gt;Executable: C:\Perl\bin\PerlEx30.dll &lt;/LI&gt;
&lt;LI&gt;Extensions: .aspl &lt;/LI&gt;
&lt;LI&gt;Verbs, click Limit to: type GET,HEAD,POST &lt;/LI&gt;
&lt;LI&gt;Check “Script engine” and “Verify that file exists” &lt;/LI&gt;
&lt;LI&gt;Click OK &lt;/LI&gt;
&lt;LI&gt;Repeat steps 5 to 9 for the below extensions: &lt;/LI&gt;
&lt;LI&gt;.pl mapped to C:\Perl\bin\perl.exe "%s" %s &lt;/LI&gt;
&lt;LI&gt;.plex mapped to C:\Perl\bin\PerlEx30.dll &lt;/LI&gt;
&lt;LI&gt;.plx mapped to C:\Perl\bin\perlis.dll &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;This is how it will look like: 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_20.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_20.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_9.png" width=323 height=76 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_9.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;Now, when you browse a page with .pl or .plex extension, it gives 404. IIS logfile will show the error code as 404 1260. The error code means “ERROR_ACCESS_DISABLED_BY_POLICY”. This is caused because of the web server extension lockdown policy. &lt;/LI&gt;
&lt;LI&gt;Click Web Service Extensions and lets create Web service extensions for Perl. 
&lt;OL&gt;
&lt;LI&gt;Click Add a new Web service extension &lt;/LI&gt;
&lt;LI&gt;Extension name: type &lt;B&gt;Perl CGI Extension&lt;/B&gt; &lt;/LI&gt;
&lt;LI&gt;Click Add… &lt;/LI&gt;
&lt;LI&gt;In Path to file: type C:\Perl\bin\perl.exe "%s" %s &lt;/LI&gt;
&lt;LI&gt;Check the Set extension status to Allowed &lt;/LI&gt;
&lt;LI&gt;Click OK &lt;/LI&gt;
&lt;LI&gt;Now, create another extension with the name: &lt;B&gt;Perl ISAPI Extension&lt;/B&gt; &lt;/LI&gt;
&lt;LI&gt;In Path to file: type C:\Perl\bin\perlis.dll &lt;/LI&gt;
&lt;LI&gt;Click another extension with the name: &lt;B&gt;PerlEx ISAPI Extension&lt;/B&gt; &lt;/LI&gt;
&lt;LI&gt;In Path to file: type C:\Perl\bin\PerlEx30.dll &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;We created three web service extensions as they are specific to their functionality. One is CGI, the other is for the ISAPI’s Perl and PerlEx respectively. So, in case if you are interested in serving only .plex or .aspl extensions create and enable only the respective ISAPI mapping and its Web Service extension. 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_28.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_28.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_13.png" width=257 height=56 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_13.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;Browse the Perl website and it works fine. &lt;/LI&gt;
&lt;LI&gt;Now, lets create PHP Mapping and Web Service extension. 
&lt;OL&gt;
&lt;LI&gt;For Application Mapping 
&lt;OL&gt;
&lt;LI&gt;Right click on Web Site (Php Web Site in our case) &lt;/LI&gt;
&lt;LI&gt;Click Properties &lt;/LI&gt;
&lt;LI&gt;Click Home Directory tab and click Configuration… button &lt;/LI&gt;
&lt;LI&gt;In Mappings, click Add.. &lt;/LI&gt;
&lt;LI&gt;Executable: C:\PHP\php5isapi.dll &lt;/LI&gt;
&lt;LI&gt;Extensions: .php &lt;/LI&gt;
&lt;LI&gt;Verbs, click All verbs &lt;/LI&gt;
&lt;LI&gt;Check “Script engine” and “Verify that file exists” &lt;/LI&gt;
&lt;LI&gt;Click OK &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;For Web Service Extension 
&lt;OL&gt;
&lt;LI&gt;Click Add a new Web service extension &lt;/LI&gt;
&lt;LI&gt;Extension name: type &lt;B&gt;PHP&lt;/B&gt; &lt;/LI&gt;
&lt;LI&gt;Click Add… &lt;/LI&gt;
&lt;LI&gt;In Path to file: type C:\PHP\php5isapi.dll &lt;/LI&gt;
&lt;LI&gt;Check the Set extension status to Allowed &lt;/LI&gt;
&lt;LI&gt;Click OK &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;
&lt;LI&gt;Browse, .php website and that works fine. &lt;/LI&gt;
&lt;LI&gt;Now, for my “Dotnet Web Site”.&lt;I&gt;&amp;nbsp;&lt;/I&gt;I was lucky to have my Windows 2000 with a %SystemRoot% folder as WINDOWS. Sometimes you will see WINNT. &lt;/LI&gt;
&lt;LI&gt;My “Dotnet Web Site” on IIS 5.0 is using .net 2.0 and I don’t have .net 2.0 installed on Windows Server 2003. &lt;/LI&gt;
&lt;LI&gt;Check out the Application Mapping for the website 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_30.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_30.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_14.png" width=321 height=57 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/MigratingwebsitesfromIIS5.0toIIS6.0_CFD8/image_thumb_14.png"&gt;&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;So, if your application requires .net 2.0 you need to install .net 2.0 on your machine. If the application is not specific to .net 2.0 and if it will work fine on .net 1.1 then just run “&lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322&amp;gt;aspnet_regiis.exe -r&lt;/SPAN&gt;” and it will remap all the ASP.NET scripts with .net 1.1 version. &lt;/LI&gt;
&lt;LI&gt;I had to install .net 2.0 to get my application running. &lt;/LI&gt;&lt;/OL&gt;
&lt;P mce_keep="true"&gt;Incase if you are planning to restore old IIS 5.0 metabase on&amp;nbsp;a newly installed Windows Server 2000 IIS 5.0 server. The steps above can help you move the websites from old metabase to&amp;nbsp;the new IIS 5 server. You can either install IIS 6 Resource Kit or just copy the Metabase Explorer folder i.e. C:\Program Files\IIS Resources\Metabase Explorer to the IIS 5 server.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: red; FONT-WEIGHT: bold"&gt;NOTE: Please play around with this in your test environment before you use it on your production servers. Leverage Microsoft PSS if you have complexities in your existing websites which you need to migrate.&lt;/SPAN&gt; &lt;BR&gt;&lt;/P&gt;&lt;SPAN style="COLOR: red; FONT-WEIGHT: bold"&gt;&lt;/SPAN&gt;
&lt;P&gt;HTH&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9482938" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="General Troubleshooting" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/General+Troubleshooting/" /><category term="Metabase" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/Metabase/" /><category term="IIS 6" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+6/" /><category term="IIS 5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+5/" /></entry><entry><title>Binding Issue: WWW Service did not register the URL prefix http://*:80</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/vivekkum/archive/2009/03/05/binding-issue-www-service-did-not-register-the-url-prefix-http-80.aspx" /><id>http://blogs.msdn.com/b/vivekkum/archive/2009/03/05/binding-issue-www-service-did-not-register-the-url-prefix-http-80.aspx</id><published>2009-03-05T15:50:00Z</published><updated>2009-03-05T15:50:00Z</updated><content type="html">&lt;P&gt;Sometime back I was working on an incident with a customer who was facing an issue when trying to access his application on Windows Server 2008. I will reproduce the issue using Apache for everyone’s benefit. &lt;/P&gt;
&lt;P&gt;If you have a server that has some kind of monitoring tool which is web based or some application which needs port 80 or port 443, then you can face this issue. &lt;/P&gt;
&lt;P&gt;Scenario:&lt;/P&gt;
&lt;P&gt;I am installing Apache 2.2.11 on my Windows Server 2008 machine which has IIS 7 installed on it. So, wondering why I am trying to install Apache on Windows Server 2008, simply because it’s a web server. &lt;/P&gt;
&lt;P&gt;Checkout the screenshot below. Apache will be installed on Port 80 (default setting). Sometimes some application will silently get installed on your machine on port 80.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_1.png" width=510 height=387 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_1.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After sometime, I get the following error:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_2.png" width=656 height=146 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Checked the Event Viewer and I see the Event as shown below. Looks like Apache wanted to bind itself on 0.0.0.0:80 and fails as it does not have access.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_3.png" width=563 height=224 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Opened Command prompt as an Administrator and ran “&lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;netstat –ano&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_4.png" width=636 height=103 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I see port 80 is controlled by PID 4 i.e System. &lt;/P&gt;
&lt;P&gt;Now, stopped IIS Services by firing “&lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;iisreset /stop&lt;/SPAN&gt;”. &lt;/P&gt;
&lt;P&gt;Started Apache 2.2 service from Services.msc and fired “&lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;iisreset&lt;/SPAN&gt;” again.&lt;/P&gt;
&lt;P&gt;Opened, IIS Manager and I see all websites on port 80 stopped.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_16.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_16.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_7.png" width=389 height=62 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_7.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Check the Event Viewer&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_18.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_18.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_8.png" width=548 height=224 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_8.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_20.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_20.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_9.png" width=543 height=224 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_9.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_22.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_22.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_10.png" width=543 height=223 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_10.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Run “&lt;SPAN style="BACKGROUND-COLOR: rgb(244,244,244); FONT-FAMILY: consolas; COLOR: rgb(0,107,173); FONT-SIZE: 15px"&gt;netstat –ano&lt;/SPAN&gt;” and this is what I see:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_14.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_6.png" width=635 height=98 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_6.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;PID 1256 or Apache HTTP Server has control over port 80 and hence the issue.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_24.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_24.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_11.png" width=484 height=37 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_11.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So what is the issue, checkout the article: &lt;A href="http://support.microsoft.com/kb/890015" target=_blank mce_href="http://support.microsoft.com/kb/890015"&gt;You receive a "The process cannot access the file because it is being used by another process" error message when you try to start a Web site in the Internet Information Services MMC snap-in&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Typically, this issue occurs when one or more of the following conditions are true:&lt;/I&gt;&lt;/P&gt;&lt;I&gt;
&lt;UL&gt;
&lt;LI&gt;Another process is using port 80 or port 443 on the computer that is running IIS. &lt;B&gt;By default, IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL)&lt;/B&gt;. &lt;/LI&gt;
&lt;LI&gt;The ListenOnlyList registry subkey is not configured correctly on the computer that’s running IIS. &lt;/LI&gt;&lt;/UL&gt;&lt;/I&gt;
&lt;P&gt;&amp;lt;/snip&amp;gt;&lt;/P&gt;
&lt;P&gt;Solution:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run Apache on a different port i.e. other than port 80 &lt;/LI&gt;
&lt;LI&gt;Get a new IP Address and configure IIS to run on a particular IP Address by configuring ListenOnlyList &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;On Windows Server 2008, you can use netsh to add the ListenOnlyList.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_28.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_28.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_13.png" width=418 height=176 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_13.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Verifying the same in the registry.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_26.png" mce_href="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_26.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_12.png" width=671 height=123 mce_src="http://blogs.msdn.com/blogfiles/vivekkum/WindowsLiveWriter/8a8ad92be53a_DF4A/image_thumb_12.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9459639" width="1" height="1"&gt;</content><author><name>Vivek Kumbhar</name><uri>http://blogs.msdn.com/vivekkum/ProfileUrlRedirect.ashx</uri></author><category term="General Troubleshooting" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/General+Troubleshooting/" /><category term="IIS 6" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+6/" /><category term="IIS 7" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7/" /><category term="IIS 7.5" scheme="http://blogs.msdn.com/b/vivekkum/archive/tags/IIS+7-5/" /></entry></feed>