<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>ASP.NET Debugging : IIS7</title><link>http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx</link><description>Tags: IIS7</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>CannonPI teaser video</title><link>http://blogs.msdn.com/tom/archive/2009/05/07/cannonpi-teaser-video.aspx</link><pubDate>Thu, 07 May 2009 20:58:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9594353</guid><dc:creator>Tom</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/tom/comments/9594353.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=9594353</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=9594353</wfw:comment><description>&lt;p&gt;There is a new video up on youtube that is the beginning of many more videos.&amp;#160; You should check it out and look for for more coming soon.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:ee89a40b-1927-4810-b3e6-844d81978f49" class="wlWriterSmartContent"&gt;&lt;div id="2d1d2902-9c7d-4df2-89c0-342fc7b11fa8" style="margin: 0px; padding: 0px; display: inline;"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=cCApcSq1ke0" target="_new"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/CannonPIteaservideo_C453/video9b93cf23cf05.jpg" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('2d1d2902-9c7d-4df2-89c0-342fc7b11fa8'); downlevelDiv.innerHTML = &amp;quot;&amp;lt;div&amp;gt;&amp;lt;object width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;param name=\&amp;quot;movie\&amp;quot; value=\&amp;quot;http://www.youtube.com/v/cCApcSq1ke0&amp;amp;hl=en\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;embed src=\&amp;quot;http://www.youtube.com/v/cCApcSq1ke0&amp;amp;hl=en\&amp;quot; type=\&amp;quot;application/x-shockwave-flash\&amp;quot; width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;\/embed&amp;gt;&amp;lt;\/object&amp;gt;&amp;lt;\/div&amp;gt;&amp;quot;;" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Also, see if you recognize any of the people in this, feel free to post here who you think they are.&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9594353" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/tom/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>The PDC this year…</title><link>http://blogs.msdn.com/tom/archive/2008/09/29/the-pdc-this-year.aspx</link><pubDate>Mon, 29 Sep 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8966273</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/8966273.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8966273</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8966273</wfw:comment><description>&lt;p&gt;Not sure how many people are planning on attending the PDC (Professional Developers Conference) this year, but it is going to be a fantastic conference.&lt;/p&gt;  &lt;p&gt;We announced some huge announcements on the PDC web site.&amp;#160; &lt;a href="http://www.microsoftpdc.com/"&gt;http://www.microsoftpdc.com/&lt;/a&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;We have a major lineup of executive &lt;a href="http://www.microsoftpdc.com/Agenda/Speakers.aspx"&gt;keynote speakers&lt;/a&gt;&lt;u&gt;&lt;/u&gt; representing most of the core Microsoft businesses. &lt;/li&gt;    &lt;li&gt;We’ll have 20+ &lt;a href="http://sessions.microsoftpdc.com/public/sessions.aspx"&gt;Windows 7 sessions&lt;/a&gt;&lt;u&gt;&lt;/u&gt;, and we’ll be giving out the &lt;a href="http://microsoftpdc.com/View.aspx?post=91d46819-8472-40ad-a661-2c78acb4018c:8962840&amp;amp;tag=PDC2008"&gt;Win7 bits&lt;/a&gt;&lt;u&gt;&lt;/u&gt;. &lt;/li&gt;    &lt;li&gt;We also announced our in-depth &lt;a href="http://www.microsoftpdc.com/View.aspx?post=91d46819-8472-40ad-a661-2c78acb4018c:8962797&amp;amp;tag=PDC2008"&gt;symposia&lt;/a&gt;&lt;u&gt;&lt;/u&gt; sessions including parallel computing and S+S.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you have any questions about the PDC, feel free to check out the site listed above, or you can &lt;a href="http://www.askthebrain.net/"&gt;&lt;/a&gt;&lt;a href="http://www.askthebrain.net/"&gt;&lt;/a&gt;&lt;a href="http://www.askthebrain.net/"&gt;Ask the Brain&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The conference runs from October 27th to October 30th with the pre-conference on October 26th.&amp;#160; You can see the full agenda &lt;a href="http://microsoftpdc.com/Agenda/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;We have also &lt;a href="http://channel9.msdn.com/posts/Dan/Countdown-to-PDC-2008-This-is-the-Software--Services-PDC-Plus-a-Hard-Drive-Chock-Full-oBits-is-a-PDC/"&gt;just announced&lt;/a&gt;&lt;u&gt;&lt;/u&gt; that all partners and customers attending the PDC will receive a very special gift this year:&amp;#160; a 160GB external USB2 hard drive with all of the bits!&amp;#160; That is a very cool gift and very useful as well.&amp;#160; I’d love to hear if anyone is going or thinking about going to the PDC!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8966273" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/tom/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/tom/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/tom/archive/tags/IE8/default.aspx">IE8</category><category domain="http://blogs.msdn.com/tom/archive/tags/Live+Mesh/default.aspx">Live Mesh</category><category domain="http://blogs.msdn.com/tom/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogs.msdn.com/tom/archive/tags/Mobile/default.aspx">Mobile</category><category domain="http://blogs.msdn.com/tom/archive/tags/ADO.NET/default.aspx">ADO.NET</category></item><item><title>ASP.NET, Visual Studio and Vista</title><link>http://blogs.msdn.com/tom/archive/2008/05/22/asp-net-visual-studio-and-vista.aspx</link><pubDate>Thu, 22 May 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8528530</guid><dc:creator>Tom</dc:creator><slash:comments>11</slash:comments><comments>http://blogs.msdn.com/tom/comments/8528530.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8528530</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8528530</wfw:comment><description>&lt;p&gt;I know that Vista has been out for a while, but just in case people are looking for information on how to use ASP.NET 1.1, Visual Studio 2005, or Visual Studio 2003 on Vista, here are some very helpful links.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a title="http://blogs.msdn.com/dougste/archive/2007/01/08/visual-studio-2005-on-vista-for-web-development.aspx" href="http://blogs.msdn.com/dougste/archive/2007/01/08/visual-studio-2005-on-vista-for-web-development.aspx"&gt;Using Visual Studio 2005 on Vista for web development&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=993" href="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=993"&gt;How to Enable ASP.NET 1.1 on IIS7&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://msdn2.microsoft.com/en-us/vstudio/bb188244.aspx" href="http://msdn2.microsoft.com/en-us/vstudio/bb188244.aspx"&gt;Visual Studio .NET 2003 on Windows Vista Issue List&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Of course the best option is to upgrade to Visual Studio 2008, but I understand that it isn’t always an option for everyone.&lt;/p&gt;  &lt;p&gt;Hope that these links help.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8528530" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>ASP.NET Tips: What to gather to troubleshoot – part 1 – High CPU or Hang</title><link>http://blogs.msdn.com/tom/archive/2008/05/02/asp-net-tips-what-to-gather-to-troubleshoot-part-1-high-cpu.aspx</link><pubDate>Fri, 02 May 2008 19:13:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8450990</guid><dc:creator>Tom</dc:creator><slash:comments>12</slash:comments><comments>http://blogs.msdn.com/tom/comments/8450990.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8450990</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8450990</wfw:comment><description>&lt;p&gt;On machines running IIS5 and IIS5.1, these are the Inetinfo.exe, DLLHost.exe and/or ASPNET_WP.exe processes. On machines running IIS 6 or 7, this is the w3wp.exe process.&lt;/p&gt;  &lt;p&gt;The following steps will allow us to get log files of the processes hosting the IIS or ASP.NET applications, as well as obtain the thread ID that is using the CPU that will directly correspond to the log file. Please let us know if you have any questions about using this process.&lt;/p&gt;  &lt;h3&gt;Before the issue occurs&lt;/h3&gt;  &lt;p&gt;A. Download DebugDiag:    &lt;br /&gt;======================&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Install the &lt;a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1286"&gt;Debug Diagnostic tool&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;The default installation location for the package is C:\Program Files\IIS Resources\DebugDiag. It can be changed. &lt;/li&gt;    &lt;li&gt;Make sure any other monitoring and debugging tools are not running. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;B. Create a Performance Monitor log:    &lt;br /&gt;====================================&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;In Performance Monitor, expand &lt;strong&gt;Performance Logs and Alerts&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Right Click on &lt;strong&gt;Counter Logs&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Choose &lt;strong&gt;New Log Settings...&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Enter a descriptive name &lt;/li&gt;    &lt;li&gt;Note the log file location for later (or go to the &lt;strong&gt;Log Files&lt;/strong&gt; tab and change the location) &lt;/li&gt;    &lt;li&gt;Click the &lt;strong&gt;Add Counters &lt;/strong&gt;button &lt;/li&gt;    &lt;li&gt;Click the &lt;strong&gt;All Counters&lt;/strong&gt; radio button.&amp;#160; Click the &lt;strong&gt;Select instances from list&lt;/strong&gt; radio button, and select the process hosting the IIS or ASP.net application.&amp;#160; On Windows 2000 and Windows XP, this will be &lt;b&gt;inetinfo&lt;/b&gt;, &lt;b&gt;dllhost&lt;/b&gt;, or &lt;b&gt;aspnet_wp&lt;/b&gt; .&amp;#160; On Windows 2003 and Windows 2008 this will be &lt;b&gt;w3wp&lt;/b&gt;.&amp;#160; NOTE: It is possible you will see multiple instances of dllhost on IIS5/5.1 or w3wp on IIS6/IIS7 in the list of available processes.&amp;#160; If you do, or if you are unsure of which process to monitor, please cltrl-click to multiselect all of the available IIS/ASP.net choices. &lt;/li&gt;    &lt;li&gt;If the application &lt;b&gt;is not &lt;/b&gt;an ASP.net application, select the following from the &lt;strong&gt;Performance Object&lt;/strong&gt; dropdown, being sure to &lt;strong&gt;Add&lt;/strong&gt; each one as you select it:       &lt;ul&gt;       &lt;li&gt;Process &lt;/li&gt;        &lt;li&gt;Thread &lt;/li&gt;     &lt;/ul&gt;      &lt;p&gt;If the application &lt;b&gt;is &lt;/b&gt;an ASP.net application, select the following from the &lt;strong&gt;Performance Object&lt;/strong&gt; dropdown, being sure to &lt;strong&gt;Add&lt;/strong&gt; each one as you select it:&lt;/p&gt;      &lt;ul&gt;       &lt;li&gt;Process &lt;/li&gt;        &lt;li&gt;Thread &lt;/li&gt;        &lt;li&gt;.NET CLR Data &lt;/li&gt;        &lt;li&gt;.NET CLR Exceptions &lt;/li&gt;        &lt;li&gt;.NET CLR Interop &lt;/li&gt;        &lt;li&gt;.NET CLR Jit &lt;/li&gt;        &lt;li&gt;.NET CLR Loading &lt;/li&gt;        &lt;li&gt;.NET CLR LocksAndThreads &lt;/li&gt;        &lt;li&gt;.NET CLR Memory &lt;/li&gt;        &lt;li&gt;.NET CLR Networking &lt;/li&gt;        &lt;li&gt;.NET CLR Remoting &lt;/li&gt;        &lt;li&gt;.NET CLR Security &lt;/li&gt;        &lt;li&gt;ASP.NET &lt;/li&gt;        &lt;li&gt;ASP.NET Applications &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Click &lt;strong&gt;Close&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;For the ASP.NET counters, select the version that you are wanting to monitor.&amp;#160; Ex.&amp;#160; For 1.1 framework, select &lt;strong&gt;ASP.NET v1.1.4322&lt;/strong&gt; and &lt;strong&gt;ASP.NET Applications v1.1.4322&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;IMPORTANT:&lt;/u&gt;&lt;/b&gt; The Data Sampling Interval and time to start monitoring is subjective to when the CPU spike reproduces. Due to the log size, monitor the server to gather the needed data while not overwhelming the server.&lt;/p&gt;  &lt;p&gt;Note: For more information on Performance monitor, see &lt;a href="blocked::http://support.microsoft.com/?id=248345"&gt;http://support.microsoft.com/?id=248345&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;After the issue occurs &lt;/h3&gt;  &lt;p&gt;A. Let the process run    &lt;br /&gt;======================     &lt;br /&gt;Now let the server run for a few minutes to document the environment in which the high CPU/hang is occurring in.&lt;/p&gt;  &lt;p&gt;B. Capture the memory Dumps    &lt;br /&gt;=========================== &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Launch DebugDiag      &lt;ul&gt;       &lt;li&gt;Start, Program Files, IIS Diagnostics, Debug Diagnostics, Debug Diagnostic Tool &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;From the Tools menu, select &lt;strong&gt;Create IIS Hang Dump&lt;/strong&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Repeat Step 2 every 1 - 2 minutes until you have 3 sets of memory dumps. Make sure the previous memory dumps completed before continuing to capture the next set of memory dumps. The multiple memory dumps will allow us to see if the process is progressing during the hang/high CPU symptoms or whether the process is actually performing work.&lt;/p&gt;  &lt;p&gt;Files will be created in the following path by default:    &lt;br /&gt;C:\Program Files\IIS Resources\DebugDiag\Logs\Misc&lt;/p&gt;  &lt;p&gt;C. Stop the Performance Monitor log    &lt;br /&gt;===================================&lt;/p&gt;  &lt;p&gt;In Performance Monitor: &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Right click on your log that is now listed under &lt;strong&gt;Counter Logs&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Choose &lt;strong&gt;Stop Log&lt;/strong&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f05%2f02%2fasp-net-tips-what-to-gather-to-troubleshoot-part-1-high-cpu.aspx"&gt;&lt;img border="0" alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f05%2f02%2fasp-net-tips-what-to-gather-to-troubleshoot-part-1-high-cpu.aspx" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8450990" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET+Tip/default.aspx">ASP.NET Tip</category><category domain="http://blogs.msdn.com/tom/archive/tags/Hang/default.aspx">Hang</category><category domain="http://blogs.msdn.com/tom/archive/tags/High+CPU/default.aspx">High CPU</category></item><item><title>ASP.NET Tab Missing</title><link>http://blogs.msdn.com/tom/archive/2008/04/17/asp-net-tab-missing.aspx</link><pubDate>Thu, 17 Apr 2008 16:47:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8402956</guid><dc:creator>Tom</dc:creator><slash:comments>56</slash:comments><comments>http://blogs.msdn.com/tom/comments/8402956.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8402956</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8402956</wfw:comment><description>&lt;p&gt;A common issue we see customers having is after installing ASP.NET 2.0, the ASP.NET Tab is missing from IIS.&lt;/p&gt;  &lt;p&gt;This tab is used for setting the version of ASP.NET and a lot of other things.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/ASP.NETTabMissing_C1FA/aspnettab_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" border="0" alt="aspnettab" src="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/ASP.NETTabMissing_C1FA/aspnettab_thumb.png" width="476" height="462" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When this tab is missing, it can be rather difficult to get it to appear.&amp;#160; So we now have a way to fix this quickly and easily.&amp;#160; Just download the attachment to this post and follow the steps below:&lt;/p&gt;  &lt;p&gt;&lt;iframe style="border-right: #dde5e9 1px solid; padding-right: 0px; padding-left: 0px; border-top: #dde5e9 1px solid; padding-bottom: 0px; margin: 3px; border-left: #dde5e9 1px solid; width: 240px; padding-top: 0px; border-bottom: #dde5e9 1px solid; height: 26px; background-color: #ffffff" marginheight="0" src="http://cid-cc604c70d3f72cfd.skydrive.live.com/embedrow.aspx/ASP.NET%20Tab%20Missing/asptabtest.zip" frameborder="0" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;  &lt;p&gt;This tool will run and fix the problem and get the tab to appear properly.&amp;#160; The steps to run this tool are:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;b&gt;Close&lt;/b&gt; the IIS Management Console (inetmgr) and *any* other open MMCs. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;Run the asptabtest.vbs.&lt;/b&gt; It will check various known issues, correct some of them, and write results to a log file. Use the output to determine whether the issue is resolved, and if not, what steps to take next. &lt;/li&gt;    &lt;li&gt;Also note that after making any corrective changes to COM/DCOM settings, specifically DCOM security settings, make sure to either &lt;b&gt;terminate (kill) ****ALL**** dllhost.exe processes, &lt;i&gt;OR&lt;/i&gt; reboot the computer ****BEFORE**** testing again.&lt;/b&gt; Otherwise you may have well 'fixed' the problem, but a latent dllhost will prevent things from working. This is seen consistently when DCOM permissions were the problem. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Below is the output log of a working machine to give you an idea of the things it checks:&lt;/p&gt;  &lt;div style="overflow: scroll"&gt;   &lt;pre&gt;Bellow is what the output log of a working machine will look like... It also shows the different things the script checks. 
PASS: The value of Enable32BitAppOnWin64 in metabase is set to: False

