<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer OneNote &#187; Development</title>
	<atom:link href="http://devonenote.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://devonenote.com</link>
	<description>Emma&#039;s OneNote for Microsoft Windows, Office and Programming</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:19:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TFS How to change the computer name or owner for a workspace</title>
		<link>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tfs-how-to-change-the-computer-name-or-owner-for-a-workspace</link>
		<comments>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 14:34:40 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[TFS 2010]]></category>

		<guid isPermaLink="false">http://devonenote.com/?p=566</guid>
		<description><![CDATA[The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. To do this, open a Visual Studio Command Prompt (2010) &#8230; <a href="http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/common-tfs-commands/' rel='bookmark' title='Common TFS commands'>Common TFS commands</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. <font style="font-weight: normal">To do this, open a Visual Studio Command Prompt (2010) from program files, and cd to your workspace, then run following</font></p>
<h1>Change the computer name for a workspace</h1>
<p class="textborder">tf workspaces /updateComputerName:&lt;<font color="#ff0000">OldComputerName&gt;</font> /collection:<font color="#ff0000">&lt;CollectionURL&gt;</font></p>
<p>You need replace <font color="#ff0000">&lt;OldComputerName&gt;</font> to your actual old computer name and <font color="#ff0000">&lt;CollectionURL&gt;</font> to your actual TFS collection URL.</p>
<h1>Change the owner for a workspace</h1>
<p class="textborder">tf workspaces /updateUserName:<font color="#ff0000">&lt;OldUserName&gt;</font> /collection:<font color="#ff0000">&lt;CollectionURL&gt;</font></p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/common-tfs-commands/' rel='bookmark' title='Common TFS commands'>Common TFS commands</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Highlight the file you work with in Visual Studio Solution Explorer</title>
		<link>http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=in-the-vs-solution-explorer-highlight-the-current-edited-file</link>
		<comments>http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 14:15:23 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/</guid>
		<description><![CDATA[Visual Studio 2010 Tip &#8211; Highlight the file you work with in Solution Explorer Go to Tools-&#62;Options-&#62;Projects and Solutions-&#62;General Check the &#34;Track Active Item In Solution Explorer&#34; checkbox.​ Related posts: Visual Studio Themes and Color Schemes CopySourceAsHtml for Visual Studio &#8230; <a href="http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/' rel='bookmark' title='CopySourceAsHtml for Visual Studio 2010'>CopySourceAsHtml for Visual Studio 2010</a></li>
<li><a href='http://devonenote.com/2010/03/visual-studio-plug-in-ghostdoc/' rel='bookmark' title='Visual Studio plug-in: GhostDoc'>Visual Studio plug-in: GhostDoc</a></li>
<li><a href='http://devonenote.com/2010/04/final-visual-studio-2010-available-for-download/' rel='bookmark' title='Final Visual Studio 2010 available for download'>Final Visual Studio 2010 available for download</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2010 Tip &#8211; Highlight the file you work with in Solution Explorer</p>
<ol>
<li>Go to Tools-&gt;Options-&gt;Projects and Solutions-&gt;General</li>
<li>Check the &quot;Track Active Item In Solution Explorer&quot; checkbox.​</li>
</ol>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/' rel='bookmark' title='CopySourceAsHtml for Visual Studio 2010'>CopySourceAsHtml for Visual Studio 2010</a></li>
<li><a href='http://devonenote.com/2010/03/visual-studio-plug-in-ghostdoc/' rel='bookmark' title='Visual Studio plug-in: GhostDoc'>Visual Studio plug-in: GhostDoc</a></li>
<li><a href='http://devonenote.com/2010/04/final-visual-studio-2010-available-for-download/' rel='bookmark' title='Final Visual Studio 2010 available for download'>Final Visual Studio 2010 available for download</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When should you use var keyword in C#?</title>
		<link>http://devonenote.com/2011/09/when-should-you-use-var-keyword-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=when-should-you-use-var-keyword-in-c</link>
		<comments>http://devonenote.com/2011/09/when-should-you-use-var-keyword-in-c/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 03:09:24 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSharp]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/09/when-should-you-use-var-keyword-in-c/</guid>
		<description><![CDATA[When should you use var keyword in C#? Check out Eric Lippert&#8217;s blog article http://blogs.msdn.com/b/ericlippert/archive/2011/04/20/uses-and-misuses-of-implicit-typing.aspx See also http://stackoverflow.com/questions/41479/use-of-var-keyword-in-c No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>When should you use var keyword in C#?</p>
<p>Check out Eric Lippert&#8217;s blog article <a href="http://blogs.msdn.com/b/ericlippert/archive/2011/04/20/uses-and-misuses-of-implicit-typing.aspx">http://blogs.msdn.com/b/ericlippert/archive/2011/04/20/uses-and-misuses-of-implicit-typing.aspx</a></p>
<p>See also <a href="http://stackoverflow.com/questions/41479/use-of-var-keyword-in-c">http://stackoverflow.com/questions/41479/use-of-var-keyword-in-c</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/09/when-should-you-use-var-keyword-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kentico CMS Installation issues troubleshooting &#8211; SQL Server Connection problems</title>
		<link>http://devonenote.com/2011/09/kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems</link>
		<comments>http://devonenote.com/2011/09/kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 17:46:22 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Kentico]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/09/kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems/</guid>
		<description><![CDATA[You may encounter problems when entering the database connection details in the first step of database setup: Error 1: Establishing connection to the server Error message: An error has occurred while establishing a connection to the server. When connecting to &#8230; <a href="http://devonenote.com/2011/09/kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>You may encounter problems when entering the database connection details in the first step of database setup:</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb.png" width="480" height="395" /></a></p>
<h3></h3>
<p><span id="more-540"></span><br />
<h2>Error 1: Establishing connection to the server</h2>
<h3>Error message:</h3>
<p class="textborder">An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server)</p>
<h3>Troubleshooting:</h3>
<ol>
<li>Make sure the SQL Server name or IP address is correct. In some cases, using one of the following values may help:
<ul>
<li>your computer name </li>
<li>localhost </li>
<li>127.0.0.1 </li>
<li>(local) </li>
</ul>
</li>
<li>Make sure the server has Microsoft SQL Server 2005 or 2008 installed and running. </li>
<li>Make sure you are using the appropriate instance of the SQL Server in case you are using different instances of SQL Server. The instance name must be entered as myserver\myinstance (please note there&#8217;s a backslash <b>\</b>). </li>
<li>If you&#8217;re using Microsoft SQL Server Express 2005 with default installation settings, the correct server name is <b>.\sqlexpress </b>or <b>computername\sqlexpress </b>. </li>
<li>Make sure the access to the database server is not blocked by some firewall (the default port number for TCP/IP protocol is 1433). </li>
<li>If you&#8217;re using <b>SQL Server 2005 </b>(especially the Express Edition), some protocols are disabled by default. You may need to go to <b>Start menu -&gt; All Programs -&gt; Microsoft SQL Server 2005 -&gt;</b><b>Configuration Tools </b>on the computer where the SQL Server is installed and start <b>SQL Server </b><b>Configuration Manager</b>. Then, go to SQL Server 2005 Network Configuration and enable the TCP/IP protocol: <a href="http://devonenote.com/wp-content/uploads/2011/09/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb1.png" width="480" height="273" /></a> </li>
<li>You may also need to enable the TCP/IP protocol in the <b>SQL Native Client Configuration –&gt; Client </b><b>Protocols </b>section: <a href="http://devonenote.com/wp-content/uploads/2011/09/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb2.png" width="480" height="264" /></a> </li>
</ol>
<h2>Error 2: Login failed for user &#8216;xy&#8217; </h2>
<h3>Error message:</h3>
<p class="textborder">Login failed for user &#8216;xy&#8217;</p>
<h3>Troubleshooting for SQL Server account</h3>
<p>If you&#8217;re using SQL Server account with password, make sure you are using a valid user name and password. The login must be created on the server, it must be enabled and permissions to connect to the server must be granted to it. You can check the user account in Enterprise Manager/SQL Server Management Studio -&gt; Server -&gt; Security -&gt; Logins:</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb3.png" width="240" height="200" /></a></p>
<p>Also, check the <b>Server Properties -&gt; Security </b>dialog in Enterprise Manager/SQL Server Management Studio and make sure your server supports <b>SQL Server and Windows Authentication mode</b>:</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb4.png" width="480" height="430" /></a></p>
<h3>Troubleshooting for Windows Authentication account</h3>
<p>If you&#8217;re using Windows Authentication account, the situation may be a little more complex and may require you to contact your network administrator. ASP.NET applications run under some particular local or domain account. This current account is displayed on the screen:</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb5.png" width="480" height="38" /></a></p>
<p>This account must have its own login with Windows authentication in the SQL Server. You can create the login in <b>Enterprise Manager\SQL Server Management Studio -&gt; Security -&gt; Logins </b>and grant appropriate permissions on the server to it. If you SQL Server is located on a different machine than your web server, you may need to configure your web application so that it runs under some domain account, rather than local account so that you can the login in the remote SQL Server.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/09/kentico-cms-installation-issues-troubleshooting-sql-server-connection-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTTP Error 404.13 &#8211; Not Found Error When Upload Big File using WCF</title>
		<link>http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upload-large-files-using-wcf-error-iis404-13</link>
		<comments>http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 16:38:11 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/</guid>
		<description><![CDATA[On IIS 7.5, if you upload big file thru WCF service, you might get http 404.13 error from IIS server. HTTP Error 404.13 &#8211; Not Found The request filtering module is configured to deny a request that exceeds the request &#8230; <a href="http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/' rel='bookmark' title='IIS 7.5 Error The temp directory in chart handler configuration is not accessible'>IIS 7.5 Error The temp directory in chart handler configuration is not accessible</a></li>
<li><a href='http://devonenote.com/2010/09/grant-permission-to-defaultapppool-identity/' rel='bookmark' title='Grant Permission to DefaultAppPool Identity'>Grant Permission to DefaultAppPool Identity</a></li>
<li><a href='http://devonenote.com/2011/02/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list/' rel='bookmark' title='Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list'>Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On IIS 7.5, if you upload big file thru WCF service, you might get http 404.13 error from IIS server.</p>
<p class="textborder">HTTP Error 404.13 &#8211; Not Found    <br />The request filtering module is configured to deny a request that exceeds the request content length.</p>
<p>The solution is set a higher value for maxAllowedContentLength in web.config of application</p>
<p class="textborder">&lt;configuration&gt;    <br />&lt;system.webServer&gt;     <br />&lt;security&gt;     <br />&lt;requestFiltering&gt;     <br />&lt;requestLimits maxAllowedContentLength=&quot;300000000&quot;/&gt;     <br />&lt;/requestFiltering&gt;     <br />&lt;/security&gt;     <br />&lt;/system.webServer&gt;     <br />&lt;/configuration&gt; </p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/' rel='bookmark' title='IIS 7.5 Error The temp directory in chart handler configuration is not accessible'>IIS 7.5 Error The temp directory in chart handler configuration is not accessible</a></li>
<li><a href='http://devonenote.com/2010/09/grant-permission-to-defaultapppool-identity/' rel='bookmark' title='Grant Permission to DefaultAppPool Identity'>Grant Permission to DefaultAppPool Identity</a></li>
<li><a href='http://devonenote.com/2011/02/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list/' rel='bookmark' title='Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list'>Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate GUID in PERL</title>
		<link>http://devonenote.com/2011/06/generate-guid-in-perl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generate-guid-in-perl</link>
		<comments>http://devonenote.com/2011/06/generate-guid-in-perl/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 16:13:41 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/06/generate-guid-in-perl/</guid>
		<description><![CDATA[It’s very common for developer to generate a GUID in code to guarantee uniqueness. Here is the sample code to generate a GUID in Perl my $guid = `uuidgen.exe`; chomp $guid; Uuuidgen.exe is a tool from DotNet Framework. You can &#8230; <a href="http://devonenote.com/2011/06/generate-guid-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/05/redirect-command-output-in-perl/' rel='bookmark' title='Perl Redirect Command Output'>Perl Redirect Command Output</a></li>
<li><a href='http://devonenote.com/2010/06/perl-add-directory-to-path/' rel='bookmark' title='Perl Add Directory to Path'>Perl Add Directory to Path</a></li>
<li><a href='http://devonenote.com/2010/06/perl-last-element-of-split/' rel='bookmark' title='Perl Last Element of Split'>Perl Last Element of Split</a></li>
<li><a href='http://devonenote.com/2010/06/perl/' rel='bookmark' title='Perl Escape Backslashes in String Substitution'>Perl Escape Backslashes in String Substitution</a></li>
<li><a href='http://devonenote.com/2010/06/perl-backslash-in-regular-expression/' rel='bookmark' title='Perl Backslash in Regular Expression'>Perl Backslash in Regular Expression</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It’s very common for developer to generate a GUID in code to guarantee uniqueness. Here is the sample code to generate a GUID in Perl</p>
<p class="textborder">my $guid = `uuidgen.exe`;    <br />chomp $guid;</p>
<p>Uuuidgen.exe is a tool from DotNet Framework. You can append &quot;-c&quot; option to generate uppercase letters</p>
<p>Run uuidgen /? to see the detail usage of uuidgen.    <br />Microsoft UUID Generator v1.01 Copyright (c) Microsoft Corporation. All rights reserved.</p>
<p>usage: uuidgen [-xisconvh?]    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; x &#8211; Generate sequential (V1) UUIDs     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; i &#8211; Output UUID in an IDL interface template     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; s &#8211; Output UUID as an initialized C struct     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; c &#8211; Output UUID in upper case     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; o&lt;filename&gt; &#8211; redirect output to a file, specified immediately after o     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; n&lt;number&gt; &#8211; Number of UUIDs to generate, specified immediately after n     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; v &#8211; display version information about uuidgen     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; h,? &#8211; Display command option summary</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/05/redirect-command-output-in-perl/' rel='bookmark' title='Perl Redirect Command Output'>Perl Redirect Command Output</a></li>
<li><a href='http://devonenote.com/2010/06/perl-add-directory-to-path/' rel='bookmark' title='Perl Add Directory to Path'>Perl Add Directory to Path</a></li>
<li><a href='http://devonenote.com/2010/06/perl-last-element-of-split/' rel='bookmark' title='Perl Last Element of Split'>Perl Last Element of Split</a></li>
<li><a href='http://devonenote.com/2010/06/perl/' rel='bookmark' title='Perl Escape Backslashes in String Substitution'>Perl Escape Backslashes in String Substitution</a></li>
<li><a href='http://devonenote.com/2010/06/perl-backslash-in-regular-expression/' rel='bookmark' title='Perl Backslash in Regular Expression'>Perl Backslash in Regular Expression</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/06/generate-guid-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSBUILD Reserved Properties</title>
		<link>http://devonenote.com/2011/04/msbuild-reserved-properties/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=msbuild-reserved-properties</link>
		<comments>http://devonenote.com/2011/04/msbuild-reserved-properties/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 12:43:49 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MSBuild]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/04/msbuild-reserved-properties/</guid>
		<description><![CDATA[When you use MSBuild, a handful of properties are available to you out of the box that cannot be modified. These are known as reserved properties. Following table presents all reserved properties in MSBuild 4. MSBuildExtensionsPath The full path to &#8230; <a href="http://devonenote.com/2011/04/msbuild-reserved-properties/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/how-to-debug-msbuild-issues/' rel='bookmark' title='How to debug msbuild issues'>How to debug msbuild issues</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you use MSBuild, a handful of properties are available to you out of the box that cannot be modified. These are known as reserved properties. Following table presents all reserved properties in MSBuild 4.</p>
<p><span id="more-499"></span></p>
<table border="1" cellspacing="0" cellpadding="0" width="571">
<tbody>
<tr>
<td width="214" height="39">MSBuildExtensionsPath</td>
<td width="355">The full path to where MSBuild extensions are located. This is typically under the Program Files folder. Note that now this always points to the 32-bit location.</td>
</tr>
<tr>
<td width="214" height="39">MSBuildExtensionsPath32</td>
<td width="355">The full path where MSBuild 32-bit extensions are located. This typically is located under the Program Files folder. For 32-bit machines, this value will be the same as MSBuildExtensionsPath.</td>
</tr>
<tr>
<td width="214" height="39">MSBuildExtensionsPath64*</td>
<td width="355">The full path where MSBuild 64-bit extensions are located. This typically is under the Program Files folder. For 32-bit machines, this value will be empty.</td>
</tr>
<tr>
<td width="214" height="39">MSBuildLastTaskResult*</td>
<td width="355">This value holds the return value from the previous task. It will be true if the task completed successfully, and false otherwise.</td>
</tr>
<tr>
<td width="214" height="58">MSBuildNodeCount</td>
<td width="355">The maximum number of nodes (processes) that are being used to build the project. If the /m switch is not used, then this value will be 1. If you use the /m switch without specifying a number of nodes, then the default is the number of CPUs available.</td>
</tr>
<tr>
<td width="214" height="58">MSBuildOverrideTasksPath *</td>
<td width="355">MSBuild 4.0 introduces override tasks, which are tasks that force themselves to be used instead of any other defined task with the same name, and this property points to a file that<span style="mso-spacerun: yes;"> </span>contains the overrides. The override tasks feature is used internally to help MSBuild 4.0 work well with other versions of MSBuild.</td>
</tr>
<tr>
<td width="214" height="39">MSBuildProgramFiles32 *</td>
<td width="355">This contains the path to the 32-bit Program Files folder. To get the value for the default Program Files folder, use $(ProgramFiles).</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectDefault</td>
<td width="355">Targets Contains the list of the default targets.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectDefaultTargets</td>
<td width="355">Contains a list of the default targets.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectDirectory</td>
<td width="355">The full path to the directory where the project file is located.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectDirectoryNoRoot</td>
<td width="355">The full path to the directory where the project file is located, excluding the root directory.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectExtension</td>
<td width="355">The extension of the project file, including the period.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectFile</td>
<td width="355">The name of the project file, including the extension.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectFullPath</td>
<td width="355">The full path to the project file.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildProjectName</td>
<td width="355">The name of the project file, without the extension.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildStartupDirectory</td>
<td width="355">The full path to the folder where the MSBuild process is invoked.</td>
</tr>
<tr>
<td width="214" height="58">MSBuildThisFile *</td>
<td width="355">Contains the file name, including the extension, of the file that contains the property usage. This differs from MSBuildProjectFile in that MSBuildProjectFile always refers to the file that was invoked, not any imported file name.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileDirectory*</td>
<td width="355">This is the full path to the directory that contains the file that is currently being executed.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileDirectoryNoRoot *</td>
<td width="355">Same as MSBuildThisFileDirectory without the root</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileDirectoryNoRoot*</td>
<td width="355">The same as MSBuildThisFileDirectory, except with the root removed.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileExtension *</td>
<td width="355">The extension of the file referenced by MSBuildThisFile.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileFullPath*</td>
<td width="355">The full path to the file that is currently executing.</td>
</tr>
<tr>
<td width="214" height="21">MSBuildThisFileName*</td>
<td width="355">The name of the file, excluding the extension and path, of the currently executing file.</td>
</tr>
<tr>
<td width="214" height="58">MSBuildToolsPath(MSBuildBinPath)</td>
<td width="355">The full path to the location where the MSBuild binaries are located. In MSBuild 2.0, this property is named MSBuildBinPath and is deprecated in MSBuild 3.5 and later. MSBuildBinPath and MSBuildToolsPath have the same value, but you should use only MSBuildToolsPath.</td>
</tr>
<tr>
<td width="214" height="39">MSBuildToolsVersion</td>
<td width="355">The version of the tools being used to build the project. Possible values include 2.0, 3.5, and 4.0. The default value is 2.0.</td>
</tr>
</tbody>
</table>
<p>* Denotes parameters new with MSBuild 4.0.</p>
<p>This table is copied from the book “Inside Microsoft Build Engine 2.”</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/how-to-debug-msbuild-issues/' rel='bookmark' title='How to debug msbuild issues'>How to debug msbuild issues</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/04/msbuild-reserved-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS 7.5 Error The temp directory in chart handler configuration is not accessible</title>
		<link>http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible</link>
		<comments>http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 17:33:36 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/</guid>
		<description><![CDATA[If you build a web application with Chart control for ASP.NET 4.0 and deploy the site to web server.&#160; You might get following error on the live site: The temp directory in chart handler configuration is not accessible To resolve &#8230; <a href="http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/09/grant-permission-to-defaultapppool-identity/' rel='bookmark' title='Grant Permission to DefaultAppPool Identity'>Grant Permission to DefaultAppPool Identity</a></li>
<li><a href='http://devonenote.com/2011/02/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list/' rel='bookmark' title='Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list'>Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list</a></li>
<li><a href='http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/' rel='bookmark' title='HTTP Error 404.13 &#8211; Not Found Error When Upload Big File using WCF'>HTTP Error 404.13 &#8211; Not Found Error When Upload Big File using WCF</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you build a web application with Chart control for ASP.NET 4.0 and deploy the site to web server.&#160; You might get following error on the live site:</p>
<p class="textborder">The temp directory in chart handler configuration is not accessible </p>
<p>To resolve this, first go to web.config and find the ChartImage directory in appsettings. </p>
<p class="textborder">&lt;appSettings&gt;    <br />&lt;add key=&quot;ChartImageHandler&quot; value=&quot;storage=file;timeout=20;dir=c:\TempImageFiles\;&quot; /&gt;     <br />&lt;/appSettings&gt;     </p>
<p>The go to the temp chart image directory and grant read and write permission to IIS working process account in share properties – security tab. Note that the account runs IIS working process is different between IIS 7 and IIS 7.5</p>
<ul>
<li>On Windows Server 2008 has IIS7, grant Read and Write permission to Network Service</li>
<li>On Windows server 2008 R2 has IIS 7.5, grant Read and Write permission to AppPool\<font color="#ff0000">&lt;PoolName&gt;</font>. Replace <font color="#ff0000">&lt;PoolName&gt;</font> to the actual machine pool your site is running on, for example, if your site is running on pool named ASP.NET v4.0, then the account you need grant permission would be <strong>IIS AppPool\ASP.NET v4.0</strong>, you can refer this <a href="http://devonenote.com/2010/09/grant-permission-to-defaultapppool-identity/" target="_blank">step by step instructions</a> for detail</li>
</ul>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/09/grant-permission-to-defaultapppool-identity/' rel='bookmark' title='Grant Permission to DefaultAppPool Identity'>Grant Permission to DefaultAppPool Identity</a></li>
<li><a href='http://devonenote.com/2011/02/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list/' rel='bookmark' title='Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list'>Handler &quot;PageHandlerFactory-Integrated&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list</a></li>
<li><a href='http://devonenote.com/2011/07/upload-large-files-using-wcf-error-iis404-13/' rel='bookmark' title='HTTP Error 404.13 &#8211; Not Found Error When Upload Big File using WCF'>HTTP Error 404.13 &#8211; Not Found Error When Upload Big File using WCF</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/04/iis-7-5-error-the-temp-directory-in-chart-handler-configuration-is-not-accessible/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove dead using statements</title>
		<link>http://devonenote.com/2011/03/remove-dead-using-statements/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-dead-using-statements</link>
		<comments>http://devonenote.com/2011/03/remove-dead-using-statements/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 17:24:25 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/03/remove-dead-using-statements/</guid>
		<description><![CDATA[Visual Studio has a great feature to easily remove all dead using statements in your code. The steps are pretty straightforward. Right click anywhere from the code Select Organize Using and Select Remove Unused Usings. Related posts: Find Dead Code &#8230; <a href="http://devonenote.com/2011/03/remove-dead-using-statements/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/03/find-dead-code/' rel='bookmark' title='Find Dead Code'>Find Dead Code</a></li>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/' rel='bookmark' title='CopySourceAsHtml for Visual Studio 2010'>CopySourceAsHtml for Visual Studio 2010</a></li>
<li><a href='http://devonenote.com/2010/04/ghostdoc-tutorial/' rel='bookmark' title='GhostDoc Tutorial'>GhostDoc Tutorial</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Visual Studio has a great feature to easily remove all dead using statements in your code. </p>
<p>The steps are pretty straightforward.</p>
<ol>
<li>Right click anywhere from the code</li>
<li>Select Organize Using and </li>
<li>Select Remove Unused Usings.</li>
</ol>
<p><a href="http://devonenote.com/wp-content/uploads/2011/03/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://devonenote.com/wp-content/uploads/2011/03/image_thumb1.png" width="360" height="129" /></a></p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/03/find-dead-code/' rel='bookmark' title='Find Dead Code'>Find Dead Code</a></li>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/' rel='bookmark' title='CopySourceAsHtml for Visual Studio 2010'>CopySourceAsHtml for Visual Studio 2010</a></li>
<li><a href='http://devonenote.com/2010/04/ghostdoc-tutorial/' rel='bookmark' title='GhostDoc Tutorial'>GhostDoc Tutorial</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/03/remove-dead-using-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Could not load file or assembly TraceWrapper, Version=1.0.523.0</title>
		<link>http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=could-not-load-file-or-assembly-tracewrapper-version1-0-523-0</link>
		<comments>http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 15:31:50 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/</guid>
		<description><![CDATA[There are two versions of the TraceWrapper.dll in SCVMM install CD. One is x86 version and the other is x64 version. When you build your application on top of SCVMM library Microsoft.SystemCenter.VirtualMachineManager, it’s very important to pick up the correct &#8230; <a href="http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/03/file-is-missing-or-invalid-error-message/' rel='bookmark' title='File is Missing or Invalid Error Message'>File is Missing or Invalid Error Message</a></li>
<li><a href='http://devonenote.com/2010/03/uncompress-msi-file/' rel='bookmark' title='Uncompress MSI File'>Uncompress MSI File</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are two versions of the TraceWrapper.dll in SCVMM install CD. One is x86 version and the other is x64 version. When you build your application on top of SCVMM library Microsoft.SystemCenter.VirtualMachineManager, it’s very important to pick up the correct version TraceWrapper.dll. In general, you should copy the 32 bit dll if you are using 32 bit system, copy 64 bit dll if you are using 64 bit system. Otherwise following BadImageFormatException would occur during runtime.</p>
<p class="textborder">Could not load file or assembly &#8216;TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8242; or one of its dependencies. An attempt was made to load a program with an incorrect format.</p>
<p>However, you should keep using 32 bit TraceWrapper on a 64 bit system for following scenarios:</p>
<ul>
<li>You need debug your app in Visual Studio directly. In this case, process launched from Visual Studio debugger runs in WOW64 mode.</li>
<li><a href="http://devonenote.com/2011/01/run-iis-in-32-bit-mode-on-a-64-bit-machine/" target="_blank">IIS is configured to run in 32 bit mode</a>. In this case, all working processes run in WOW64 mode.</li>
</ul>
<p>This is because in 64 bit windows, processes in WOW64 mode are 32 bit processes and can’t load 64 bit TraceWrapper.dll.</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/03/file-is-missing-or-invalid-error-message/' rel='bookmark' title='File is Missing or Invalid Error Message'>File is Missing or Invalid Error Message</a></li>
<li><a href='http://devonenote.com/2010/03/uncompress-msi-file/' rel='bookmark' title='Uncompress MSI File'>Uncompress MSI File</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

