<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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/"><channel><title>sudt</title><link>http://blogs.iis.net/sudt/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Collecting ETW traces for FTP Sessions</title><link>http://blogs.iis.net/sudt/archive/2008/08/28/collecting-etw-traces-for-ftp-sessions.aspx</link><pubDate>Thu, 28 Aug 2008 23:28:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2587529</guid><dc:creator>SuDT</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/sudt/rsscomments.aspx?PostID=2587529</wfw:commentRss><comments>http://blogs.iis.net/sudt/archive/2008/08/28/collecting-etw-traces-for-ftp-sessions.aspx#comments</comments><description>&lt;p&gt;Having problems with FTP Server not returning the expected return code? You have checked the detailed error message, nt event log and ftp log files, still can not get to the bottom of the problem?&lt;/p&gt;  &lt;p&gt;Here are few simple steps you can follow to trace your ftp session and uncover the real cause. This feature is supported on Microsoft FTP Sever 7.0, which can be downloaded from &lt;a title="http://www.microsoft.com/downloads/details.aspx?familyid=2ECCF14A-5C4F-4CFB-9153-CFE1204B346A&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?familyid=2ECCF14A-5C4F-4CFB-9153-CFE1204B346A&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=2ECCF14A-5C4F-4CFB-9153-CFE1204B346A&amp;amp;displaylang=en&lt;/a&gt;, and above.&lt;/p&gt;  &lt;p&gt;1. Start FTP ETW Session using logman.exe&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&amp;#160;&amp;#160; Note: You need to be a system administrator on the FTP Server to be able to execute this command.&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;logman start &amp;quot;ftp&amp;quot; -p &amp;quot;IIS: Ftp Server&amp;quot; 255 5 –ets&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;2. Reproduce the error you are hitting&lt;/p&gt;  &lt;p&gt;3. Stop FTP ETW Session using logman.exe&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;em&gt;Note: You need to be a system administrator on the FTP Server to be able to execute this command.&lt;/em&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;logman stop &amp;quot;ftp&amp;quot; –ets&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;4. Parse the etw log file using logparser.exe&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&amp;#160;&amp;#160;&amp;#160; Note: LogParser can be downloaded from &lt;/em&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07^&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en"&gt;&lt;em&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;Path To LogParser&amp;gt;\logparser &amp;quot;select EventTypeName, UserData from ftp.etl&amp;quot; -e 20 -o:DATAGRID -rtp 20 -compactModeSep &amp;quot; | &amp;quot;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The final step will open the etw log in the following grid format &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/sudt/WindowsLiveWriter/CollectingETWtracesforFTPSessions_E7A7/image_4.png"&gt;&lt;img title="image" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="386" alt="image" src="http://blogs.iis.net/blogs/sudt/WindowsLiveWriter/CollectingETWtracesforFTPSessions_E7A7/image_thumb_1.png" width="1002" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;In the above case the error is (Event #18) 0x8007002 (Specified File Not Found).&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;-Suditi&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2587529" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/sudt/archive/tags/Publishing/default.aspx">Publishing</category><category domain="http://blogs.iis.net/sudt/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.iis.net/sudt/archive/tags/FTP/default.aspx">FTP</category></item><item><title>IIS7 Upgrade from IIS5.1 with out URLScan</title><link>http://blogs.iis.net/sudt/archive/2007/04/11/upgrade-upgrade-and-upgrade.aspx</link><pubDate>Thu, 12 Apr 2007 02:05:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1661955</guid><dc:creator>SuDT</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/sudt/rsscomments.aspx?PostID=1661955</wfw:commentRss><comments>http://blogs.iis.net/sudt/archive/2007/04/11/upgrade-upgrade-and-upgrade.aspx#comments</comments><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;I assume, after upgrading your IIS5.1 box, which was happily hosting your personal web site for last 5 years, to IIS7.0, no more works. Not to worry, check the following few things and you should be able to get back working web site again. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Keeping security&amp;nbsp;threat&amp;nbsp;in mind, we have taken some security steps to prevent any malicious attack by the “not so good internet citizens” on your box. &lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;If you did not have &lt;B style="mso-bidi-font-weight: normal"&gt;&lt;A class="" title=URLScan href="http://www.microsoft.com/downloads/details.aspx?familyid=23D18937-DD7E-4613-9928-7F94EF1C902A&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=23D18937-DD7E-4613-9928-7F94EF1C902A&amp;amp;displaylang=en"&gt;URLScan&lt;/A&gt;&lt;/B&gt;&amp;nbsp;installed with your IIS5.1, then on upgrade, IIS services will be disabled. You can start IIS Admin UI (inetmgr.exe) and a pop up should appear with the right set information on why and what services are disabled and how to enable them. The same set of services will also be disabled if you had &lt;B style="mso-bidi-font-weight: normal"&gt;&lt;A class="" href="http://msdn2.microsoft.com/en-us/library/aa278908(office.10).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa278908(office.10).aspx"&gt;Front Page Server Extensions&lt;/A&gt;&lt;/B&gt; installed on your XP install. Mainly the following services will be disabled.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1&amp;gt;&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;World Wide Publishing Service (w3svc)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2&amp;gt;&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;IIS Admin Service (iisadmin)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;3&amp;gt;&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Microsoft FTP Service (msftpsvc)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;You can simply go to services.msc (start &amp;gt; services.msc)&amp;nbsp;and enable&amp;nbsp;the above mentioned services first and then start them OR simply type the following lines in a command prompt&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;SC CONFIG &amp;lt;service name&amp;gt; start= demand&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;NET START &amp;lt;service name&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;You can use RequestFiltering module in IIS7.0 in the place of UrlScan tool and configure your server appropriately.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=1661955" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/sudt/archive/tags/IIS+5.1+Upgrade/default.aspx">IIS 5.1 Upgrade</category><category domain="http://blogs.iis.net/sudt/archive/tags/Service+Disabled/default.aspx">Service Disabled</category><category domain="http://blogs.iis.net/sudt/archive/tags/IIS+7.0+Upgrade/default.aspx">IIS 7.0 Upgrade</category><category domain="http://blogs.iis.net/sudt/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category></item></channel></rss>