PASS: The current value of Restrict_Run is: 0

PASS: Successfully registered mmcaspext.dll 

PASS: Successfully registered AspNetMMC 
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.1433
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Assembly exported to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AspNetMMCExt.tlb', and the type library was registered successfully

PASS: Successfully registered Assembly 

Running aspmantst.exe to test the ASP.NET Tab snap-in
Attempting to create the object as CLSCTX_LOCAL_SERVER.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Attempting to create the object as CLSCTX_REMOTE_SERVER to IIS6EN1.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Attempting to create the object as CLSCTX_INPROC_SERVER.
Object created. Attempting to call method.
Method succeded. Result:
1.1.4322.0,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,2.0.50727.0,c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Special thanks to Jeremy and Vandana for creating the tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f04%2f17%2fasp-net-tab-missing.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f04%2f17%2fasp-net-tab-missing.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8402956" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Useful appcmd commands</title><link>http://blogs.msdn.com/tom/archive/2008/04/01/useful-appcmd-commands.aspx</link><pubDate>Tue, 01 Apr 2008 16:38:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8348108</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/8348108.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8348108</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8348108</wfw:comment><description>&lt;p&gt;So with IIS7, there is a new way to get data out about your web server, using the new appcmd.exe process.&lt;/p&gt;  &lt;p&gt;To start out with, the best place to start is with: &lt;a href="http://blogs.iis.net/ksingla/archive/2007/06/17/things-you-can-do-by-piping-appcmd-commands.aspx"&gt;Things you can do by piping appcmd commands&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;There are a lot of useful commands listed there that can start you moving ahead. If you want to see the full documentation, take a look at: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/"&gt;Getting Started with AppCmd.exe&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Combining this with Powershell can we a really powerful idea. We can use a lot of different things to create some really powerful commands. The first one that I wanted to do is to iterate through all the applications in a given site and get the folders on disk. This can then be passed to a dir command to search for web.config files. This is useful for gathering all web.config files in the case of support. Or making sure you have things set correctly in all of them. The command is:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;pre class="code"&gt;appcmd list app /site.name:&amp;quot;Default Web Site&amp;quot; 
/xml | appcmd list vdir /in /text:physicalPath&lt;/pre&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;This will give a listing of directories which we can then run our DIR command against. I have tried to pass our data to DIR, but I couldn&amp;#8217;t figure out a way to get it to work.&lt;/p&gt;

