<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>The Way I See It</title><link>http://blogs.msdn.com/vijaysk/default.aspx</link><description>&lt;H3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Vijayshinva Karnure&lt;/H3&gt;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/msdn/vijaysk" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>ASP.NET Debugger Extension – Manual Install / Uninstall</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/txApz0VEBpY/asp-net-debugger-extension-manual-install-uninstall.aspx</link><pubDate>Tue, 10 Nov 2009 02:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9919943</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9919943.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9919943</wfw:commentRss><description>&lt;P&gt;In case you have problems with the setup files for &lt;A href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-for-iis-7.aspx"&gt;ASP.NET Debugger Extension&lt;/A&gt; you can manually install the module.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FILES &lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=2 width=500&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=200&gt;ADE.dll&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;This is the main module that loads in IIS &lt;BR&gt;Location : GAC&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=200&gt;ADEWOWHelper.exe&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;This is a helper exe that is used in x64 environments to support WOW worker processes &lt;BR&gt;Location : system32\inetsrv&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=200&gt;MdbgCore.dll&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;This is the dll that supports the debugging stuff. &lt;BR&gt;Location : system32\inetsrv&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;All the files are in &lt;A title="ASP.NET Debugger Extension Files" href="http://blogs.msdn.com/vijaysk/attachment/9919943.ashx" mce_href="http://blogs.msdn.com/vijaysk/attachment/9919943.ashx"&gt;this zip file&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Getting Files In Place&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To get ADE.dll in the GAC (Global Assembly Cache) you can just drop it in the c:\windows\assembly folder.&lt;/P&gt;
&lt;P&gt;You need ADEWOWHelper.exe only on x64 machines. Or you can skip this file. You need to drop the ADEWOWHelper.exe and MdbgCore.dll in the c:\windows\system32\inetsrv folder.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Registering the module to show up in IIS Manager&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You need to edit the administration.config so that ADE will show up in the IIS Manager.&lt;/P&gt;
&lt;P&gt;Stop the WAS service so that the file is not locked&lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;net stop WAS /y&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Open the file C:\Windows\System32\inetsrv\config\administration.config in notepad ( You need “Run as administrator”)&lt;/P&gt;
&lt;P&gt;You need to edit two sections &amp;lt;modulesProvider&amp;gt; and &amp;lt;modules&amp;gt;&lt;/P&gt;
&lt;P&gt;In the &amp;lt;moduleProviders&amp;gt; section add &lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;&amp;lt;add name="ADE" type="vijaysk.adeModuleProvider, ADE, Version=1.0.0.0, Culture=neutral, PublicKeyToken=83baeac24a5b6379" /&amp;gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;In the &amp;lt;modules&amp;gt; section you need to add&lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;&amp;lt;add name="ADE" /&amp;gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Start your WAS and IIS services and open a new instance of IIS. &lt;/P&gt;
&lt;P&gt;To uninstall you can remove the files and the entries in the administration.config&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9919943" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=txApz0VEBpY:0k2toMaAm-U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=txApz0VEBpY:0k2toMaAm-U:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=txApz0VEBpY:0k2toMaAm-U:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=txApz0VEBpY:0k2toMaAm-U:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=txApz0VEBpY:0k2toMaAm-U:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/txApz0VEBpY" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/vijaysk/attachment/9919943.ashx" length="154167" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Debug/default.aspx">Debug</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/WinDbg/default.aspx">WinDbg</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/11/10/asp-net-debugger-extension-manual-install-uninstall.aspx</feedburner:origLink></item><item><title>ASP.NET Debugger Extension – Trace Process for Debug Events</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/hNXWMgZM5NA/asp-net-debugger-extension-trace-process-for-debug-events.aspx</link><pubDate>Fri, 06 Nov 2009 02:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9918239</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9918239.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9918239</wfw:commentRss><description>&lt;p&gt;With &lt;a href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-for-iis-7.aspx"&gt;ASP.NET Debugger Extension&lt;/a&gt; you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. &lt;/p&gt;  &lt;p&gt;You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every time an exceptions occurs you will get a callstack leading to that exception message.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionTraceProcessforD_22E9/adeTraceExceptions_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="adeTraceExceptions" border="0" alt="adeTraceExceptions" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionTraceProcessforD_22E9/adeTraceExceptions_thumb.jpg" width="596" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918239" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=hNXWMgZM5NA:Q2OLs3DkvgA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=hNXWMgZM5NA:Q2OLs3DkvgA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=hNXWMgZM5NA:Q2OLs3DkvgA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=hNXWMgZM5NA:Q2OLs3DkvgA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=hNXWMgZM5NA:Q2OLs3DkvgA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/hNXWMgZM5NA" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Debug/default.aspx">Debug</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/WinDbg/default.aspx">WinDbg</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/11/06/asp-net-debugger-extension-trace-process-for-debug-events.aspx</feedburner:origLink></item><item><title>ASP.NET Debugger Extension – Find Debug Modules</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/yDmhh4v9DL0/asp-net-debugger-extension-find-debug-modules.aspx</link><pubDate>Thu, 05 Nov 2009 11:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917657</guid><dc:creator>vijaysk</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9917657.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9917657</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-for-iis-7.aspx"&gt;ASP.NET Debugger Extension&lt;/a&gt; has an useful feature to find modules that are built in debug mode. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionFindDebugModules_511C/adeFindDebugModules_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="adeFindDebugModules" border="0" alt="adeFindDebugModules" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionFindDebugModules_511C/adeFindDebugModules_thumb.jpg" width="490" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. &lt;/p&gt;  &lt;p&gt;Debug modules should usually not be deployed on production servers as the code generated is not optimized.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917657" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=yDmhh4v9DL0:iHLiukr6jnU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=yDmhh4v9DL0:iHLiukr6jnU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=yDmhh4v9DL0:iHLiukr6jnU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=yDmhh4v9DL0:iHLiukr6jnU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=yDmhh4v9DL0:iHLiukr6jnU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/yDmhh4v9DL0" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Debug/default.aspx">Debug</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/WinDbg/default.aspx">WinDbg</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/11/05/asp-net-debugger-extension-find-debug-modules.aspx</feedburner:origLink></item><item><title>ASP.NET Debugger Extension – Callstack Viewer</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/OHDHgvtmqVk/asp-net-debugger-extension-callstack-viewer.aspx</link><pubDate>Wed, 04 Nov 2009 22:54:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917608</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9917608.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9917608</wfw:commentRss><description>&lt;p&gt;I recently created an &lt;a href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-for-iis-7.aspx"&gt;ASP.NET Debugger Extension for IIS 7&lt;/a&gt; that you can use to troubleshoot issues that would usually involve taking a memory dump of the process.&lt;/p&gt;  &lt;p&gt;One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running .net code.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionCallstackViewer_3E12/adeCallstacks_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="adeCallstacks" border="0" alt="adeCallstacks" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtensionCallstackViewer_3E12/adeCallstacks_thumb.jpg" width="423" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;All you need to do is to select the worker process that you want to examine and hit &lt;strong&gt;Get Callstacks. &lt;/strong&gt;In a few seconds you will get a list of threads with their callstacks. &lt;/p&gt;  &lt;p&gt;This feature can be used to figure out what a process is doing during performance/hang issues. For example the above picture tells you that on one of the threads sleep.aspx was running and it is currently in the Page_Load function.&lt;/p&gt;  &lt;p&gt;The extension uses mdbgcore.dll to attach to the process and will only lists callstacks for threads that are running managed code.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917608" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=OHDHgvtmqVk:jnSIEs5FuMs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=OHDHgvtmqVk:jnSIEs5FuMs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=OHDHgvtmqVk:jnSIEs5FuMs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=OHDHgvtmqVk:jnSIEs5FuMs:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=OHDHgvtmqVk:jnSIEs5FuMs:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/OHDHgvtmqVk" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Debug/default.aspx">Debug</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/WinDbg/default.aspx">WinDbg</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-callstack-viewer.aspx</feedburner:origLink></item><item><title>ASP.NET Debugger Extension for IIS 7</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/kKJA8YHVl8g/asp-net-debugger-extension-for-iis-7.aspx</link><pubDate>Wed, 04 Nov 2009 00:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917075</guid><dc:creator>vijaysk</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9917075.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9917075</wfw:commentRss><description>&lt;P&gt;Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code.&lt;/P&gt;
&lt;P&gt;It basically does three things&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Find Debug Modules&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This feature will help you scan your website content to spot modules that have been built in debug mode. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Callstack Viewer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This feature will dump out the callstacks of all the threads in the process running managed code. It is basically a snapshot of all the managed threads in the worker process. This is helpful when you are troubleshooting worker process hangs / performance issues. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. Trace Process for Debug Events&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This feature will help in tracing useful events in the worker process. For example it can display callstacks whenever an exception occurs in the process.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/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/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_thumb.png" width=201 height=144 mce_src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/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/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_thumb_2.png" width=426 height=267 mce_src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/ASP.NETDebuggerExtension_42AC/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This extension uses mdbgcore.dll to debug the IIS worker process. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;INSTALLATION&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Use “Run as Administrator” while launching the following installers.&lt;/P&gt;
&lt;P&gt;x86 : adeInstallx86.msi&lt;/P&gt;
&lt;P&gt;x64 : adeInstallx64.msi&lt;/P&gt;
&lt;P&gt;Both the setup files are in &lt;A title=adeInstall.zip href="http://blogs.msdn.com/vijaysk/attachment/9917075.ashx" target=_blank mce_href="http://blogs.msdn.com/vijaysk/attachment/9917075.ashx"&gt;this zip file.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DETAILED GUIDES&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="ASP.NET Debugger Extension – Find Debug Modules" href="http://blogs.msdn.com/vijaysk/archive/2009/11/05/asp-net-debugger-extension-find-debug-modules.aspx" mce_href="http://blogs.msdn.com/vijaysk/archive/2009/11/05/asp-net-debugger-extension-find-debug-modules.aspx"&gt;ASP.NET Debugger Extension – Find Debug Modules&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A title="ASP.NET Debugger Extension – Callstack Viewer" href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-callstack-viewer.aspx" mce_href="http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-callstack-viewer.aspx"&gt;ASP.NET Debugger Extension – Callstack Viewer&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A title="ASP.NET Debugger Extension – Trace Process for Debug Events" href="http://blogs.msdn.com/vijaysk/archive/2009/11/06/asp-net-debugger-extension-trace-process-for-debug-events.aspx" mce_href="http://blogs.msdn.com/vijaysk/archive/2009/11/06/asp-net-debugger-extension-trace-process-for-debug-events.aspx"&gt;ASP.NET Debugger Extension – Trace Process for Debug Events&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A title="ASP.NET Debugger Extension - Manual Install / Uninstall" href="http://blogs.msdn.com/vijaysk/archive/2009/11/10/asp-net-debugger-extension-manual-install-uninstall.aspx" mce_href="http://blogs.msdn.com/vijaysk/archive/2009/11/10/asp-net-debugger-extension-manual-install-uninstall.aspx"&gt;ASP.NET Debugger Extension - Manual Install / Uninstall&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have any suggestions / feedback / bugs I would love to hear about them.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917075" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=kKJA8YHVl8g:39THSsWQdao:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=kKJA8YHVl8g:39THSsWQdao:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=kKJA8YHVl8g:39THSsWQdao:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=kKJA8YHVl8g:39THSsWQdao:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=kKJA8YHVl8g:39THSsWQdao:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/kKJA8YHVl8g" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/vijaysk/attachment/9917075.ashx" length="598400" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Debug/default.aspx">Debug</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/WinDbg/default.aspx">WinDbg</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/11/04/asp-net-debugger-extension-for-iis-7.aspx</feedburner:origLink></item><item><title>IIS 7 FTPS module does not pick up the Firewall IP and Data Port Range settings.</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/Cv-KIP-Ebnc/iis-7-ftps-module-does-not-pick-up-the-firewall-ip-and-data-port-range-settings.aspx</link><pubDate>Tue, 06 Oct 2009 00:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9903432</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9903432.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9903432</wfw:commentRss><description>&lt;P&gt;I have seen at least 5 separate instances where users have complained that the FTP 7 module that ships for IIS 7 does not honor the “Data Channel Port Range” and the “External IP Address of Firewall” settings.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7FTPSmoduledoesnotpickuptheFirewallI_2AFB/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/vijaysk/WindowsLiveWriter/IIS7FTPSmoduledoesnotpickuptheFirewallI_2AFB/image_thumb.png" width=648 height=261&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Whenever you make a change to this setting you need to restart the FTP service for the change to take effect.&lt;/P&gt;
&lt;P&gt;In all the instances that were brought to my notice users had run &lt;STRONG&gt;iisreset&lt;/STRONG&gt; after making the change. But an iisreset does not help. &lt;/P&gt;
&lt;P&gt;In IIS 6.0 the FTP Service used to run in &lt;STRONG&gt;inetinfo.exe&lt;/STRONG&gt;. So whenever you run &lt;STRONG&gt;iisreset&lt;/STRONG&gt; the FTP service is also restarted. But with IIS 7 the FTP service (FTP 7) runs in an independent &lt;STRONG&gt;svchost.exe&lt;/STRONG&gt;. So the &lt;STRONG&gt;iisreset&lt;/STRONG&gt; does not restart the FTP service.&lt;/P&gt;
&lt;P&gt;You will have to restart the &lt;STRONG&gt;Microsoft FTP Service&lt;/STRONG&gt; from the Services MMC console.&lt;/P&gt;
&lt;P&gt;From a command prompt you can run &lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;net stop ftpsvc&lt;/P&gt;
&lt;P&gt;net start ftpsvc&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9903432" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Cv-KIP-Ebnc:_bYVkG3BgGI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Cv-KIP-Ebnc:_bYVkG3BgGI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Cv-KIP-Ebnc:_bYVkG3BgGI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Cv-KIP-Ebnc:_bYVkG3BgGI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Cv-KIP-Ebnc:_bYVkG3BgGI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/Cv-KIP-Ebnc" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/10/05/iis-7-ftps-module-does-not-pick-up-the-firewall-ip-and-data-port-range-settings.aspx</feedburner:origLink></item><item><title>SSL Diagnostics Tool for IIS 7</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/Ox8yoZ4gnCw/ssl-diagnostics-tool-for-iis-7.aspx</link><pubDate>Sun, 20 Sep 2009 13:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9897258</guid><dc:creator>vijaysk</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9897258.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9897258</wfw:commentRss><description>&lt;p&gt;The &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=cabea1d0-5a10-41bc-83d4-06c814265282&amp;amp;DisplayLang=en"&gt;SSL Diagnostics tool&lt;/a&gt; is a very useful tool for troubleshooting SSL issues.&amp;#160; It generates a detailed report of SSL settings for all the websites on an IIS server which helps in quickly identifying SSL issues. &lt;/p&gt;  &lt;p&gt;But the tool was built for IIS 5 and 6, there is no version available which is compatible with IIS 7. The SSL Diagnostics tool does succeed in generating a report on IIS 7 if the IIS 6.0 Metabase Compatibility feature is installed.&lt;/p&gt;  &lt;p&gt;To help troubleshoot SSL issues on IIS 7 I have written a tool which works in a similar fashion. It scans all the websites and FTPS sites configured on the server and generates a report which can help in identifying SSL issues.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SSLDiagnosticsToolforIIS7_E53A/ssldiag_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ssldiag" border="0" alt="ssldiag" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SSLDiagnosticsToolforIIS7_E53A/ssldiag_thumb.jpg" width="567" height="761" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If any certificate has issues you will get a report as follows. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SSLDiagnosticsToolforIIS7_E53A/ssldiag-error_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ssldiag-error" border="0" alt="ssldiag-error" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SSLDiagnosticsToolforIIS7_E53A/ssldiag-error_thumb.jpg" width="629" height="234" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FEATURES&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Generate Report – Scans all websites and FTPS sites on the local server. If a certificate association is found it will list details of the certificate. It also performs a certificate validation on the certificate. For SSL bindings it also attempts to check if a TCP connection can be established. &lt;/p&gt;  &lt;p&gt;Simulate SSL Web Request – Right clicking on a https binding gives you this option. It generates a SSL Web request based on the selected binding and displays the response received.&lt;/p&gt;  &lt;p&gt;Verify Store – Basically is the output of certutil –verifyStore MY. Useful in identifying certain issues with certificates. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;INSTALLATION &amp;amp; USAGE&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Attached SSLDiag.zip contains SSLDiag.exe.    &lt;br /&gt;You do not have to install this but just run the exe. (“Run as Administrator”)     &lt;br /&gt;You do not need the IIS 6.0 Metabase Compatibility feature to be installed.     &lt;br /&gt;You can also save the report generated for your notes or latter analysis.     &lt;br /&gt;Requires .NET 2.0. &lt;/p&gt;  &lt;p&gt;Hope it helps in reducing your troubleshooting time on SSL issues.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9897258" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Ox8yoZ4gnCw:6pgROxf7NTI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Ox8yoZ4gnCw:6pgROxf7NTI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Ox8yoZ4gnCw:6pgROxf7NTI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Ox8yoZ4gnCw:6pgROxf7NTI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=Ox8yoZ4gnCw:6pgROxf7NTI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/Ox8yoZ4gnCw" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/vijaysk/attachment/9897258.ashx" length="144670" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/09/20/ssl-diagnostics-tool-for-iis-7.aspx</feedburner:origLink></item><item><title>FTP Service 7.5 for IIS 7.0 can be installed only on Windows Server 2008</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/U7zobLnva_Y/ftp-service-7-5-for-iis-7-0-can-be-installed-only-on-windows-server-2008.aspx</link><pubDate>Thu, 17 Sep 2009 04:17:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9896129</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9896129.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9896129</wfw:commentRss><description>&lt;p&gt;On Windows 2008 RTM (SP1) you would install the FTP 7.5 Out Of Band module from &lt;a title="http://www.iis.net/extensions/ftp" href="http://www.iis.net/extensions/ftp"&gt;http://www.iis.net/extensions/ftp&lt;/a&gt;. But when you try to install it on Windows 2008 R2 you will get the following error.&lt;/p&gt;  &lt;div style="background-color: gainsboro; overflow: auto"&gt;   &lt;p&gt;This version of the operating system is not supported. FTP Service 7.5 for IIS 7.0 can be installed only on Windows Server 2008.&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/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/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/image_thumb.png" width="502" height="391" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Windows 2008 RTM (SP1) shipped with the legacy FTP service from IIS 6.0. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/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/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/image_thumb_2.png" width="365" height="103" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Latter FTP 7.0 and 7.5 where shipped as Out Of Band Modules.&lt;/p&gt;  &lt;p&gt;Windows 2008 R2 already ships with FTP 7.5 and the legacy FTP service has been discontinued.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/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/vijaysk/WindowsLiveWriter/FTP.0canbeinstalledonlyonWindowsServer20_5F7C/image_thumb_1.png" width="356" height="98" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So you no longer have to install an Out Of Band module for FTP 7.5 on Windows 2008 R2. You can directly install it from the Server Manager &amp;gt; Role Services.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9896129" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=U7zobLnva_Y:RoC_bxI9gj4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=U7zobLnva_Y:RoC_bxI9gj4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=U7zobLnva_Y:RoC_bxI9gj4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=U7zobLnva_Y:RoC_bxI9gj4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=U7zobLnva_Y:RoC_bxI9gj4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/U7zobLnva_Y" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/09/17/ftp-service-7-5-for-iis-7-0-can-be-installed-only-on-windows-server-2008.aspx</feedburner:origLink></item><item><title>You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/mvDWhKp0mBM/you-must-use-the-role-management-tool-to-install-or-configure-microsoft-net-framework-3-5.aspx</link><pubDate>Sun, 16 Aug 2009 13:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9871551</guid><dc:creator>vijaysk</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9871551.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9871551</wfw:commentRss><description>&lt;P&gt;While trying to install Visual Studio 2008 on a Windows 2008 R2 machine you may get the following error.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/YoumustusetheRoleManagementTooltoinstal_E764/vs2k8win2k8r2_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 569px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 292px; BORDER-LEFT-WIDTH: 0px" title="You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5." border=0 alt="You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5." src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/YoumustusetheRoleManagementTooltoinstal_E764/vs2k8win2k8r2_thumb.jpg" width=569 height=292 mce_src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/YoumustusetheRoleManagementTooltoinstal_E764/vs2k8win2k8r2_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is because Windows 2008 R2 ships with the .NET 3.5.1 framework. You just need to enable the feature from &lt;STRONG&gt;Server Manager&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/YoumustusetheRoleManagementTooltoinstal_E764/vs2k8win2k8r2sm_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=vs2k8win2k8r2sm border=0 alt=vs2k8win2k8r2sm src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/YoumustusetheRoleManagementTooltoinstal_E764/vs2k8win2k8r2sm_thumb.jpg" width=677 height=322&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;So before starting the Visual Studio 2008 Setup install the &lt;STRONG&gt;.NET Framework 3.5.1 Features&lt;/STRONG&gt; from the &lt;STRONG&gt;Add Features Wizard&lt;/STRONG&gt; in &lt;STRONG&gt;Server Manager&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;After that when you run the Visual Studio 2008 Setup, the installer will detect that the 3.5 framework is already installed and skip to the next step.&lt;/P&gt;
&lt;P&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9871551" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=mvDWhKp0mBM:GOdG0_50DqU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=mvDWhKp0mBM:GOdG0_50DqU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=mvDWhKp0mBM:GOdG0_50DqU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=mvDWhKp0mBM:GOdG0_50DqU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=mvDWhKp0mBM:GOdG0_50DqU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/mvDWhKp0mBM" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/VisualStudio/default.aspx">VisualStudio</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/08/16/you-must-use-the-role-management-tool-to-install-or-configure-microsoft-net-framework-3-5.aspx</feedburner:origLink></item><item><title>IIS 7 Tip # 11 You can restrict SSL to only the Control Channel on FTPS</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/5Yvf5gVOJaY/iis-7-tip-11-you-can-restrict-ssl-to-only-the-control-channel-on-ftps.aspx</link><pubDate>Wed, 08 Jul 2009 02:04:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9823228</guid><dc:creator>vijaysk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9823228.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9823228</wfw:commentRss><description>&lt;p&gt;The File Transfer Protocol (FTP) has been around even before I was born :) It is a good protocol for transferring files across the network but has one major flaw. If you use authentication it sends the password in a Base64 encoded format over the wire. If someone intercepts this he/she can easily decode the password. So if someone intercepts the traffic for your FTP site that allows a user to write files he/she can get access to an username and password that has write permissions on the server.&lt;/p&gt;  &lt;p&gt;FTPS (FTP-Secure) address this flaw. FTPS allows you to use TLS or SSL cryptography to encrypt the data that is being transferred.&amp;#160; &lt;/p&gt;  &lt;p&gt;With Windows 2008 the FTP service was rewritten to support FTPS and shipped as an extension for IIS 7.0. Earlier versions of IIS only support FTP.&lt;/p&gt;  &lt;p&gt;With FTPS you no longer have to worry about someone intercepting your password because of the encryption. But encryption comes with a performance overhead. (Consider situations where users frequently transfer files in 100s of MBs to the server all that has to go through en/decryption)&lt;/p&gt;  &lt;p&gt;The best thing about the IIS FTPS extension is that you can control the encryption levels.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip11YoucanrestrictSSLtoonlytheContr_E1FF/ftps_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ftps" border="0" alt="ftps" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip11YoucanrestrictSSLtoonlytheContr_E1FF/ftps_thumb.jpg" width="594" height="625" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;The FTP (even FTPS) protocol uses two channels(basically two ports) to communicate with the server. The Control Channel is used to transfer the commands (it also carries the credentials) and the Data Channel to transfer the files.&lt;/p&gt;  &lt;p&gt;In situations where protecting just the password is enough and you are not concerned about the content being transferred you can remove the encryption on the Data Channel. This will lower the CPU cycles burnt for en/decrypting the large files that are transferred.&lt;/p&gt;  &lt;p&gt;Even the Control Channel can be tweaked to just use encryption for credentials. But commands sometimes contain folder locations so its better to keep it encrypted.&lt;/p&gt;  &lt;p&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9823228" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=5Yvf5gVOJaY:Zdx1TQrl1UI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=5Yvf5gVOJaY:Zdx1TQrl1UI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=5Yvf5gVOJaY:Zdx1TQrl1UI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=5Yvf5gVOJaY:Zdx1TQrl1UI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=5Yvf5gVOJaY:Zdx1TQrl1UI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/5Yvf5gVOJaY" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/07/08/iis-7-tip-11-you-can-restrict-ssl-to-only-the-control-channel-on-ftps.aspx</feedburner:origLink></item><item><title>Disappearing SSL certificates from IIS 7.0 manager</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/qlW798zhAUM/disappearing-ssl-certificates-from-iis-7-0-manager.aspx</link><pubDate>Sat, 23 May 2009 00:37:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9636017</guid><dc:creator>vijaysk</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9636017.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9636017</wfw:commentRss><description>&lt;p&gt;“I install a SSL server certificate using the ‘Complete Certificate Request’ wizard in IIS manager and when I refresh the view the certificate disappears. “&lt;/p&gt;  &lt;p&gt;I have heard that a couple of times and every time I used to go “What ?” Until someone showed it to me.&lt;/p&gt;  &lt;p&gt;If you are one of those who are wondering about this read on.&lt;/p&gt;  &lt;p&gt;The &lt;strong&gt;Server Certificates &lt;/strong&gt;module in IIS manager displays a list of certificates from the &lt;strong&gt;Local Machine &lt;/strong&gt;SSL store.&lt;/p&gt;  &lt;p&gt;But it only lists the certificate if &lt;/p&gt;  &lt;p&gt;1. The certificate has a private key&lt;/p&gt;  &lt;p&gt;2. The certificate is meant for Server Authentication&lt;/p&gt;  &lt;p&gt;And this is where the disappearing act occurs. &lt;/p&gt;  &lt;p&gt;The IIS Manager enumerates all the extensions of the certificate and checks if OID 2.5.29.37 (Extended Key Usage) exists. If it does the certificate Enhanced Key Usage section must contain 1.3.6.1.5.5.7.3.1&amp;#160; (Server Authentication).&lt;/p&gt;  &lt;p&gt;In the repro’ I was shown the user had actually downloaded the intermediate certificate and used that .cer file to complete the certificate request. In this case the wizard will go thro’ all the steps but when you refresh the view the certificate will not be listed. &lt;/p&gt;  &lt;p&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9636017" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qlW798zhAUM:HJwuuD4y2WA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qlW798zhAUM:HJwuuD4y2WA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qlW798zhAUM:HJwuuD4y2WA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qlW798zhAUM:HJwuuD4y2WA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qlW798zhAUM:HJwuuD4y2WA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/qlW798zhAUM" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/05/22/disappearing-ssl-certificates-from-iis-7-0-manager.aspx</feedburner:origLink></item><item><title>IIS 7 Tip # 10 You can generate machine keys from the IIS manager</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/tyV-3QyQGwU/iis-7-tip-10-you-can-generate-machine-keys-from-the-iis-manager.aspx</link><pubDate>Thu, 14 May 2009 01:10:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9611680</guid><dc:creator>vijaysk</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9611680.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9611680</wfw:commentRss><description>&lt;p&gt;The &lt;strong&gt;machineKey&lt;/strong&gt; element of the ASP.NET web.config specifies the algorithm and keys that ASP.NET will use for encryption. By default the validationKey and the decryptionKey keys are set to &lt;strong&gt;AutoGenerate &lt;/strong&gt;which means the runtime will generate a random key for use. This works fine for applications that are deployed on a single server. When you use webfarms a client request can land on any one of the servers in the webfarm. Hence you will have to hardcode the validationKey and the decryptionKey on all your servers in the farm with a manually generated key.&lt;/p&gt;  &lt;p&gt;There are a lot of articles that describe how to use RNGCryptoServiceProvider to generate a random key. There are also a lot of online tools that generate random keys for you. But I would suggest writing your own script because any one who has access to these keys can do evil things like tamper your forms authentication cookie or viewstate.&lt;/p&gt;  &lt;p&gt;With IIS 7 you no longer have to do this manually. The IIS 7.0 manager has a built in feature that you can use to generate these keys.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9Youcangeneratemachinekeysfromthe_D531/machinekeys_6.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="machinekeys" border="0" alt="machinekeys" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9Youcangeneratemachinekeysfromthe_D531/machinekeys_thumb_2.jpg" width="651" height="453" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;It uses RNGCryptoServiceProvider internally to create a random key. The value is stored locally in the web.config of that application something like &lt;/p&gt;  &lt;div style="background-color: gainsboro; overflow: auto"&gt;   &lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;      &lt;br /&gt;&amp;lt;configuration&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;system.web&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;machineKey decryptionKey=&amp;quot;F6722806843145965513817CEBDECBB1F94808E4A6C0B2F2,IsolateApps&amp;quot; validationKey=&amp;quot;C551753B0325187D1759B4FB055B44F7C5077B016C02AF674E8DE69351B69FEFD045A267308AA2DAB81B69919402D7886A6E986473EEEC9556A9003357F5ED45,IsolateApps&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/system.web&amp;gt;       &lt;br /&gt;&amp;lt;/configuration&amp;gt;      &lt;br /&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;You can copy it and paste it in the web.config file of all the servers in the webfarm.&lt;/p&gt;  &lt;p&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9611680" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=tyV-3QyQGwU:2RE-maoEruQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=tyV-3QyQGwU:2RE-maoEruQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=tyV-3QyQGwU:2RE-maoEruQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=tyV-3QyQGwU:2RE-maoEruQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=tyV-3QyQGwU:2RE-maoEruQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/tyV-3QyQGwU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/05/13/iis-7-tip-10-you-can-generate-machine-keys-from-the-iis-manager.aspx</feedburner:origLink></item><item><title>Setting SMTP RelayIpList from a script.</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/rUIgqvguZ1w/setting-smtp-relayiplist-from-a-script.aspx</link><pubDate>Fri, 08 May 2009 01:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9595198</guid><dc:creator>vijaysk</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9595198.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9595198</wfw:commentRss><description>&lt;P&gt;SMTP service running on IIS 6.0 provides you options to restrict IP addresses of computers that can relay mail messages through this server. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/relayrestrictions_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/relayrestrictions_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=relayrestrictions border=0 alt=relayrestrictions src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/relayrestrictions_thumb.jpg" width=394 height=382 mce_src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/relayrestrictions_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The value(list of IP addresses) is stored in the &lt;STRONG&gt;RelayIpList &lt;/STRONG&gt;metabase property as an octet string. I was recently contacted by a server administrator to figure out if there is an automatic script that can add IP addresses to this list. He wanted to add around 200 IP address and grant them access.&lt;/P&gt;
&lt;P&gt;I have written a script that you can use in such scenarios. It reads IP addresses from a text file and populates them into the RelayIpList.&lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;USAGE : cscript ImportRelayList.vbs &lt;/P&gt;
&lt;P&gt;PREREQUISITE : This script needs ip.txt in the same folder. &lt;/P&gt;
&lt;P&gt;Store your IP addresses in ip.txt FORMAT: Each line should be IP,MASK &lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/ImportRelayList_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/ImportRelayList_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=ImportRelayList border=0 alt=ImportRelayList src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/ImportRelayList_thumb.jpg" width=557 height=389 mce_src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/SettingSMTPRelayIpListfromascript_E0B4/ImportRelayList_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have attached the script to this blog post. Hope it helps.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9595198" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=rUIgqvguZ1w:5dfIQG9rKY0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=rUIgqvguZ1w:5dfIQG9rKY0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=rUIgqvguZ1w:5dfIQG9rKY0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=rUIgqvguZ1w:5dfIQG9rKY0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=rUIgqvguZ1w:5dfIQG9rKY0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/rUIgqvguZ1w" height="1" width="1"/&gt;</description><enclosure url="http://blogs.msdn.com/vijaysk/attachment/9595198.ashx" length="1513" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/Tools/default.aspx">Tools</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/05/07/setting-smtp-relayiplist-from-a-script.aspx</feedburner:origLink></item><item><title>IIS 7 Tip # 9 Set Application Pool Defaults…</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/r0OGXEpDnoU/iis-7-tip-9-set-application-pool-defaults.aspx</link><pubDate>Wed, 06 May 2009 01:57:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9589895</guid><dc:creator>vijaysk</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9589895.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9589895</wfw:commentRss><description>&lt;p&gt;When ever you create a new application pool IIS only asks you for four things 1. Name, 2. .NET Framework version, 3. Managed pipeline mode and 4. Weather to start the application pool immediately&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9SetApplicationPoolDefaults_E053/addapppool_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="addapppool" border="0" alt="addapppool" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9SetApplicationPoolDefaults_E053/addapppool_thumb.jpg" width="324" height="287" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;What about the remaining advanced settings like the identity that application pool has to run under? The application pool inherits the rest of the settings. &lt;/p&gt;  &lt;p&gt;If you want to change the default settings that IIS uses to create a new application pool you can do it under the &lt;strong&gt;Set Application Pool Defaults…&lt;/strong&gt; section&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9SetApplicationPoolDefaults_E053/apppooldefaults_4.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="apppooldefaults" border="0" alt="apppooldefaults" src="http://blogs.msdn.com/blogfiles/vijaysk/WindowsLiveWriter/IIS7Tip9SetApplicationPoolDefaults_E053/apppooldefaults_thumb_1.jpg" width="675" height="445" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;For example if you change the Managed Pipeline Mode to Classic in the defaults and add a new application pool the mode dropdown will be set to Classic.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;a title="Bookmark and Share" onclick="window.open(&amp;#39;http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url=&amp;#39;+encodeURIComponent(location.href)+&amp;#39;&amp;amp;title=&amp;#39;+encodeURIComponent(document.title), &amp;#39;addthis&amp;#39;, &amp;#39;scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100&amp;#39;); return false;" href="http://www.addthis.com/bookmark.php" target="_blank" mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;img border="0" alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" mce_src="http://s9.addthis.com/button1-bm.gif" /&gt;&lt;/a&gt; &lt;!-- AddThis Button END --&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9589895" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=r0OGXEpDnoU:uVfuFXWQ4uk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=r0OGXEpDnoU:uVfuFXWQ4uk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=r0OGXEpDnoU:uVfuFXWQ4uk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=r0OGXEpDnoU:uVfuFXWQ4uk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=r0OGXEpDnoU:uVfuFXWQ4uk:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/r0OGXEpDnoU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS+7+Tip/default.aspx">IIS 7 Tip</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/05/05/iis-7-tip-9-set-application-pool-defaults.aspx</feedburner:origLink></item><item><title>Can the validity period of the Self-Signed Certificate that IIS 7.0 manager creates be changed ?</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/ofXAK5CVUVY/can-the-validity-period-of-the-self-signed-certificate-that-iis-7-0-manager-creates-be-changed.aspx</link><pubDate>Fri, 01 May 2009 15:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9576799</guid><dc:creator>vijaysk</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/vijaysk/comments/9576799.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vijaysk/commentrss.aspx?PostID=9576799</wfw:commentRss><description>&lt;P&gt;IIS 7.0 has a nice feature of creating self-signed certificates …&amp;nbsp; very handy for creating test certificates.&lt;/P&gt;
&lt;P&gt;I was recently asked if there is a way to modify the validity period of the certificate it creates. &lt;/P&gt;
&lt;P&gt;Unfortunately&amp;nbsp; No! &lt;/P&gt;
&lt;P&gt;The module that creates the certificate uses a simple logic of incrementing the year by 1. Something like&lt;/P&gt;
&lt;DIV style="BACKGROUND-COLOR: gainsboro; OVERFLOW: auto"&gt;
&lt;P&gt;SYSTEMTIME systemtime = new SYSTEMTIME(); &lt;/P&gt;
&lt;P&gt;systemtime.wYear = (short) (DateTime.Now.Date.Year + 1); &lt;/P&gt;
&lt;P&gt;systemtime.wMonth = (short) DateTime.Now.Date.Month; &lt;/P&gt;
&lt;P&gt;systemtime.wDay = (short) DateTime.Now.Date.Day;&lt;BR&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;It’s hardcoded and hence the validity of the certificate will always be 1 year from the current date.&lt;/P&gt;
&lt;P&gt;Also the name of the certificate will always be the FQDN. &lt;/P&gt;
&lt;P&gt;In case you want to create certificates with a shorter validity period or different names there are are a lot of tools like SelfSSL that you can use to generates self-signed certificates.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;!-- AddThis Button BEGIN --&gt;&lt;A title="Bookmark and Share" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&amp;amp;pub=vijaysk&amp;amp;url='+encodeURIComponent(location.href)+'&amp;amp;title='+encodeURIComponent(document.title), 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no,screenX=200,screenY=100,left=200,top=100'); return false;" href="http://www.addthis.com/bookmark.php" target=_blank mce_href="http://www.addthis.com/bookmark.php"&gt;&lt;IMG border=0 alt="Bookmark and Share" src="http://s9.addthis.com/button1-bm.gif" width=125 height=16 mce_src="http://s9.addthis.com/button1-bm.gif"&gt;&lt;/A&gt; &lt;!-- AddThis Button END --&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9576799" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=ofXAK5CVUVY:HpExF88vOQ0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=ofXAK5CVUVY:HpExF88vOQ0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=ofXAK5CVUVY:HpExF88vOQ0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=ofXAK5CVUVY:HpExF88vOQ0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=ofXAK5CVUVY:HpExF88vOQ0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/ofXAK5CVUVY" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/vijaysk/archive/tags/IIS/default.aspx">IIS</category><feedburner:origLink>http://blogs.msdn.com/vijaysk/archive/2009/05/01/can-the-validity-period-of-the-self-signed-certificate-that-iis-7-0-manager-creates-be-changed.aspx</feedburner:origLink></item></channel></rss>
