<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hosam Kamel : Windows Vista</title><link>http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Vista/default.aspx</link><description>Tags: Windows Vista</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>How to identify your application worker process (w3wp)</title><link>http://weblogs.asp.net/hosamkamel/archive/2009/10/18/how-to-identify-your-application-worker-process-w3wp.aspx</link><pubDate>Sun, 18 Oct 2009 04:43:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7232279</guid><dc:creator>HosamKamel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/hosamkamel/rsscomments.aspx?PostID=7232279</wfw:commentRss><comments>http://weblogs.asp.net/hosamkamel/archive/2009/10/18/how-to-identify-your-application-worker-process-w3wp.aspx#comments</comments><description>&lt;p&gt;When working with multiple application pools it’s being difficult to identify which worker process (w3wp.exe) you want to attach your debugger to while debugging your asp.net web application .&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/Attachtoprocess_50495720.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Attach to process" border="0" alt="Attach to process" src="http://weblogs.asp.net/blogs/hosamkamel/Attachtoprocess_thumb_46249028.jpg" width="244" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To identify your application worker process (w3wp), You have to get the correct worker process ID to do so:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;For Window 2008 or Vista (IIS 7.0)&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;IIS 7.0 shipped with a new utility called &lt;a href="http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/" target="_blank"&gt;AppCmd&lt;/a&gt; which serve as a command line server management utility. &lt;/li&gt;    &lt;li&gt;This tool located in %systemroot%\system32\inetsrv\AppCmd.exe &lt;/li&gt;    &lt;li&gt;To list current worker process Id’s along with its corresponding site use the below command&amp;#160; &lt;div class="csharpcode"&gt;       &lt;pre class="alt"&gt;AppCmd.exe list wps&lt;/pre&gt;
    &lt;/div&gt;
    &lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/li&gt;

  &lt;li&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/image_4ABA9AE2.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://weblogs.asp.net/blogs/hosamkamel/image_thumb_6C56C3B3.png" width="244" height="139" /&gt;&lt;/a&gt;&amp;#160; &lt;/li&gt;

  &lt;li&gt;once you got your application worker process Id, you select the correct worker process from “Attach to Process” dialog on Visual Studio. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For Window 2003 (IIS 6.0)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Use &lt;a href="http://msdn.microsoft.com/en-us/library/ms525006.aspx" target="_blank"&gt;iisapp.vbs&lt;/a&gt; script, a command line tool included in IIS 6.0 is used to list worker processes &lt;/li&gt;

  &lt;li&gt;This script located in %SystemRoot%\System32\IIsApp.vbs &lt;/li&gt;

  &lt;li&gt;Run it by typing 
    &lt;div class="csharpcode"&gt;
      &lt;pre class="alt"&gt;cscript IIsApp.vbs&lt;/pre&gt;
    &lt;/div&gt;
    &lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;/li&gt;

  &lt;li&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/image_109BA836.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://weblogs.asp.net/blogs/hosamkamel/image_thumb_2C7CB761.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;once you got your application worker process Id, you select the correct worker process from “Attach to Process” dialog on Visual Studio. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hope it helps.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7232279" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/.NET+Tips+_2600_+Tricks/default.aspx">.NET Tips &amp; Tricks</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio+2005+Tips/default.aspx">Visual Studio 2005 Tips</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET+Tips+_2600_+Tricks/default.aspx">ASP.NET Tips &amp; Tricks</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows/default.aspx">Windows</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Vista/default.aspx">Vista</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Server+2008+Server+Core/default.aspx">Windows Server 2008 Server Core</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Server+2003/default.aspx">Windows Server 2003</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/IIS+6.0/default.aspx">IIS 6.0</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Server+2008+64-bit/default.aspx">Windows Server 2008 64-bit</category></item><item><title>[Vista]Visual Studio .NET 2003 on Windows Vista Issue List</title><link>http://weblogs.asp.net/hosamkamel/archive/2008/10/10/vista-visual-studio-net-2003-on-windows-vista-issue-list.aspx</link><pubDate>Fri, 10 Oct 2008 11:54:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6668733</guid><dc:creator>HosamKamel</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/hosamkamel/rsscomments.aspx?PostID=6668733</wfw:commentRss><comments>http://weblogs.asp.net/hosamkamel/archive/2008/10/10/vista-visual-studio-net-2003-on-windows-vista-issue-list.aspx#comments</comments><description>&lt;p&gt;While browsing Visual Studio Developer Center at MSDN if found this interesting article which identifies the known issues you will face when using Visual Studio 2003 on Windows Vista. &lt;strong&gt;&lt;em&gt;While Visual Studio 2003 is not supported on Windows Vista.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Check the full issues list &lt;strong&gt;&lt;a href="http://msdn.microsoft.com/en-us/vstudio/bb188244.aspx" target="_blank"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6668733" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio+2005+Tips/default.aspx">Visual Studio 2005 Tips</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET+Tips+_2600_+Tricks/default.aspx">ASP.NET Tips &amp; Tricks</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Vista/default.aspx">Vista</category></item><item><title>[Vista Problem] ASP.NET web site not loaded in Visual Studio Under Windows Vista</title><link>http://weblogs.asp.net/hosamkamel/archive/2008/09/24/vista-problem-asp-net-web-site-not-loaded-in-visual-studio-under-windows-vista.aspx</link><pubDate>Wed, 24 Sep 2008 16:53:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6640446</guid><dc:creator>HosamKamel</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/hosamkamel/rsscomments.aspx?PostID=6640446</wfw:commentRss><comments>http://weblogs.asp.net/hosamkamel/archive/2008/09/24/vista-problem-asp-net-web-site-not-loaded-in-visual-studio-under-windows-vista.aspx#comments</comments><description>&lt;p&gt;You may get the below error while trying to load ASP.NET web site/Web application while using Visual Studio under Windows Vista.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="114" alt="image" src="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_thumb.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;a href="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_thumb_1.png" width="162" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To resolve this error and get the project loaded follow the following steps :&lt;/p&gt;  &lt;p&gt;1- close the current running instance of Visual Studio&lt;/p&gt;  &lt;p&gt;2- Run the Visual Studio again but in &lt;strong&gt;Administration Mode&lt;/strong&gt; , to do so :&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;- From Start menu select Visual Studio , right click and select Run as Administrator option.&lt;/p&gt;    &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_thumb_2.png" width="226" border="0" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;3- You should now see that the title bar has been changed to show that you are running in administration mode. &lt;strong&gt;[Project Name] -&amp;#160; Microsoft Visual Studio (Administration)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_8.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="75" alt="image" src="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_thumb_3.png" width="644" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Congratulations !&lt;/strong&gt;&amp;#160; You will now be able to load the web site .&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BTW &lt;/strong&gt;: If we you don't have a web site configured on IIS 7.0 you will be prompt to create one , just click yes &lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_12.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="201" alt="image" src="http://weblogs.asp.net/blogs/hosamkamel/WindowsLiveWriter/Vis.NETwebsitenotloadedinVisualStudioUnd_60BA/image_thumb_5.png" width="487" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Good luck :)&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6640446" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Web+Application+Project/default.aspx">Web Application Project</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio+2005+Tips/default.aspx">Visual Studio 2005 Tips</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET+Tips+_2600_+Tricks/default.aspx">ASP.NET Tips &amp; Tricks</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Windows/default.aspx">Windows</category><category domain="http://weblogs.asp.net/hosamkamel/archive/tags/Vista/default.aspx">Vista</category></item></channel></rss>