&lt;p&gt;There is a lot of documentation on this out there already. Here are some additional links:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="http://mvolo.com/blogs/serverside/archive/2007/03/18/Most-Important-AppCmd-Commands.aspx"&gt;http://mvolo.com/blogs/serverside/archive/2007/03/18/Most-Important-AppCmd-Commands.aspx&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/"&gt;http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://support.microsoft.com/kb/930909"&gt;http://support.microsoft.com/kb/930909&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://mvolo.com/blogs/serverside/archive/2007/06/19/Do-complex-IIS-management-tasks-easily-with-AppCmd-command-piping.aspx"&gt;http://mvolo.com/blogs/serverside/archive/2007/06/19/Do-complex-IIS-management-tasks-easily-with-AppCmd-command-piping.aspx&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://learn.iis.net/page.aspx/352/how-to-manage-webdav-using-appcmd/"&gt;http://learn.iis.net/page.aspx/352/how-to-manage-webdav-using-appcmd/&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://blogs.orcsweb.com/steve/archive/2006/11/12/IIS7-_2D00_-post-_2300_14-_2D00_-Misc-appcmd-commands_2E00_.aspx"&gt;http://blogs.orcsweb.com/steve/archive/2006/11/12/IIS7-_2D00_-post-_2300_14-_2D00_-Misc-appcmd-commands_2E00_.aspx&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f04%2f01%2fuseful-appcmd-commands.aspx"&gt;&lt;img border="0" alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f04%2f01%2fuseful-appcmd-commands.aspx" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8348108" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Recent IIS 7.0 updates</title><link>http://blogs.msdn.com/tom/archive/2008/03/19/recent-iis-7-0-updates.aspx</link><pubDate>Thu, 20 Mar 2008 06:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8326919</guid><dc:creator>Tom</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/tom/comments/8326919.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8326919</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8326919</wfw:comment><description>&lt;P&gt;So there have been some new updates recently released for IIS 7.0.&amp;nbsp; These updates add some additional functionality to IIS on Windows Server 2008.&amp;nbsp; The biggest one is the addition of FTP: &lt;A class="" title="Microsoft FTP Publishing Service for IIS 7.0" href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1619" mce_href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1619"&gt;Microsoft FTP Publishing Service for IIS 7.0&lt;/A&gt;&lt;BR&gt;Documentation can be found at: &lt;A href="http://go.microsoft.com/fwlink/?LinkId=88547"&gt;Microsoft FTP Publishing Service for IIS 7.0 (x86) Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Another&amp;nbsp;update that has released is WebDav: &lt;A href="http://blogs.iis.net/robert_mcmurray/archive/2008/03/12/webdav-extension-for-windows-server-2008-rtm-is-released.aspx"&gt;WebDAV Extension for Windows Server 2008 RTM is released!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We also&amp;nbsp;released a beta: &lt;A href="http://blogs.iis.net/vsood/archive/2008/03/14/bit-rate-throttling-is-now-released.aspx"&gt;Bit Rate Throttling is now released&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Another recent release: &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1630"&gt;FrontPage 2002 Server Extensions for IIS 7.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A CTP release: &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1631"&gt;Web Playlist for IIS 7.0, 64 Bit (x64)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=red&gt;New:&lt;/FONT&gt; A CTP release: &lt;A href="http://learn.iis.net/page.aspx/401/using-the-administration-pack/"&gt;Administration Pack - including IIS reports and more&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Some of these releases aren't for everyone.&amp;nbsp; But they give you the ability to add them if they are something that matches your needs.&amp;nbsp; Keep checking &lt;A href="http://www.iis.net/"&gt;http://www.iis.net/&lt;/A&gt; for additional updates.&lt;/P&gt;
&lt;P&gt;There are also some great modules up there that you can download.&amp;nbsp; Everything from enabling logging features in the UI, to backup features, and many others.&amp;nbsp; Check out all the downloads available, especially under "Administration" from &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=3"&gt;http://www.iis.net/downloads/default.aspx?tabid=3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And if you want to see some of the top KB articles around IIS7, check out &lt;A class="" href="http://blogs.msdn.com/webtopics/archive/2008/03/05/useful-iis7-articles-from-support.aspx" mce_href="http://blogs.msdn.com/webtopics/archive/2008/03/05/useful-iis7-articles-from-support.aspx"&gt;this post&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f19%2frecent-iis-7-0-updates.aspx"&gt;&lt;IMG border=0 alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f19%2frecent-iis-7-0-updates.aspx"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8326919" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>ApplicationHost Helper Service - what does it do?</title><link>http://blogs.msdn.com/tom/archive/2008/03/07/applicationhost-helper-service-what-does-it-do.aspx</link><pubDate>Sat, 08 Mar 2008 01:57:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8107179</guid><dc:creator>Tom</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/tom/comments/8107179.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8107179</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8107179</wfw:comment><description>&lt;p&gt;Another new thing about IIS7 is this new service called the ApplicationHost Helper.&amp;#160; This serves two main purposes:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Configuration history &lt;/li&gt;    &lt;li&gt;Application Pool Account Mappings &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;Config History&lt;/h4&gt;  &lt;p&gt;This is the service that will make backups of your ApplicationHost.config file.&amp;#160; Which is very important in IIS7 as there is where all the settings for IIS7 now reside, instead of in the metabase.&lt;/p&gt;  &lt;p&gt;You can force a backup to be created using the AppCmd tool.&amp;#160; Or you can use the &lt;a href="http://blogs.msdn.com/rakkimk/archive/2007/11/04/iis7-backup-restore-ui-module.aspx"&gt;Module here&lt;/a&gt; to add it to your Inetmgr.&amp;#160; This tool just calls into the ApplicationHost Service to make the backup.&amp;#160; The service will also back up the config file periodically on it's own.&amp;#160; You will see that you have a \Inetpub\history folder.&amp;#160; This is where the service will place the backups when they are created.&amp;#160; To change how often it backs up the file, you can add a configHistory section to the ApplicationHost.config file using the settings from &lt;a href="http://msdn2.microsoft.com/en-us/library/bb422402(VS.85).aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Note: Once we hit the max amount of backups, we will start recycling the oldest ones, so if you need to keep a particular version, be sure to copy it to another, safe, location&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;h6&gt;If you like what you are reading, get it from the source: &lt;a href="http://blogs.msdn.com/tom"&gt;http://blogs.msdn.com/tom&lt;/a&gt; &lt;/h6&gt; &lt;/blockquote&gt;  &lt;h4&gt;AppPool Account Mappings&lt;/h4&gt;  &lt;p&gt;The other purpose of this service is to allow you to lock down your content directories using user-friendly names.&amp;#160; It allows you to use access control list (ACL) UI in Windows Explorer or the ICACLS command-line tool instead of using security identifiers (SID) to lock down the content.&amp;#160; This service maps the accounts to the SID.&amp;#160; This makes things much easier when it comes to locking down your content.&amp;#160; You can also take advantage of the new account that gets created for the AppPool to lock down the content if you'd like also, see my &lt;a href="http://blogs.msdn.com/tom/archive/2008/03/05/automatic-application-pool-isolation-in-iis7-why-you-ll-want-to-use-this.aspx"&gt;previous blog entry&lt;/a&gt; for info on how that gets created.&amp;#160; &lt;/p&gt;  &lt;p&gt;If you stop this service, no backups will be made of your IIS settings and IIS won't be able to map the accounts correctly.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f07%2fapplicationhost-helper-service-what-does-it-do.aspx"&gt;&lt;img border="0" alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f07%2fapplicationhost-helper-service-what-does-it-do.aspx" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8107179" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Automatic Application Pool Isolation in IIS7 - why you'll want to use this</title><link>http://blogs.msdn.com/tom/archive/2008/03/05/automatic-application-pool-isolation-in-iis7-why-you-ll-want-to-use-this.aspx</link><pubDate>Wed, 05 Mar 2008 20:02:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8053197</guid><dc:creator>Tom</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/tom/comments/8053197.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8053197</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8053197</wfw:comment><description>&lt;p&gt;So IIS7, which comes with the new Windows Server 2008 which just RTM'd, has a bunch of new features that are going to make life a lot easier for the web developer and administrator.&lt;/p&gt;  &lt;p&gt;The one we will see today is called Automatic Application Pool Isolation.&amp;#160; This basically means that when you create a new Site on your WebServer, IIS will create a new AppPool for the new site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/AutomaticApplicationPoolIsolationinIIS7w_D289/AppPool_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="234" alt="AppPool" src="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/AutomaticApplicationPoolIsolationinIIS7w_D289/AppPool_thumb.png" width="444" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This shows the AppPool getting created when a new site is created.&amp;#160; So what all does this mean?&amp;#160; Well, there are a few things that are going on behind the scenes that are version important in regards to security and isolation.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;When this is created, we will create a unique account on the machine that is based on this new AppPool using the NetworkService token. &lt;/li&gt;    &lt;li&gt;Also, when this Application pool is created, we will create a new &amp;lt;AppPool&amp;gt;.config file for this process.&amp;#160; And it is configured so that only the account we just created can access it. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;These two things combined mean that we can now separate this application so that the configuration and the identity it is running under are isolated.&amp;#160; All that would be left to do is set permissions on the content for the site and this site would be completely isolated from all other sites on this machine.&amp;#160; This is a great thing for ISP's as they will be able to make sure one site's users cannot access another site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f05%2fautomatic-application-pool-isolation-in-iis7-why-you-ll-want-to-use-this.aspx"&gt;&lt;img alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f03%2f05%2fautomatic-application-pool-isolation-in-iis7-why-you-ll-want-to-use-this.aspx" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8053197" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>ASP.NET Tips: Add trace statements</title><link>http://blogs.msdn.com/tom/archive/2008/02/29/asp-net-tips-add-trace-statements.aspx</link><pubDate>Fri, 29 Feb 2008 20:14:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7953278</guid><dc:creator>Tom</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/tom/comments/7953278.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=7953278</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=7953278</wfw:comment><description>&lt;p&gt;So I am going to start a new topic revolving around some useful tips for ASP.NET developers.&lt;/p&gt;  &lt;p&gt;The first one is rather simple but very effective.&amp;#160; When you are creating your site, it is a good idea to add some tracing to your application for times when you need to debug or troubleshoot a problem.&amp;#160; For example, if you are having a performance problem with a particular page, you can turn on &lt;a href="http://msdn2.microsoft.com/en-us/library/y13fw6we.aspx"&gt;Tracing&lt;/a&gt; for that page and get a detailed report of how long different steps took for the page to execute.&lt;/p&gt;  &lt;p&gt;To use tracing on your site, take a look at: &lt;a title="http://msdn2.microsoft.com/en-us/library/z48bew18(VS.71).aspx" href="http://msdn2.microsoft.com/en-us/library/z48bew18(VS.71).aspx"&gt;Writing Trace Messages&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As you can see there, you can get how long your code took to get from one logged trace statement to the next.&amp;#160; This can really help you to narrow down where the bottleneck is that is causing the problem on your site.&lt;/p&gt;  &lt;p&gt;There is a great example of this &lt;a href="http://weblogs.asp.net/plip/articles/111130.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you are using IIS7, you can use tracing and get that output with your FREB log file, everything you need to set that up is located &lt;a href="http://learn.iis.net/page.aspx/245/how-to-capture-aspnet-page-trace-events-in-iis7-tracing/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f02%2f29%2fasp-net-tips-add-trace-statements.aspx"&gt;&lt;img alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f02%2f29%2fasp-net-tips-add-trace-statements.aspx" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7953278" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET+Tip/default.aspx">ASP.NET Tip</category></item></channel></rss>