<?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>mayvelous &#187; Work</title>
	<atom:link href="http://www.mayvelous.com/category/personal/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mayvelous.com</link>
	<description>Me, Myself and Mayvelous</description>
	<lastBuildDate>Mon, 10 Oct 2011 01:09:28 +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>Sitefinity &#8211; New Site Deployment Checklist</title>
		<link>http://www.mayvelous.com/2011/10/10/sitefinity-new-site-deployment-checklist/</link>
		<comments>http://www.mayvelous.com/2011/10/10/sitefinity-new-site-deployment-checklist/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 01:07:00 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[My To-Do List]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Checklist]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=609</guid>
		<description><![CDATA[The following things to note when you deploy a new Sitefinity site to production environment: Check the site authentication mode. It must have only one authentication. Check &#8220;Anonymous&#8221; and un-check &#8220;Integrated windows&#8221; Check Theme style link binding. Sometimes you need to add aspnet_isapi.dll wildcard in order to make the theme work again. IIS &#62; Website [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/08/23/sitefinity-fixing-version-dependent-custom-controls-errors/' rel='bookmark' title='Sitefinity &#8211; Fixing Version Dependent Custom Controls Errors'>Sitefinity &#8211; Fixing Version Dependent Custom Controls Errors</a></li>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/' rel='bookmark' title='How to fix Cruise build deployment that adds extra assemblies and .nlp files'>How to fix Cruise build deployment that adds extra assemblies and .nlp files</a></li>
<li><a href='http://www.mayvelous.com/2011/09/08/sitefinity-empty-document-uploader-screen-and-silverlight-mime/' rel='bookmark' title='Sitefinity &#8211; Empty Document Uploader Screen and Silverlight MIME'>Sitefinity &#8211; Empty Document Uploader Screen and Silverlight MIME</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>The following things to note when you deploy a new Sitefinity site to production environment:</p>
<ol>
<li>Check the site <strong>authentication</strong> mode. It must have only one authentication. Check &#8220;<strong>Anonymous</strong>&#8221; and un-check &#8220;Integrated windows&#8221;</li>
<li>Check Theme style link binding. Sometimes you need to add <strong>aspnet_isapi.dll</strong> wildcard in order to make the theme work again.<br />
IIS &gt; Website &gt; Properties &gt; Home directory tab &gt; Configuration &gt; Wildcard application maps &gt; Add (C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll)<br />
Make sure to <strong>UNCHECK</strong> &#8220;Verify that file exists&#8221; or you will have 404 errors everywhere.</li>
<li>Check if your server have all required <strong>MIME</strong> types eg. <a title="Sitefinity – Empty Document Uploader Screen and Silverlight MIME" href="http://www.mayvelous.com/2011/09/08/sitefinity-empty-document-uploader-screen-and-silverlight-mime/" target="_blank">Silverlight MIMEs</a></li>
<li>Give the website folder &#8220;ASPNET&#8221; and &#8220;NETWORK SERVICE&#8221; <strong>WRITE</strong> access</li>
<li><strong>Reindex</strong> all your search indexes.</li>
<li>Update your <strong>license file</strong> to correct site domain license</li>
</ol>
<p>&#8230; will add more as I find things later.</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/08/23/sitefinity-fixing-version-dependent-custom-controls-errors/' rel='bookmark' title='Sitefinity &#8211; Fixing Version Dependent Custom Controls Errors'>Sitefinity &#8211; Fixing Version Dependent Custom Controls Errors</a></li>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/' rel='bookmark' title='How to fix Cruise build deployment that adds extra assemblies and .nlp files'>How to fix Cruise build deployment that adds extra assemblies and .nlp files</a></li>
<li><a href='http://www.mayvelous.com/2011/09/08/sitefinity-empty-document-uploader-screen-and-silverlight-mime/' rel='bookmark' title='Sitefinity &#8211; Empty Document Uploader Screen and Silverlight MIME'>Sitefinity &#8211; Empty Document Uploader Screen and Silverlight MIME</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/10/10/sitefinity-new-site-deployment-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitefinity &#8211; Fixing Version Dependent Custom Controls Errors</title>
		<link>http://www.mayvelous.com/2011/08/23/sitefinity-fixing-version-dependent-custom-controls-errors/</link>
		<comments>http://www.mayvelous.com/2011/08/23/sitefinity-fixing-version-dependent-custom-controls-errors/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 04:03:15 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Bugs and Fixes]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Assembly]]></category>
		<category><![CDATA[Conflict]]></category>
		<category><![CDATA[Sitefinity]]></category>
		<category><![CDATA[Versioning]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=601</guid>
		<description><![CDATA[Whenever we upgrade to a new version of Sitefinity or applying service packs, we get something like the following version conflict errors: Could not load file or assembly &#8216;Telerik.Sitefinity, Version=&#8230;, Culture=neutral, PublicKeyToken=b28c218413bdf563&#8242; To fix that, place the assembly binding redirect info to the runtime section of your web.config and change the values of the &#8220;oldVersion&#8221; [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
<li><a href='http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/' rel='bookmark' title='How to fix Cruise build deployment that adds extra assemblies and .nlp files'>How to fix Cruise build deployment that adds extra assemblies and .nlp files</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>Whenever we upgrade to a new version of Sitefinity or applying service packs, we get something like the following version conflict errors:</p>
<blockquote><p>Could not load file or assembly &#8216;Telerik.Sitefinity, Version=&#8230;, Culture=neutral, PublicKeyToken=b28c218413bdf563&#8242;</p></blockquote>
<p>To fix that, place the assembly binding redirect info to the <strong>runtime</strong> section of your <strong>web.config</strong> and change the values of the &#8220;<strong>oldVersion</strong>&#8221; and &#8220;<strong>newVersion</strong>&#8221; acordingly. Your site should work again after a rebuild.</p>
<p><code>&lt;runtime&gt;<br />
&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;<br />
&lt;dependentAssembly&gt;<br />
&lt;assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" /&gt;<br />
&lt;bindingRedirect oldVersion="4.1.1574.0" newVersion="4.2.1650.0"/&gt;<br />
&lt;/dependentAssembly&gt;<br />
&lt;dependentAssembly&gt;<br />
&lt;assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" /&gt;<br />
&lt;bindingRedirect oldVersion="4.1.1574.0" newVersion="4.2.1650.0"/&gt;<br />
&lt;/dependentAssembly&gt;<br />
&lt;/assemblyBinding&gt;<br />
&lt;/runtime&gt;</code></p>
<p>Some of the most recent version numbers I&#8217;ve tracked are as followed:</p>
<ul>
<li>Sitefinity 4.0 (4.0.1210.0)</li>
<li>Sitefinity 4.1 (4.1.1395.0)</li>
<li>Sitefinity 4.1 SP1 (4.1.1405.0)</li>
<li>Sitefinity 4.1 SP2 (4.1.1501.0)</li>
<li>Sitefinity 4.1 SP3 (4.1.1574.0)</li>
<li>Sitefinity 4.2 (4.2.1650.0)</li>
<li>Sitefinity 4.2 SP1 (4.2.1733.0)</li>
</ul>
<p>Another short note/ref to check out is <a title="Found conflicts between different versions of the same dependent assembly" href="http://stackoverflow.com/questions/17806/warning-found-conflicts-between-different-versions-of-the-same-dependent-assembl" target="_blank">this post on stackoverflow</a> explaining some of the solution to version conflict error:</p>
<blockquote><p>&#8220;Found conflicts between different versions of the same dependent assembly&#8221;.</p></blockquote>
<p>Below is the direct quote from <a title="Found conflicts between different versions of the same dependent assembly" href="http://stackoverflow.com/questions/17806/warning-found-conflicts-between-different-versions-of-the-same-dependent-assembl/2137718#2137718" target="_blank">Brian</a> which I find it pretty useful.:</p>
<blockquote><p>This warning means that two projects reference the same assembly (e.g. System.Windows.Forms) but the two project require different versions. You have a few options:</p>
<ol>
<li>Recompile all projects to use the same versions (e.g. move all to .Net 3.5). This is the preferred option because all code is running with the versions of dependencies they were compiled with.</li>
<li>Add a <a title="Assembly Binding Redirect" href="http://msdn.microsoft.com/en-us/library/433ysdt1.aspx" target="_blank">binding redirect</a>. This will suppress the warning. However, your .Net 2.0 projects will (at runtime) be bound to the .Net 3.5 versions of dependent assemblies such as System.Windows.Forms. You can quickly add a binding redirect by double-clicking on error in Visual Studio.</li>
<li>Use CopyLocal=true. I&#8217;m not sure if this will suppress the warning. It will, like option 2 above, mean that all projects will use the .Net 3.5 version of System.Windows.Forms.</li>
</ol>
<p>Here is a utility to identify the offending reference(s):<br />
<a title="Find conflicting assembly references" href="http://www.brianlow.com/index.php/2010/01/25/find-conflicting-assembly-references/" target="_blank">http://www.brianlow.com/index.php/2010/01/25/find-conflicting-assembly-references/</a></p></blockquote>
<p>K that&#8217;s about it for now.</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
<li><a href='http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/' rel='bookmark' title='How to fix Cruise build deployment that adds extra assemblies and .nlp files'>How to fix Cruise build deployment that adds extra assemblies and .nlp files</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/08/23/sitefinity-fixing-version-dependent-custom-controls-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix Cruise build deployment that adds extra assemblies and .nlp files</title>
		<link>http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/</link>
		<comments>http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 07:20:59 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Bugs and Fixes]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.csproj]]></category>
		<category><![CDATA[.nlp]]></category>
		<category><![CDATA[.sln]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[Cruise Control]]></category>
		<category><![CDATA[debug error]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=598</guid>
		<description><![CDATA[I have this project setup for continuous integration with cruise control. It&#8217;s been up and running for quite sometime then suddenly the website starts getting the following errors on every successful build. Exception Details: System.BadImageFormatException: Could not load file or assembly &#8216;Microsoft.VisualBasic.Activities.Compiler&#8217; or one of its dependencies. An attempt was made to load a program [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>I have this project setup for continuous integration with cruise control. It&#8217;s been up and running for quite sometime then suddenly the website starts getting the following errors on every successful build.</p>
<blockquote><p><strong>Exception Details</strong>: System.BadImageFormatException: Could not load file or assembly &#8216;Microsoft.VisualBasic.Activities.Compiler&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format.</p></blockquote>
<p style="text-align: center;"><strong>The Error Page</strong><br />
<a title="Solution/Project Platform Target Configuration + Cruise Build by mayvelous, on Flickr" href="http://www.flickr.com/photos/mayvelous/6028509102/"><img class="aligncenter" src="http://farm7.static.flickr.com/6190/6028509102_68ed413784_m.jpg" alt="Solution/Project Platform Target Configuration + Cruise Build" width="240" height="141" /></a></p>
<p>I did not make any changes to the build configs at all and the site runs fine locally. There is no reference to &#8216;<strong>Microsoft.VisualBasic.Activities.Compiler</strong>&#8216; in my project and it doesn&#8217;t have VB code. I found some extra files, see below list, in the deployment bin while comparing the bin assemblies on deployment server and my local. Once remove those files, the site comes back on, but the files are added with every cruise build.</p>
<blockquote>
<ul>
<li>Microsoft.VisualBasic.Activities.Compiler.dll</li>
<li>Microsoft.Practices.ServiceLocation.dll</li>
<li>Microsoft.Practices.ServiceLocation.xml</li>
<li>mscorlib.dll</li>
<li>normidna.nlp</li>
<li>normnfc.nlp</li>
<li>normnfd.nlp</li>
<li>normnfkc.nlp</li>
<li>normnfkd.nlp</li>
<li>PresentationCore.dll</li>
<li>System.Data.dll</li>
<li>System.Data.OracleClient.dll</li>
<li>System.EnterpriseServices.dll</li>
<li>System.EnterpriseServices.Wrapper.dll</li>
<li>System.Printing.dll</li>
<li>System.Transactions.dll</li>
</ul>
</blockquote>
<p>I google a bit to check similar problems out there and found only <a title="why does the deployment package from build server have additional assemblies" href="http://stackoverflow.com/questions/5604221/why-does-the-deployment-package-from-my-buildserver-have-additional-assemblies" target="_blank">one link</a>, which was fixed by installing missing SDK or something. I didn&#8217;t think that was the right solution for me but got an idea to check for target platform configuration on the solution and project files.</p>
<p>I compare with one of my working project many times using visual studio property window to check for the solution and project file configuration properties but they seemed to be the same, using ANYCPU for the build platform. I didn&#8217;t trust the VS property designer so used WinMerge to compare the two files and found that there are some additional configuration lines added to the solution file. So I open the .sln and .csproj in notepad, removed all the extra configs, see the image below, checked back in, forced build the Cruise Control and walah all those craps gone and the site is back to the way it was.</p>
<p style="text-align: center;"><strong>.sln Solution file comparison and the lines to remove</strong><br />
<a title="Solution/Project Platform Target Configuration + Cruise Build by mayvelous, on Flickr" href="http://www.flickr.com/photos/mayvelous/6028509060/"><img src="http://farm7.static.flickr.com/6133/6028509060_1ed98221c4_m.jpg" alt="Solution/Project Platform Target Configuration + Cruise Build" width="240" height="99" /></a></p>
<p style="text-align: center;"><strong>.csproj Project file comparison and the line to remove</strong><br />
<a title="Solution/Project Platform Target Configuration + Cruise Build by mayvelous, on Flickr" href="http://www.flickr.com/photos/mayvelous/6027957193/"><img class="aligncenter" src="http://farm7.static.flickr.com/6196/6027957193_c2f44a452c_m.jpg" alt="Solution/Project Platform Target Configuration + Cruise Build" width="240" height="36" /></a></p>
<p>The point I like to make here is that although no error with cruise build, your site can still be broken and freaking Visual Studio design views lie many time so remember to go for the good old way of editing it in notepad.</p>
<blockquote><p><strong>Note:</strong> If you don&#8217;t have any working version to compare, just search for &#8220;<strong>Mixed Platforms</strong>&#8221; or &#8220;<strong>x86</strong>&#8221; in .sln file and &#8220;<strong>&lt;PlatformTarget&gt;AnyCPU&lt;/PlatformTarget&gt;</strong>&#8221; in .csproj file and remove them accordingly.</p></blockquote>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/' rel='bookmark' title='Sitefinity &#8211; Linking External JS file in Master pages'>Sitefinity &#8211; Linking External JS file in Master pages</a></li>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/08/10/how-to-fix-cruise-build-deployment-that-adds-extra-assemblies-and-nlp-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitefinity &#8211; Linking External JS file in Master pages</title>
		<link>http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/</link>
		<comments>http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 21:00:18 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Bugs and Fixes]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Master Pages]]></category>
		<category><![CDATA[Sitefinity]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=594</guid>
		<description><![CDATA[According to this post, we can reference the Sitefinity built-in script libraries and/or external script files in site master page as followed: &#60;sf:JsFileLink id="jsLink" runat="server" ScriptType="jQuery"&#62;&#60;/sf:JsFileLink&#62; &#60;sf:JsFileLink id="jsLink" runat="server" ScriptType="prototype"&#62;&#60;/sf:JsFileLink&#62; &#60;sf:JsFileLink id="jsLink" runat="server" ScriptType="mooTools"&#62;&#60;/sf:JsFileLink&#62; To use it, reference the assembly from the project and add the following code in the master page. &#60;%@ Register Assembly="Telerik.Cms.Web.UI" [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>According to <a title="Built-in Libraries in Sitefinity" href="http://www.sitefinity.com/blogs/georgichokov/posts/09-03-25/how_to_use_jquery_and_other_javascript_libraries_in_sitefinity.aspx" rel="externals">this post</a>, we can reference the Sitefinity built-in script libraries and/or external script files in site master page as followed:</p>
<pre>&lt;sf:JsFileLink id="jsLink" runat="server" ScriptType="jQuery"&gt;&lt;/sf:JsFileLink&gt;
&lt;sf:JsFileLink id="jsLink" runat="server" ScriptType="prototype"&gt;&lt;/sf:JsFileLink&gt;
&lt;sf:JsFileLink id="jsLink" runat="server" ScriptType="mooTools"&gt;&lt;/sf:JsFileLink&gt;</pre>
<p>To use it, reference the assembly from the project and add the following code in the master page.</p>
<pre>&lt;%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Cms.Web.UI" TagPrefix="sf" %&gt;</pre>
<p>It didn&#8217;t mention which version of Sitefinity it&#8217;s used at but after testing, found out that it&#8217;s definitly not for our current 4.1 SP2 version. The &#8220;<strong>JsFileLink</strong>&#8221; property is for older version of the sitefinity 3.6 etc which comes from <strong>Telerik.Cms.Web.UI</strong> assembly.</p>
<p>Did a bit more digging around and got the right referencing for 4.1 version.</p>
<p>1. Add this to master page, immediately after Page tag.</p>
<pre>&lt;%@ Register TagPrefix="sf" Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.PublicControls"%&gt;</pre>
<p>2. Place the following inside the &#8220;<strong>form</strong>&#8221; tag, NOT in the &#8220;head&#8221; section.</p>
<p>If you have the &#8220;JS&#8221; folder location as mention in <a title="Sitefinity Website template file structure" href="http://www.sitefinity.com/documentation/designers-guide/website-templates-file-structure.aspx" rel="externals">this structure</a>, reference as followed:</p>
<pre>&lt;sf:JavaScriptEmbedControl runat="server" ID="jsLink1" ScriptEmbedPosition="Head" Url="~/Sitefinity/WebsiteTemplates/YourSiteTemplates/JS/test.js"&gt;&lt;/sf:JavaScriptEmbedControl&gt;</pre>
<p>If you have the script folder in your website root, use the following:</p>
<pre>&lt;sf:JavaScriptEmbedControl runat="server" ID="jsLink2" ScriptEmbedPosition="Head" Url="~/scripts/test.js"&gt;&lt;/sf:JavaScriptEmbedControl&gt;</pre>
<p>For built-in JQuery library, reference as followed:</p>
<pre>&lt;sf:JavaScriptEmbedControl runat="server" ID="jQyeryLink" ScriptEmbedPosition="Head" ScriptType="jQuery"&gt;&lt;/sf:JavaScriptEmbedControl&gt;</pre>
<p>3. Must have unique &#8220;<strong>ID</strong>&#8221; and specify &#8220;<strong>ScriptEmbedPosition</strong>&#8221; fields.</p>
<blockquote><p>The JavaScriptEmbedControl will register a script in the selected ScriptEmbedPosition (<strong>Head</strong>, <strong>InPlace</strong>, <strong>BeforeBodyEndTag</strong>). This control is also available in the page editor in the Scripts and Styles toolbox section. You can add references to scripts when editing the page through the UI, and even write inline scripts by hand. <a title="Register JS in Sitefinity Widget" href="http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/how-do-i-register-a-javascript-file-in-a-widget.aspx#1453540" rel="externals">ref</a></p></blockquote>
<p><strong>IMPORTANT</strong><br />
Place all the external JS link or code blocks at the end of the page rather than the &#8220;Head&#8221;. ie. use &#8220;<strong>BeforeBodyEndTag</strong>&#8221; for some reason sitefinity loads it&#8217;s own copy of jquery in the middle of the markup and it tends to mess up the rest of the scripts.<br />
eg.</p>
<blockquote><p>&lt;sf:JavaScriptEmbedControl runat=&#8221;server&#8221; ID=&#8221;jQyeryLink&#8221; ScriptEmbedPosition=&#8221;<strong>BeforeBodyEndTag</strong>&#8221; Url=&#8221;~/scripts/jquery.min.js&#8221;&gt;&lt;/sf:JavaScriptEmbedControl&gt;<br />
&lt;sf:JavaScriptEmbedControl runat=&#8221;server&#8221; ID=&#8221;JavaScriptEmbedControl1&#8243; ScriptEmbedPosition=&#8221;<strong>BeforeBodyEndTag</strong>&#8221; Url=&#8221;~/scripts/jquery.cycle.all.js&#8221;&gt;&lt;/sf:JavaScriptEmbedControl&gt;</p></blockquote>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/' rel='bookmark' title='Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts'>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/07/22/sitefinity-linking-external-js-file-in-master-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitefinity &#8211; New Site Setup DOs and DON&#8217;Ts</title>
		<link>http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/</link>
		<comments>http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 07:08:28 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Bugs and Fixes]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Project Setup]]></category>
		<category><![CDATA[References]]></category>
		<category><![CDATA[Sitefinity]]></category>
		<category><![CDATA[Solution]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=589</guid>
		<description><![CDATA[The followings are things to note while create a new sitefinity sites. Name the solution. Open the solution via Sitefinity Project Manager and save the solution in the project folder with proper name Set up DB with appropriate name. Click &#8220;Browse&#8221; on the Project Manager to set up the DB. Add all references as solution [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>The followings are things to note while create a new sitefinity sites.</p>
<p><strong>Name the solution.</strong><br />
Open the solution via Sitefinity Project Manager and save the solution in the project folder with proper name</p>
<p><strong>Set up DB with appropriate name.</strong><br />
Click &#8220;Browse&#8221; on the Project Manager to set up the DB.</p>
<p><strong>Add all references as solution items.</strong><br />
Copy all reference DLLs from the bin folder of the project to the &#8220;Lib&#8221; folder. Add them under solution folder items.</p>
<p><a title="Sitefinity Initial Setup" href="http://www.flickr.com/photos/mayvelous/5960457026/" rel="external"><img src="http://farm7.static.flickr.com/6009/5960457026_9f1c8bcb21_m.jpg" alt="Sitefinity Initial Setup" width="240" height="213" /></a></p>
<p><strong>Repoint/Rereference the dlls from &#8220;Lib&#8221; folder</strong><br />
Remove all sitefinity related references from the project and rereferences them from the &#8220;Lib&#8221; folder.<br />
<strong>Tip</strong>: The easiest way to reference the sitefinity related dlls to the project file would be:<br />
- open the project file in the notepad<br />
- search for &#8220;bin\&#8221;<br />
- replace the appropriate dll refernces with &#8220;..\Lib\&#8221;<br />
<strong>DO NOT</strong> hit &#8220;Replace All&#8221; as not all places require replacement.<br />
All sitefinity related dlls will be rereferenced to correct folder EXCLUDING AjaxControlToolkit and a few others.<br />
Search for the followings:</p>
<blockquote><p>..\Reference Assemblies\AjaxControlToolkit.dll<br />
..\Reference Assemblies\Microsoft\WindowsAzure\Microsoft.WindowsAzure.Diagnostics.dll<br />
..\Reference Assemblies\Microsoft\WindowsAzure\Microsoft.WindowsAzure.ServiceRuntime.dll<br />
..\Reference Assemblies\Microsoft\WindowsAzure\Microsoft.WindowsAzure.StorageClient.dll</p></blockquote>
<p>and repoint to Lib folder as well.<br />
<strong>Note</strong>: Everytime you do the upgrade or add a custom dlls, make sure to add/update them in the Lib folder and repoint the project references to Lib.</p>
<p><strong>Rename the Assembly and DefaultNameSpace with the project name</strong><br />
Right click on the project &gt; Properties &gt; Application tab &gt; Type in project name in the &#8220;Assembly name&#8221; and &#8220;Default namespace&#8221; textboxes.</p>
<p><a title="Rename Assembly" href="http://www.flickr.com/photos/mayvelous/5960457046/" rel="externals"><img src="http://farm7.static.flickr.com/6145/5960457046_bd748dfe22_m.jpg" alt="Rename Assembly" width="240" height="81" /></a></p>
<p><strong>Build the solution</strong><br />
If the aboves are done correctly, your solution will build successfully and once browsed, will display &#8220;Thank you for visiting our web site. Please return soon for updates.&#8221;<br />
Else you&#8217;ll get the error mentioned in the DON&#8217;T section below.</p>
<p><strong>DON&#8217;T</strong></p>
<p><strong>Don&#8217;t use dots &#8220;.&#8221; in the project name.</strong><br />
Current version throws error when using dots in the project name.<br />
<strong>Don&#8217;t build the solution before repointing the references.</strong><br />
After creating a new sitefinity site using Sitefinity Project Manager, do not build the project or solution as it will overwrite the dlls from the bin folder and throw the following error.<br />
_&#8221;Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.&#8221;_ <a title="Data Reference Error" href="http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/422014.aspxhttp://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/telerik-openaccess-mysql-data-reference-error.aspx" rel="externals">Ref</a></p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
<li><a href='http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/' rel='bookmark' title='Checking SQL Server Edition Version'>Checking SQL Server Edition Version</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/07/21/sitefinity-new-site-setup-dos-and-donts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Checking SQL Server Edition Version</title>
		<link>http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/</link>
		<comments>http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/#comments</comments>
		<pubDate>Wed, 04 May 2011 23:59:13 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[SQL Management Studio]]></category>
		<category><![CDATA[SQL Server Versions]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=587</guid>
		<description><![CDATA[While working on this one release, I had to do lots of backup, restore, and scripts for different database server versions. Run this script a lot today. Noted that this script is very handy to check out the server edition and version. select serverproperty('edition') select @@version And another annoying thing I found is that when you [...]<blockquote>
<strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
</ul></blockquote>]]></description>
			<content:encoded><![CDATA[<p>While working on this one release, I had to do lots of backup, restore, and scripts for different database server versions. Run this script a lot today. Noted that this script is very handy to check out the server edition and version.</p>
<p><code>select serverproperty('edition')<br />
select @@version</code></p>
<p>And another annoying thing I found is that when you script the whole database with schema + data, it generates huge script file which sometimes cannot open in SQL Management Studio and even if the file gets opened, cannot execute it due to not enough memory problem. So found out that I cannot solve the problem of restoring backups on different servers by scripting whole db.</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <blockquote><p><strong>Related Posts:</strong><ul>
<li><a href='http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/' rel='bookmark' title='List storedprocedures or database objects by last modified date'>List storedprocedures or database objects by last modified date</a></li>
</ul></p></blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/05/05/checking-sql-server-edition-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List storedprocedures or database objects by last modified date</title>
		<link>http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/</link>
		<comments>http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/#comments</comments>
		<pubDate>Mon, 02 May 2011 04:23:33 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[storedprocedures]]></category>
		<category><![CDATA[system objects]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=584</guid>
		<description><![CDATA[I learnt something new today. I needed to make a release which includes lots of changes to DB over 3 months period and needed a quick way to figure out which staging db objects to move across to the production. I wished many times to list storedprocedures by last modified date but stupid enough never [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I learnt something new today. I needed to make a release which includes lots of changes to DB over 3 months period and needed a quick way to figure out which staging db objects to move across to the production.</p>
<p>I wished many times to list storedprocedures by last modified date but stupid enough never Google it and just did the painful way of noting down and scripting  them. Then I face the problem of all those script files keep piling up over the period of time and lost track of which scripts have been executed or not.</p>
<p>Today I&#8217;m in a bit of sensible mode and did a quick googling and found this useful script, so I&#8217;m posting here for later reference.</p>
<p><strong>Listing last modified storedprocedures</strong><br />
<code>select name, create_date, modify_date<br />
from sys.procedures<br />
order by modify_date desc</code></p>
<p><strong>Listing last modified tables</strong><br />
<code>select name, create_date, modify_date<br />
from sys.tables<br />
order by modify_date desc</code></p>
<p><strong>Listing db objects by type and date</strong><br />
<code>SELECT *<br />
FROM sys.objects<br />
WHERE type in ('P', 'U')<br />
AND DATEDIFF(D,modify_date, GETDATE()) &lt; 90</code></p>
<p>Type &#8220;P&#8221; is for storedprocedures and &#8220;U&#8221; for tables. More on available Types: <a title="sys.object" rel="external" href="http://msdn.microsoft.com/en-us/library/ms190324.aspx">http://msdn.microsoft.com/en-us/library/ms190324.aspx</a></p>
<p>Now that I know which objects have been last updated, I can do the DB script very easily by just selecting those objects. Sweet isn&#8217;t it? <img src='http://www.mayvelous.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2011/05/02/list-storedprocedures-or-database-objects-by-last-modified-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Trip, The Training, The Road &amp; The Driver</title>
		<link>http://www.mayvelous.com/2009/05/15/the-trip-the-training-the-road-the-driver/</link>
		<comments>http://www.mayvelous.com/2009/05/15/the-trip-the-training-the-road-the-driver/#comments</comments>
		<pubDate>Fri, 15 May 2009 07:21:03 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Fiji]]></category>
		<category><![CDATA[Trips and Travels]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Nadi]]></category>
		<category><![CDATA[Suva]]></category>
		<category><![CDATA[TPAF]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=534</guid>
		<description><![CDATA[I went to Nadi, (TPAF, Namaka), to train the trainers for this project we did for this customer yesterday last week Friday. It was the second session to train them on a very simple first phase (out of three) of this project. The first time they funded the return flight ticket; unfortunately, this time they [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I went to Nadi, (TPAF, Namaka), to train the trainers for this project we did for this customer <strike>yesterday</strike> last week Friday. It was the second session to train them on a very simple first phase (out of three) of this project. The first time they funded the return flight ticket; unfortunately, this time they cut down their budget and provided a four wheel drive pickup for me. </p>
<p>As planned, I woke up at 4:30am, got myself ready and revised my training manual while I was waiting for the pickup. They (an Indian driver and a Fijian gal) got to my place at 5:15am and stopped at service station for coffee and hot bread before we left Suva around 5:30am. </p>
<p>It was a cold and drizzling morning with a pitch black sky and not a single soul on the road until we pass Lami. We had a small chat on the road and found out that the driver is very fluent in Fijian. He conversed with the girl in Fijian nonstop to keep himself awake or just being his talkative nature. </p>
<p>They laughed their heads off several times in their conversations and checked back at me a few times to see how I was doing. Myself being a quiet nature, I didn&#8217;t/couldn&#8217;t join in their conversation and just dozed off at the back.</p>
<p><span id="more-534"></span></p>
<p>Unfortunately, I couldn&#8217;t doze for long as I had to catch my breath on these lumps on the road where the car just practically flew over them. I noticed then that the driver was driving with a scary speed of 160km/hr and would not slow down near the turns or on the road block lumps. </p>
<p>I hurried to belt myself up but I couldn&#8217;t pull out the seat belt as it stuck to the wall and wouldn&#8217;t budge an inch. I started getting sick in the stomach on every jump and kept checking the car speed meter. It reached over 175km/hr almost right to 180km/hr mark. </p>
<p>Amazingly both the girl and the driver did not seem to care about how fast they were driving and enjoying their conversation. I normally get motion sickness after 1 or 1.5hr of normal driving. This time, it was not even 1hr yet and I started throwing up at the back. As usual, I prepared myself with tissue paper, plastic bags and a water bottle so I did not mess up the car. I rolled down the window and tried to get myself fresh air but the wind was too strong and I couldn&#8217;t keep it open for long. I didn&#8217;t make a sound on my first two throw ups so they didn&#8217;t notice me and I didn&#8217;t want to let them know either. Then a few turns before Singatoka, I couldn&#8217;t bear anymore and made a big puking sound and kept throwing up all the water I drunk after the first two pukes. </p>
<p>They then shocked to discover that I was very sick and made a stop near Singatoka temple. It was around 6:40am and a few shop already opened so we stopped for about 10min and continued to Nadi. I was a lot better after the stop and the driver did slow down his speed and drove around 125-140km/hr. </p>
<p>I noted that it was the fastest drive I&#8217;ve ever ridden in my life and the shortest time taken to reach Nadi. If I guessed it right, we took just 2.25 or 2.5hr to reach Nadi which normally takes around 3.5 to 4hrs. The driver mentioned that his normal record from Suva to Nadi is 2hr 20min and he can drive faster than that if the road is clear. I&#8217;m so used to my Dad&#8217;s driving of 60km/hr that I dislike speedy driving. I decided I refuse to ride his car ever again after that day. </p>
<p>As we get closer to Nadi, the weather is getting hot and the sun started glaring. We reached to Nadi around 7:30, picked up one of their staffs at his place and got to Namaka around 8am. We setup all the machines in the lab with the software and ready to start the training at 8am. They introduced me to their big boss (said he&#8217;s the new director) and he thanked me for the good work done with the project. We then started off the day with a somewhat long prayer. The director then made a short (15min) speech on this year theme, what they plan to achieve, how this system will help them etc. and left for his other appointments. Then I started with my training; there were only 8 participants in this session out of 14 from the previous one. There was one new face in the group and the rest attended the previous session so they all have the manual and CD with them except the new one. I&#8217;ve prepared a few extra manual print outs so it wasn&#8217;t a problem and commenced the training smoothly. </p>
<p>The TPAF trainers were very busy that day and every now and then, they went out of the room to attend their classes and pop back in after a few minutes. I find it annoying that people moving around while I&#8217;m talking but couldn&#8217;t do anything as they have their business to do. I tried to cover all sections in the manual and went through individually with late comers or those moving in and outs. We previously planned to have a whole day training in which I planned to go through both version of the system but they couldn&#8217;t spare the lab for the evening and I can only cover the administrator version of system. We finished around 1:30pm and waited for our pick up. One of the TPAF staffs showed me around their Namaka centre and we went in to one of the classroom commenced by one of the participants in my training. She introduced me to her students; they were roasting boneless chicken and baking some buns. It smelled really nice and I was so hungry as it&#8217;s passed lunch time. I guess she noticed me hungrily staring at the chicken so she offered some to taste but unfortunately the chicken wasn&#8217;t cooked enough yet and she asked the student to put it back in the oven for a few min again. While we were waiting for the chicken and continuing with their cooking session, my pick up arrived. I couldn&#8217;t wait for the chicken so just took a few buns, said thanks to the students and left the Namaka centre around 2:30pm. </p>
<p>They then took me to their office at Nadi Airport to pick up something. My dad called to ask how things were and told me to try out lunch at Ta Ta&#8217;s place. I asked the place to the driver but he wasn&#8217;t sure where so we drove around Nadi town and asked some policemen for direction. We found the place and had our lunch around 3:15pm. </p>
<p>We left Nadi around 3:30pm; we were supposed to come back together with their boss but we left the boss group and took off early to Singatoka for vegetable shopping. I bought a few heaps of oranges, cabbage and papaya. There were lots of good looking dalo bundles and some of them were purple. I remember mom loves purple dalo and asked the girl if that&#8217;s the right dalo but turned out they were not. The vendors told us to look for some on the way to Suva as they don&#8217;t plant purple type in Singatoka. We drove slowly and stops many times to wait for the group behind us. The driver got out and smoked on every stop and he told us that he love smoking and drinking grog. We quickly strolled into Outriggers for a loo and waited the other group outside. </p>
<p>Finally the other group caught up and took a lead in front of us. Their driver was driving with 120km/hr flat and our driver cannot over take him as the boss was in that car. So he followed behind disgruntled and making faces and fits at the driver in front via the mirror. As we get closer to Suva, the car in front slows down to 80-100km/hr and no more over taking at all as the cars from Suva coming nonstop from the opposite lane. It was raining and with a slow drive, I didn&#8217;t puke at all on the way home. We then saw some guys selling dalo at the road side and the girl asked for purple dalo. Luckily they got one last purple bundle and I happily bought it. </p>
<p>I got home around 7:35; the driver repeated his name 3 times and told me to call him if I ever need to drive to Nadi as he drives private taxi in his free times. I thanked him and the girl for the day and forgotten their names after 5min. I was so tired and sat around for an hour reporting back the day events to the family; had shower, dinner, check emails, wrote down a few lines for the post and slept. And finish up the post after a week. </p>
<p>The End. </p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2009/05/15/the-trip-the-training-the-road-the-driver/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Just Bitching</title>
		<link>http://www.mayvelous.com/2008/09/26/just-bitching/</link>
		<comments>http://www.mayvelous.com/2008/09/26/just-bitching/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 04:25:48 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=413</guid>
		<description><![CDATA[I have never encountered this much pain in the arse customer than the current one before. I&#8217;ve done twice/thrice more complicated and bigger projects than this project in the past but never ever had this much of discussions, arguments, back and forth explanations and long meetings after meetings with the customer before. I grew a [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I have never encountered this much pain in the arse customer than the current one before.</p>
<p>I&#8217;ve done twice/thrice more complicated and bigger projects than this project in the past but never ever had this much of discussions, arguments, back and forth explanations and long meetings after meetings with the customer before.</p>
<p>I grew a few white hairs after handling this project and going to grow some more since the project is no near to the closing stage. </p>
<p>I thought I&#8217;m 90% done after sending out the last build and the user manual. I&#8217;m only expecting minor bug fixes but NOOOOOOOO he just has to go change the whole damn lot and have to fix almost everything from the DB schema to almost every form.</p>
<p>It&#8217;s all because of this F*ed up requirement spec and F*ed up customer to start with. I need a bad ass project manager to handle this kind of bad ass customer. Unfortunately, there is no proper project manager was assigned to this project, thinking it&#8217;s going to be a small one. I know I should<br />
turn myself into a bad ass bitch to take matters into my own hand but the problem is I can&#8217;t become the bad ass bitch; I don&#8217;t know how.</p>
<p>It&#8217;s not that easy to become a good &#8220;bad ass bitch&#8221; when you&#8217;re trying to become one. You need certain skill in that area as well. I&#8217;m terrible in that area. The most I can do is I start raising my voice and become angrier but there is no art/tactic in it. </p>
<p>My main problem is that the angrier I am, the quieter I become. I&#8217;ll just yell back a few words then I won&#8217;t talk anymore. I got mess up in the head that I can no longer put those mess into proper word. I need some trained/naturally talented bad arses to back me up with the arguments. I think I need to go take a course on the art of bitching. Let me know if anyone providing one. </p>
<p>Anyways, my boss is just so nice dealing with customers. He accepts anything if they pay for it. Ok, it&#8217;s actually a good thing if they pay for it but what if they don&#8217;t pay and just keep bullying me and dragging the project on and on? </p>
<p>There should be a time when we say, &#8220;That&#8217;s it, no more, we are done, no nil nada F* off!&#8221;, and close the damn project.</p>
<p>Anyways, I&#8217;ll have to do more analysis and effort sizing on the new changes. I&#8217;ll bitch more about it later. Bye!</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2008/09/26/just-bitching/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Inet Software Borrowing Register</title>
		<link>http://www.mayvelous.com/2008/07/21/inet-software-borrowing-register/</link>
		<comments>http://www.mayvelous.com/2008/07/21/inet-software-borrowing-register/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 01:03:40 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Humors]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Datec]]></category>
		<category><![CDATA[Disc Stakka]]></category>
		<category><![CDATA[Inet]]></category>
		<category><![CDATA[Softwares]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=406</guid>
		<description><![CDATA[I haven&#8217;t written about office muses for a while and thought I&#8217;ll write something about last week muses from our department. Here is the story. You see, we have this disc stakka where we stored all our department softwares. It&#8217;s attached to a spare box sitting on my desk and I kind of become an [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written about office muses for a while and thought I&#8217;ll write something about last week muses from our department. Here is the story.</p>
<p><img src="http://farm4.static.flickr.com/3056/2686758533_3f3759a5f0_o.jpg" alt="Disc Stakka" align="right" />You see, we have this disc stakka where we stored all our department softwares. It&#8217;s attached to a spare box sitting on my desk and I kind of become an unofficial librarian. Whoever ask to borrow software from me, I&#8217;ll just eject the discs from the stakka and hand it to them. There is no record of how many discs we have and who borrowed them. The stakka itself is installed for everyone hence anybody can login to the box and eject any disc as they like. The result is we lost a few important discs over the months. I have no idea who took them but discs are obviously keep missing from the disc stakka. We sent a few notification emails to everyone in the office asking about the missing discs but nobody responded.</p>
<p>I kind of feel responsible about it since it was sitting on my desk and I am the one who is giving out the discs most of the time (unless ofcos they login to the box and eject the discs themselves when I&#8217;m away). The problem with me is that whenever I am into something or concentrating on a task at hand, I seriously don&#8217;t care about things happening around. I don&#8217;t see or hear anything unless someone pokes at me or waves in front of face. Even so, I don&#8217;t hear half of the thing they are saying. So when someone asks a disc from me while I am busy, I just remove the disc and give it to them without looking at their faces or noting their names. That must be one of the reasons people take advantage of my ignorance to snatch some discs from me.</p>
<p>Anyways, last week we had a very loud and noisy discussing about how to maintain our softwares. Most of my colleagues say not to borrow software to anybody outside our department. Our HR manager disagrees and wants everyone to share the software the company owns. (Ok, I wasn&#8217;t in the discussion/arguments as it was happening at one of our colleagues&#8217; desk and I just over heard bits and pieces.) Finally we agree to properly keep track of the disc movement in some way. Boss made up a software borrowing register spreadsheet and mail it to everyone saying, unless and otherwise people fill in the register prior to picking up a disc, we are not to give it to them. But the spreadsheet was editable by everyone which is not a good idea so I created a form out of it and pass around the form. After checking the form, one of our colleagues argues that the form is very easy to fill and we like to make thing difficult for whoever comes to borrow our discs. So he suggested a few adjustments to the form.</p>
<p>Here are some of his suggestions:</p>
<blockquote><p>Way too easy, we need some pain here. Can we add some more fields :<br />
Put this under &#8220;<strong>Borrower Details</strong>&#8220;</p>
<ul>
<li>Weight (kg)</li>
<li>Height (cm)</li>
<li>Eye colour (offer Green, Blue, Grey, Brown)</li>
<li>Blood Type (offer A, B, AB, O) (suggestion to add negative, positive as well)</li>
<li>Hair Colour (offer Black, Grey, Brown, Red, Blond)</li>
<li>Random Question from http://www.survey-machine.com/take_survey/627331 that we’ll change every week or so, we’ll start with no. 1 &#8220;Have you ever peed your pants after age 8?&#8221;</li>
</ul>
<p>Make all fields <strong>required</strong>.</p>
</blockquote>
<p>There is a few more input from other colleagues as well such as &#8220;Do you have any recent health problem say in last 6 months?&#8221;, &#8220;Provide the medical certificate to prove your blood type&#8221;, etc&#8230;</p>
<p>How about that!? Is the form painful enough yet? Haha, I&#8217;m not sure how many borrowers will be able to fill in that form and surely throw some serious curses at us.</p>
<p>Anyways, I felt sorry for whoever have to fill in the form, and I did not implement those &#8220;Borrower Details&#8221; but left the simple form as below and see how things turn out. We had a few beta tests with our gang and now it is released to suva_everyone. One serious flaw we try to ignore is that anyone can login to the machine and remove the disc while I&#8217;m away from my desk. But for the time being, it&#8217;s doing quite well without complaint, a few minute ago, someone filled in the form and took 3 discs from me. I wonder how long this system will last though.</p>
<p align="center"><img src="http://farm3.static.flickr.com/2162/2686759287_acc8dd9ae6.jpg" alt="Inet Software Borrowing Form" /></p>
<p>So how do you keep track of the softwares in your organization? Do share with us some of the cool systems you use in your company. And ofcos&#8217; you are most welcome to make suggestion to our system above as well. <img src='http://www.mayvelous.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2008/07/21/inet-software-borrowing-register/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Heartache Leave in Japan</title>
		<link>http://www.mayvelous.com/2008/02/11/heartache-leave-in-japan/</link>
		<comments>http://www.mayvelous.com/2008/02/11/heartache-leave-in-japan/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 22:00:53 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Bloggers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Life Style]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=374</guid>
		<description><![CDATA[Recently I&#8217;ve been following &#8220;The Trump Blog&#8221; after I read about it from &#8220;A Guide to Billionaire Bloggers&#8221; on ReadWriteWeb. I&#8217;m sure most of us from Fiji are familiar about him from &#8220;The Apprentice&#8221; show on FijiOne hence need no introduction. Anyways, just now I was browsing my feeds and this post, &#8220;Japanese Firm Offers [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been following &#8220;<a href="http://www.trumpuniversity.com/blog/index.cfm" title="The Trump Blog" rel="external">The Trump Blog</a>&#8221; after I read about it from &#8220;<a href="http://www.readwriteweb.com/archives/a_guide_to_billionaire_bloggers.php" title="A Guide to Billionaire Bloggers" rel="external">A Guide to Billionaire Bloggers</a>&#8221; on ReadWriteWeb. I&#8217;m sure most of us from Fiji are familiar about him from &#8220;The Apprentice&#8221; show on FijiOne hence need no introduction.</p>
<p>Anyways, just now I was browsing my feeds and this post, &#8220;<a href="http://www.trumpuniversity.com/blog/index.cfm?blogpost_id=1582" title="Japanese Firm Offers Heartache Leave" rel="external">Japanese Firm Offers Heartache Leave</a>&#8220;, from Mr Trump really cracked me up. Well it&#8217;s not funny but somewhat makes me laugh, and think for sometimes.</p>
<blockquote><p>I wasn’t surprised when I found out that all the employees at this company are women. I don’t mean to be sexist, but I don’t know many men who would call in sick to work because they broke up with their girlfriend.</p>
</blockquote>
<p>Are you sure about that? What do you, guys, think? Don&#8217;t give me those man&#8217;s pride excuses and bluff about it.</p>
<blockquote><p>But then I don’t know many women who would do it either. If you’re serious about your job, you don’t let heartbreak or store bargains keep you from doing your work.</p>
</blockquote>
<p>I wonder our lives only exist around our jobs. He must be talking about those workaholics who got no life of their own and think only about work. It&#8217;s understandable since the billionaire such as Mr. Trump, who always think of how to increase his enterprise and who can get(or ditch) any women anytime without much effort would think work more important than other matters.</p>
<p>For me, I think if I ever get a serious heartbreak (I wish not), I wouldn&#8217;t want to do anything for sometimes. But then that&#8217;s all depends on individuality and how serious you take your relationships as. But I bet most Asian tends to take relationships matter more serious than those of the westenners. I&#8217;m just speaking in general but then hey what do I know; so may be not.</p>
<p>But I must say, that Japanese company is very considerate about their staffs well being. I&#8217;m sure the staffs appreciate about it and would boost their motivation to work harder for the company.</p>
<p>It&#8217;s a nice read for my morning tea break. Makes me think. <img src='http://www.mayvelous.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2008/02/11/heartache-leave-in-japan/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Filtering Date Parts in LLBLGen</title>
		<link>http://www.mayvelous.com/2008/01/10/filtering-date-parts-in-llblgen/</link>
		<comments>http://www.mayvelous.com/2008/01/10/filtering-date-parts-in-llblgen/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 04:32:21 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[LLBLGen]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=368</guid>
		<description><![CDATA[Keeping in mind that LLBLGen generate dynamic sql statements and no need for storeprocedures, sometimes it&#8217;s hard for me to find the right code to retrieve data using complicated queries. Eg. those of multiple JOIN statements and DATEPART functions. The followings can be used in search functions where you search by date range or by [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Keeping in mind that LLBLGen generate dynamic sql statements and no need for storeprocedures, sometimes it&#8217;s hard for me to find the right code to retrieve data using complicated queries. Eg. those of multiple JOIN statements and DATEPART functions.</p>
<p>The followings can be used in search functions where you search by date range or by datepart such as by Day or Month or Year.</p>
<p>For my first scenario, I want to search records by &#8220;Date&#8221; ie. &#8220;dd/MM/yyyy&#8221; only and not considering the Time part.</p>
<p>By default when you insert a Date using WinForm DateTimePicker or Infragistic ultraDatePicker, the Time part goes in as 0s. eg. &#8220;10/01/2008 12:00:00&#8243;. But sometimes there are cases where you have to record the Time as well. My saved records include default Date values as well as DateTime values.</p>
<p><span id="more-368"></span></p>
<p>In such case, to search by Date (passing DateTime variable), we cannot use the normal PredicateExpression to filter records. If you&#8217;re using normal expression ie. <strong>filter.PredicateExpression.Add(EntityField.Field == _searchDate)</strong> while EntityField has Time value, that compare expression will never retrieve proper search result for _searchDate is passing as Date value with default Time value ie. 12:00:00/0s. To solve it, we have to choose either <strong>FieldCompareRangePredicate</strong><strong> or </strong><strong>FieldBetweenPredicate</strong> and split the date into StartDate and EndDate as in the following function.</p>
<pre class="brush: csharp; title: ; notranslate">
public EntityCollection&lt;actualflightentity&gt; SelectFlightsByDate(DateTime arrDate)
    {
        // Declare Flight EntityCollection
        EntityCollection&lt;actualflightentity&gt; _flightCollection = new EntityCollection&lt;actualflightentity&gt;(new ActualFlightEntityFactory());

        // Create RelationPredicateBucket named &quot;filter&quot;
        IRelationPredicateBucket filter = new RelationPredicateBucket();

        // Split passed variable ie. arrDate into startDate and endDate
        DateTime startDate = Convert.ToDateTime(arrDate.ToString(&quot;yyyy-MM-dd&quot;) + &quot; 00:00:00&quot;);
        DateTime endDate = Convert.ToDateTime(arrDate.ToString(&quot;yyyy-MM-dd&quot;) + &quot; 23:59:59&quot;);

        // Add FieldBetweenPredicate expression to the filter.
        filter.PredicateExpression.Add((new FieldBetweenPredicate(ActualFlightFields.ScheduledDateTime, null, startDate, endDate)));

        // Fetch the filtered EntityCollection and return it.
        using (DataAccessAdapter adapter = new DataAccessAdapter())
        {
            adapter.FetchEntityCollection(_flightCollection, filter);
            return _flightCollection;
        }
    }
</pre>
<p>For the second scenario, I need to search by &#8220;Year&#8221; part, where you pass &#8220;Integer&#8221; instead of &#8220;DateTime&#8221; property. Say, you are searching &#8220;Public Holidays&#8221; by &#8220;Year&#8221;. This function took me ages to figure it out. I tried using many predicates and even thought of creating a storeprocedure and use the &#8220;RetrievalProcedures&#8221; call. Finally after a long search in the documentation and the <a href="http://llblgen.com/tinyforum/Messages.aspx?ThreadID=10677&#038;HighLight=1" title="DbFunctionCall" rel="external">forum</a>, got the solution. Have to set the field with <strong>DbFunctionCall</strong>expression. Pheeeewwh! Check the following code and compare with the above.</p>
<pre class="brush: csharp; title: ; notranslate">
// Select All Public Holidays by Year
    public EntityCollection&lt;publicholidayentity&gt; SelectAllPublicHolidayByYear(int _year)
    {
        // Declaring Public Holiday EntityCollection
        EntityCollection&lt;publicholidayentity&gt; _publicHolidays = new EntityCollection&lt;publicholidayentity&gt;(new PublicHolidayEntityFactory());

        // Create RelationRedicateBucket for filter
        IRelationPredicateBucket filter = new RelationPredicateBucket();

        // Create a new PublicHoliday Date field and set the expression on that field.
        EntityField2 field = PublicHolidayFields.Date;
        field.SetExpression(new DbFunctionCall(&quot;YEAR&quot;, new object[] { PublicHolidayFields.Date }));

        // Apply the expression with value passed ie. _year and at to the filter.
        IPredicateExpression phExpression = new PredicateExpression(field == _year);
        filter.PredicateExpression.Add(phExpression);

        // Fetch the filtered EntityCollection and return it.
        using (DataAccessAdapter adapter = new DataAccessAdapter())
        {
            adapter.FetchEntityCollection(_publicHolidays, filter);
            return _publicHolidays;
        }
    }
</pre>
<p>There you have it.<br />Refer to this section of LLBLGen documentation for further information on Predicate Expressions.</p>
<blockquote><p>Generated code &#8211; The predicate system, Adapter<br />
Generated code &#8211; Field expressions and aggregates</p>
</blockquote>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2008/01/10/filtering-date-parts-in-llblgen/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Photos: Tech-Ed 2007 @ Gold Coast Australia</title>
		<link>http://www.mayvelous.com/2007/08/28/photos-tech-ed-2007-gold-coast-australia/</link>
		<comments>http://www.mayvelous.com/2007/08/28/photos-tech-ed-2007-gold-coast-australia/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 11:56:34 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Australia]]></category>
		<category><![CDATA[Bloggers]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Life Style]]></category>
		<category><![CDATA[May Hnin Phyu]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Trips and Travels]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=360</guid>
		<description><![CDATA[I&#8217;m Back! How is everyone doing? Miss me? My two weeks trip was exciting, tiring and a great fun. I met lots of new faces and visited new places. It was a great experience for me. Couldn&#8217;t come back quickly cos&#8217; I caught a cold after the trip due to too much excitements and weather [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><img align="right" alt="Tech-Ed 2007 @ Gold Coast" src="http://farm2.static.flickr.com/1413/1175464407_dff91bd2f9_o.gif" />I&#8217;m Back! How is everyone doing? Miss me? <img src='http://www.mayvelous.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>My two weeks trip was exciting, tiring and a great fun. I met lots of new faces and visited new places. It was a great experience for me. Couldn&#8217;t come back quickly cos&#8217; I caught a cold after the trip due to too much excitements and weather changes; then my laptop screwed up and had to repair OS. Now everything is settling down so catching up on my feeds and blogging here.</p>
<p>I took lots of photos and a few videos of my two weeks stay at GC, Syd and Adelaide. The main event was ofcos&#8217; GC Tech-Ed. It was my very first business related overseas trip. I thank my bosses and the company for giving me an opportunity to participate in such event. I met lots of geeks and super geeks at Tech-Ed. There were total of 2400 delegates made their mark at Gold Coast Tech-Ed this year. ~80% of them are male with very few female delegates, regardless of this year Tech-Ed having the most female participants compare to the previous years. I&#8217;m one of those very few female delegates and most of the time I found myself lost in the superiority and the geekiest air around them. I felt like disappearing when I have no idea what the geeks were talking about. Yet, I somehow found myself enjoying their conversations and was inspired by their intense knowledge and skills on various subject matters.</p>
<p>Here are some of the photos Sarnil and I took from the event.</p>
<blockquote><p><strong>Note</strong>: Lightbox enabled. (Click on the photo, hover over it to browse &#8220;Next&#8221; or &#8220;Previous&#8221;)</p></blockquote>
<p><strong>Surf Parade Apartment</strong></p>
<p>We stayed at Surf Parade apartment which is about 20-30min  walking distance from Gold Coast convention center and about 10min Bus ride.  The room was very neat and well furnished &#8211; TV, fridge, oven, microwave,  washing machine, in-room spa, etc. The view from the room was also great. Can  see the beach and also the buildings from Surf Paradise area. The room costs  around AUD 119 per night and ideal for two people but I stayed alone so quite a  big room for me. There were heated swimming pool and tennis courts downstairs  but I didn&#8217;t even have a time to peek at them. The whole day out and we only  came back to our rooms after 9 or 10pm to sleep so we couldn&#8217;t check out the  whole building and the surroundings.</p>
<p align="center"><a title="Surf Parade Apartment" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1260/1253524315_9fcde4a50b_o.jpg"><img width="75" height="75" alt="Surf Parade Apartment" src="http://farm2.static.flickr.com/1260/1253524315_233919721e_s.jpg" /></a>      <a title="The room" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1330/1253521745_516b014867_o.jpg"><img width="75" height="75" alt="The room" src="http://farm2.static.flickr.com/1330/1253521745_8a28f5e2aa_s.jpg" /></a>      <a title="My room" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1112/1254384300_eebf2ee6f2_o.jpg"><img width="75" height="75" alt="My room" src="http://farm2.static.flickr.com/1112/1254384300_3fd3da6619_s.jpg" /></a>    <a title="The Bed" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1045/1254382958_0c4065cd5f_o.jpg"><img width="75" height="75" alt="The Bed" src="http://farm2.static.flickr.com/1045/1254382958_0979c11713_s.jpg" /></a></p>
<p align="center"><a title="Kitchen" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1373/1254383914_6dbb9490b8_o.jpg"><img width="75" height="75" alt="Kitchen" src="http://farm2.static.flickr.com/1373/1254383914_49346e4777_s.jpg" /></a>      <a title="Bathroom" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1212/1253520893_6c54ba839e_o.jpg"><img width="75" height="75" alt="Bathroom" src="http://farm2.static.flickr.com/1212/1253520893_c0f2f72e64_s.jpg" /></a>      <a title="View from the apartment" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1249/1253522597_6b145b9cf6_o.jpg"><img width="75" height="75" alt="View from the apartment" src="http://farm2.static.flickr.com/1249/1253522597_b87c63d878_s.jpg" /></a>      <a title="Morning View from the apartment" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1376/1253522829_00e8617462_o.jpg"><img width="75" height="75" alt="Morning View from the apartment" src="http://farm2.static.flickr.com/1376/1253522829_1dce405889_s.jpg" /></a></p>
<p><strong>Gold Coast City Views</strong></p>
<p>There wasn&#8217;t much time for us to explore the city as our  times were fully occupied inside the convention center. I found Gold Coast has  many weird looking buildings, some having spiral type and some has alien style  weird diamond shape in the middle. I didn&#8217;t see any building of my liking but  overall the city is quite lovely and quiet.</p>
<p align="center"><a title="Gold Coast City Area" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1100/1254385082_c86c514a43_o.jpg"><img width="75" height="75" alt="Gold Coast City Area" src="http://farm2.static.flickr.com/1100/1254385082_06b309c9c6_s.jpg" /></a>  <a title="Gold Coast City Area" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1297/1254385380_a2ab1fa2db_o.jpg"><img width="75" height="75" alt="Gold Coast City Area" src="http://farm2.static.flickr.com/1297/1254385380_67fb4eace8_s.jpg" /></a>  <a title="Gold Coast City Area" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1326/1254386080_6b48aa88bc_o.jpg"><img width="75" height="75" alt="Gold Coast City Area" src="http://farm2.static.flickr.com/1326/1254386080_4abbfbab45_s.jpg" /></a>  <a title="View infront of Gold Coast Convention Center" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1190/1253747713_48be96caab_o.jpg"><img width="75" height="75" alt="View infront of Gold Coast Convention Center" src="http://farm2.static.flickr.com/1190/1253747713_acacc6f4ee_s.jpg" /></a></p>
<p><strong>Activities at Tech-Ed</strong></p>
<p>There were lots of sessions to attend to and I had a hard time choosing them but Sarnil and I sorted out ourselves on which sessions we should attend and share them later. We couldn&#8217;t attend any hand-on-lab sessions because they were always too full. I sat one exam there but I didn&#8217;t make it. It was the very first  failure in my exams history and I was very disappointed about it. I stayed  2 whole hours burning my head hard in the exam room; I missed one session and my lunch. I was so hungry and was mad at myself for the failure. Anyway what done is done and I&#8217;ll try that exam again later. So let just say, the exam was  a hard one and I didn&#8217;t prepare well. Some of the sessions I attended are:</p>
<ul>
<li><em>WEB316</em> Ajax Patterns with ASP.Net</li>
<li><em>DEV307</em> Developing Office Business Applications with Microsoft Visual Studio Tools for Office</li>
<li><em>DAT302</em> Database Schema Versioning: How to Use Microsoft Visual Studio Team System for Database Professionals and Team Foundation Server to Version and Deploy Your Databases</li>
<li><em>CON206</em> Custom Activities with Microsoft Windows Workflow Foundation: A Developer&#8217;s Primer</li>
<li><em>ARC307</em> Enterprise Library 3.1</li>
<li><em>DEV308</em> A Lap around Microsoft Windows Presentation Foundation</li>
<li><em>DEV311</em> NET Framework 3.0 End-to-End: Putting the Pieces Together</li>
<li><em>CON311</em> Building Microsoft Windows Workflow Foundation Enabled Windows Communication Foundation Services in .NET Framework 3.5</li>
<li><em>DEV320</em> Microsoft Visual C# Under the Covers: An In-Depth Look at C# 3.0</li>
<li><em>OFC418</em> Microsoft SharePoint Products and Technologies 2007: Deployment  and Advanced Administration Topics</li>
<li><em>ARC312</em> Make your Customer&#8217;s Day: User First Design</li>
</ul>
<p>I also attended the &#8220;<strong><em>Blogger Lunch</em></strong>&#8221; and here is <a title="Blogger Lunch at Tech-Ed" rel="external" href="http://webarj.wordpress.com/2007/08/08/meta-meta-liveblogging-the-bloggers-lunch-at-teched-2007/">one live post</a> which covers pretty much everything about the session. I found out later in the &#8220;<em>Ask the Expert</em>&#8221; section that one of the Blogger Lunch session speakers, <a title="Darren Neimke" rel="external" href="http://markitup.com/"><em>Darren Neimke</em></a>, is in fact from Adelaide and live near Flinders University where my sister is studying.</p>
<p align="center"><a title="Sarnil and Robert at Tech-Ed" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1184/1255033664_8db6fad9f1_o.jpg"><img width="75" height="75" alt="Sarnil and Robert at Tech-Ed" src="http://farm2.static.flickr.com/1184/1255033664_1d0fa087aa_s.jpg" /></a>   <a title="One of the Exhibitors and Sarnil" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1227/1255034156_d5bf0daf69_o.jpg"><img width="75" height="75" alt="One of the Exhibitors and Sarnil" src="http://farm2.static.flickr.com/1227/1255034156_f9edabacb9_s.jpg" /></a>  <a title="Tech-Lab" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1201/1255034436_3f96ce97c6_o.jpg"><img width="75" height="75" alt="Tech-Lab" src="http://farm2.static.flickr.com/1201/1255034436_c4fdf57681_s.jpg" /></a>  <a title="Blue Car" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1438/1254174171_1f49fca53b_o.jpg"><img width="75" height="75" alt="Blue car" src="http://farm2.static.flickr.com/1438/1254174171_bd2eb7ef90_s.jpg" /></a></p>
<p align="center"><a title="Sarnil with two speakers" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1327/1254170787_611e2b9224_o.jpg"><img width="75" height="75" alt="Sarnil with two speakers" src="http://farm2.static.flickr.com/1327/1254170787_09863dfc7f_s.jpg" /></a>   <a title="Sarnil and I with two speakers" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1224/1254171191_903f59abb6_o.jpg"><img width="75" height="75" alt="Sarnil and I with two speakers" src="http://farm2.static.flickr.com/1224/1254171191_15d6c46e3f_s.jpg" /></a>   <a title="Bull ride" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1088/1254174785_04b499c0c6_o.jpg"><img width="75" height="75" alt="Bull ride" src="http://farm2.static.flickr.com/1088/1254174785_a51cb606b8_s.jpg" /></a>  <a title="Bull rides" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1004/1255033916_1889e1ec40_o.jpg"><img width="75" height="75" alt="Bull Rides" src="http://farm2.static.flickr.com/1004/1255033916_3d85050e4f_s.jpg" /></a></p>
<p align="center"><a title="Speakers at Blogger Lunch" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1440/1254175833_7ae122004e_o.jpg"><img width="75" height="75" alt="Speakers at Blogger Lunch" src="http://farm2.static.flickr.com/1440/1254175833_354ae974d9_s.jpg" /></a>        <a title="Blogger Lunch" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1129/1254176077_abd49f7d5c_o.jpg"><img width="75" height="75" alt="Blogger Lunch" src="http://farm2.static.flickr.com/1129/1254176077_ffde0efc04_s.jpg" /></a>        <a title="May at Tech-Ed" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1095/1255035804_f86ef9146c_o.jpg"><img width="75" height="75" alt="May at Tech-Ed" src="http://farm2.static.flickr.com/1095/1255035804_f304b5a3f1_s.jpg" /></a>        <a title="Exhibition Hall" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1225/1254175273_cfa1fb568b_o.jpg"><img width="75" height="75" alt="Exhibition Hall" src="http://farm2.static.flickr.com/1225/1254175273_73c83ce8cf_s.jpg" /></a></p>
<p align="center"><a title="Lock Note speaker" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1071/1254607668_05c295ed79_o.jpg"><img width="75" height="75" alt="Lock Note speaker" src="http://farm2.static.flickr.com/1071/1254607668_9c0b7a874d_s.jpg" /></a>      <a title="Peter Watson - Locknote speaker2" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1166/1253747161_8cc5ce804e_o.jpg"><img width="75" height="75" alt="Peter Watson - Locknote speaker2" src="http://farm2.static.flickr.com/1166/1253747161_ad59aa2821_s.jpg" /></a>      <a title="Mr Host" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1174/1253746289_636de327ed_o.jpg"><img width="75" height="75" alt="Mr Host" src="http://farm2.static.flickr.com/1174/1253746289_e9c707f2ba_s.jpg" /></a>    <a title="Mr Host" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1343/1253747503_99acef52e9_o.jpg"><img width="75" height="75" alt="Mr Host" src="http://farm2.static.flickr.com/1343/1253747503_f17296e159_s.jpg" /></a></p>
<p align="center"><a title="Me infront of Gold Coast Convention Center" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1093/1253748015_c7e7aea1d4_o.jpg"><img width="75" height="75" alt="Me infront of Gold Coast Convention Center" src="http://farm2.static.flickr.com/1093/1253748015_b5e478d55d_s.jpg" /></a>      <a title="May and Robert infront of Convention Center" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1145/1254609792_8d1f63f491_o.jpg"><img width="75" height="75" alt="May and Robert infront of Convention Center" src="http://farm2.static.flickr.com/1145/1254609792_e10e49c1d9_s.jpg" /></a>      <a title="Robert" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1190/1254609566_ce0f85e4fc_o.jpg"><img width="75" height="75" alt="Robert" src="http://farm2.static.flickr.com/1190/1254609566_2248b2548e_s.jpg" /></a>       <a title="Lunch-Ed" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1021/1255037116_00182f80ff_o.jpg"><img width="75" height="75" alt="Lunch-Ed" src="http://farm2.static.flickr.com/1021/1255037116_6a10433519_s.jpg" /></a></p>
<p align="center"><a title="Peace!" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1077/1255039036_bd4f12a0a1_o.jpg"><img width="75" height="75" alt="Peace!" src="http://farm2.static.flickr.com/1077/1255039036_7e01ec0878_s.jpg" /></a>      <a title="At Closing Note Session" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1063/1254193141_24dbd5bd12_o.jpg"><img width="75" height="75" alt="At Closing Note Session" src="http://farm2.static.flickr.com/1063/1254193141_590b19f19e_s.jpg" /></a>      <a title="Robert at lock note" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1058/1254192909_f841627a4d_o.jpg"><img width="75" height="75" alt="Robert at lock note" src="http://farm2.static.flickr.com/1058/1254192909_9bbb3b90c9_s.jpg" /></a>       <a title="Lunch at Tech-Ed" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1160/1254170331_a541965e8d_o.jpg"><img width="75" height="75" alt="Lunch at Tech-Ed" src="http://farm2.static.flickr.com/1160/1254170331_6ecd0ff00b_s.jpg" /></a></p>
<p align="center"><a title="My Tech-Ed Lunch" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1306/1254170521_074e39ebc9_o.jpg"><img width="75" height="75" alt="My Tech-Ed Lunch" src="http://farm2.static.flickr.com/1306/1254170521_a14e5d9f71_s.jpg" /></a>  <a title="Red Car" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1150/1254174525_591c3f9dc5_o.jpg"><img width="75" height="75" alt="Red Car" src="http://farm2.static.flickr.com/1150/1254174525_91bc6b33aa_s.jpg" /></a></p>
<p>One of the fun things about Tech-Ed was collecting stamps  and freebies from exhibition stands. I collected a few pens, toys, a cap, a T-Shirt,  a few evaluation product CDs and lots of information brochures. I also filled  in lots of forms to place in the daily draws. There were some gift packs and  good stuffs such as Xbox 360 draws everyday. My friend Robert won Xbox360 and  we were very jealous of him. Such a lucky guy but he didn&#8217;t even invite us to  play with him. Bad Robert!</p>
<p>There were tons of food and drinks at Tech-Ed; if you are a  drinker, you would definitely love it. Coffee stands were always packed and I  liked the breakfast donuts. Lunches and dinner were great too but for some  reason I only ate lots of salad. I think it&#8217;s cos&#8217; of different cooking style,  their meat/main dishes didn&#8217;t taste good in my tongue.</p>
<p><strong>Movie World Night</strong></p>
<p>They booked the whole &#8220;<em>Movie World</em>&#8221; park for 2400 Tech-Ed delegates from 6:30 &#8211; 11pm on Thursday night. It was a great fun. We met one of the speakers and Sharepoint expert, <a title="Milan Gross" rel="external" href="http://mindsharp.com/Default.aspx?top=ABOUT%20US&#038;left=MILAN%20GROSS"><em>Milan Gross</em></a>, from Hawaii and team up with him to enjoy the night. We rode &#8220;Lethal Weapon&#8221; (roller coaster ride), &#8220;ScoopyDoo&#8221; ride, Batman stimulation and the Waterfall ride. I couldn&#8217;t believe I actually rode all of them and enjoyed it. I couldn&#8217;t have ride them if it wasn&#8217;t for the guys who kept pushing me to try so. Every ride I closed my eyes, shut my mouth and sit very still and stiffly so I didn&#8217;t get to see the high/dangerous views. But the feeling alone is scary enough for me. That was a great fun and we all enjoyed the night.</p>
<p align="center"><a title="The gang at Movie World" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1321/1255053438_d0f2e9df8b_o.jpg"><img width="75" height="75" alt="The gang at Movie World" src="http://farm2.static.flickr.com/1321/1255053438_8d74132c9b_s.jpg" /></a>    <a title="Mr Duck and May" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1287/1254190227_434beca423_o.jpg"><img width="75" height="75" alt="Duck and May" src="http://farm2.static.flickr.com/1287/1254190227_480b6c5cc8_s.jpg" /></a>    <a title="Yellow Ladies" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1043/1254190987_6a32417e98_o.jpg"><img width="75" height="75" alt="Yellow Ladies" src="http://farm2.static.flickr.com/1043/1254190987_888fe57ad6_s.jpg" /></a>    <a title="Star War gang and May" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1345/1255052426_db9e122a3c_o.jpg"><img width="75" height="75" alt="Star War gang and May" src="http://farm2.static.flickr.com/1345/1255052426_22bfa9680f_s.jpg" /></a></p>
<p align="center"><a title="Wonder Woman and Us" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1226/1255052134_385b90f583_o.jpg"><img width="75" height="75" alt="Wonder Woman and Us" src="http://farm2.static.flickr.com/1226/1255052134_0f7e0d810c_s.jpg" /></a>    <a title="The Water fall ride" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1285/1255038020_b69fc41cc3_o.jpg"><img width="75" height="75" alt="The Water fall ride" src="http://farm2.static.flickr.com/1285/1255038020_f1ce6449af_s.jpg" /></a>    <a title="At Movie World" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1245/1255038388_56bb597c01_o.jpg"><img width="75" height="75" alt="At Movie World" src="http://farm2.static.flickr.com/1245/1255038388_59d9b73eed_s.jpg" /></a>    <a title="Cheers!" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1082/1255052710_699bdaf47a_o.jpg"><img width="75" height="75" alt="Cheers!" src="http://farm2.static.flickr.com/1082/1255052710_e1955ec560_s.jpg" /></a></p>
<p align="center"><a title="Chow Time" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1113/1254176689_f3d209f7eb_o.jpg"><img width="75" height="75" alt="Chow Time" src="http://farm2.static.flickr.com/1113/1254176689_b4d1411402_s.jpg" /></a>    <a title="Robert and Sarnil" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1285/1253745217_7ae67b9c48_o.jpg"><img width="75" height="75" alt="Robert and Sarnil" src="http://farm2.static.flickr.com/1285/1253745217_e5dc2bcd7f_s.jpg" /></a>    <a title="Sarnil with neon lights" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1160/1254606018_e8600d8fc1_o.jpg"><img width="75" height="75" alt="Sarnil with neon lights" src="http://farm2.static.flickr.com/1160/1254606018_11d747afa9_s.jpg" /></a>     <a title="Sarnil with Star War gangs" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1005/1254606644_7fa1049e24_o.jpg"><img width="75" height="75" alt="Sarnil with Star War gangs" src="http://farm2.static.flickr.com/1005/1254606644_4fd73726dc_s.jpg" /></a></p>
<p align="center"><a title="Me and Milan at MovieWorld" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1308/1253746055_c49eb05d11_o.jpg"><img width="75" height="75" alt="Me and Milan at MovieWorld" src="http://farm2.static.flickr.com/1308/1253746055_0518d633ed_s.jpg" /></a>   <a title="At Movie World" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1035/1255030934_b37bc84088_o.jpg"><img width="75" height="75" alt="at Movie World" src="http://farm2.static.flickr.com/1035/1255030934_c1adc5466e_s.jpg" /></a>  <a title="Robert and Sarnil at Movie World" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1291/1255032364_b1c84a1230_o.jpg"><img width="75" height="75" alt="Robert and Sarnil at Movie World" src="http://farm2.static.flickr.com/1291/1255032364_29500ef65a_s.jpg" /></a>   <a title="Star War Gangs" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1294/1255032642_7b82d4dd42_o.jpg"><img width="75" height="75" alt="Star War Gangs" src="http://farm2.static.flickr.com/1294/1255032642_93c12e1cac_s.jpg" /></a></p>
<p align="center"><a title="The Matrix gang" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1036/1254172283_51c769d262_o.jpg"><img width="75" height="75" alt="The Matrix gang" src="http://farm2.static.flickr.com/1036/1254172283_a00b4d4678_s.jpg" /></a>  <a title="Robert and the thingie" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1039/1254172011_3983422491_o.jpg"><img width="75" height="75" alt="Robert and the thingie" src="http://farm2.static.flickr.com/1039/1254172011_7a1375f780_s.jpg" /></a>   <a title="Sarnil with some super heros" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1191/1255033412_d27d9386d2_o.jpg"><img width="75" height="75" alt="Sarnil with some super heros" src="http://farm2.static.flickr.com/1191/1255033412_4022e98380_s.jpg" /></a></p>
<p><strong>Evening at the Beach and Last Night Out</strong></p>
<p>The final day closing note ended around 4:30pm and we rested a few min at our apartment. Then we paid our (my) first and final visit to the beach in front. It was lovely evening and we saw some surfers, walkers and swimmers there. We took some photos at the beach then went back to the apartment and waited  our friend to go for dinner. The final night out was enjoyable. Conversation between Sarnil and Milan was interesting and amusing. They did the talking and I did the listening part as usual. We then had Korean BBQ for dinner and done a lot of walking around to digest the food. Actually the guys were searching for a good place to dance.  I had a very early flight to catch and have to wake up around 4am in the following morning so I took an early leave, said goodbye to the guys and came back to the apartment. Then I packed my stuffs and get ready for Sydney departure in the next morning.</p>
<p align="center"><a title="Gold Coast Beach" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1305/1253749165_036a938049_o.jpg"><img width="75" height="75" alt="Gold Coast Beach" src="http://farm2.static.flickr.com/1305/1253749165_75d2db9277_s.jpg" /></a>      <a title="Sarnil at the beach" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1270/1253748953_4a7bbd6eb9_o.jpg"><img width="75" height="75" alt="Sarnil at the beach" src="http://farm2.static.flickr.com/1270/1253748953_3842c313ca_s.jpg" /></a>      <a title="Sarnil at beach" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1269/1254610632_b3d9e10faa_o.jpg"><img width="75" height="75" alt="Sarnil at beach" src="http://farm2.static.flickr.com/1269/1254610632_8d85fc00b0_s.jpg" /></a>    <a title="Gold Coast Beach" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1395/1254190599_5179da222d_o.jpg"><img width="75" height="75" alt="GC - beach" src="http://farm2.static.flickr.com/1395/1254190599_af2135ee5c_s.jpg" /></a></p>
<p align="center"><a title="Sarnil with his fav car" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1291/1254610934_584fb89e98_o.jpg"><img width="75" height="75" alt="Sarnil with his fav car" src="http://farm2.static.flickr.com/1291/1254610934_508c678441_s.jpg" /></a>      <a title="Milan and Sarnil" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1011/1254611220_c342be86f9_o.jpg"><img width="75" height="75" alt="Milan and Sarnil" src="http://farm2.static.flickr.com/1011/1254611220_bbaadc084d_s.jpg" /></a>      <a title="May and Milan" rel="lightbox[teched2007]" href="http://farm2.static.flickr.com/1366/1254611536_af694ed1cc_o.jpg"><img width="75" height="75" alt="May and Milan" src="http://farm2.static.flickr.com/1366/1254611536_aca35e5516_s.jpg" /></a></p>
<p>So Tech-Ed ended pretty well and some of Tech.Ed 2007 Statistics from lock note are:</p>
<ul>
<li>This year there were 89,608 teeth at Tech.Ed.</li>
<li>You ate 12,628 bread rolls, and drank over 14,000 liters of enough coffee and Coke.</li>
<li>And at MovieWorld, on the Superman ride, we recorded 1,216 cries of &#8220;shhh****tttt&#8230;!!!!&#8221;</li>
<li>If all our Tech.Ed delegates were laid end-to-end, you&#8217;d stretch 4.15 kilometers long. But only an average of 1 meter wide. In most cases.</li>
<li>If all this year&#8217;s delegates forms a conga-line, that would be the end of Gold Coast Tourism.</li>
</ul>
<p>Interesting stats, aren&#8217;t they?</p>
<p>I was checking out the next <a title="Tech-Ed SEA 2007" rel="external" href="http://www.microsoft.com/malaysia/techedsea2007/speakers.mspx"><em>Tech-Ed SEA 2007 at Kuala Lumpur 10-13 Sept</em></a> and found out that there is one Burmese in the speaker list. The speaker name is &#8220;<em>Maung Maung Phyo</em>&#8221; and is a Senior Consultant from Singapore. He looks pretty young. Kuala Lumpur Tech-Ed got quite a few female speakers and most of them look very young. Also there are lots of Asian speakers. Impressive! Our friend &#8220;<a title="Milan Gross" rel="external" href="http://mindsharp.com/Default.aspx?top=ABOUT%20US&#038;left=MILAN%20GROSS"><em>Milan Gross</em></a>&#8221; is in the list as well. Being a Sharepoint expert, he got to travel a lot I bet.</p>
<p>Anyways Gold Coast Tech-Ed 2007 was great and I enjoyed it. Tech-Ed SEA 2007 looks interesting too so do share some words about it if any of you out there attending.</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2007/08/28/photos-tech-ed-2007-gold-coast-australia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gold Coast Tech-Ed 2007</title>
		<link>http://www.mayvelous.com/2007/08/08/gold-coast-teched-2007/</link>
		<comments>http://www.mayvelous.com/2007/08/08/gold-coast-teched-2007/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 09:56:48 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[Australia]]></category>
		<category><![CDATA[Bloggers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Trips and Travels]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=359</guid>
		<description><![CDATA[Hi, Sorry for long absent; blogger is currently attending Tech-Ed 2007 at Gold Coast Convention Center for a week from 6th to 10th Aug. She&#8217;ll be then visiting Sydney for 3 days and Adelaide for another 3 days. Blogger will be back on 18th Aug. Couldn&#8217;t blog long. Just dropping a line during session break. [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><a rel="external" title="Tech-Ed 2007 Gold Coast" href="http://www.microsoft.com/australia/teched07/index.aspx"><img width="150" height="150" align="right" alt="Tech-Ed 2007 Logo" src="http://farm2.static.flickr.com/1413/1175464407_dff91bd2f9_o.gif" /></a>Hi, Sorry for long absent; blogger is currently attending Tech-Ed 2007 at Gold Coast Convention Center for a week from 6th to 10th Aug. She&#8217;ll be then visiting Sydney for 3 days and Adelaide for another 3 days. Blogger will be back on 18th Aug.</p>
<p>Couldn&#8217;t blog long. Just dropping a line during session break. I&#8217;ll write about my Tech-Ed experiences very soon. At the moment, I&#8217;m at &#8220;Ask the Expert&#8221; session, and quickly posting this. I got one exam to sit tomorrow and couldn&#8217;t finish studying yet. Gotta cram tonight.</p>
<p>Anyways gotta run. Will post about things properly later. Tar.</p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2007/08/08/gold-coast-teched-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Licenses.licx and VSS</title>
		<link>http://www.mayvelous.com/2007/06/06/licenseslicx-and-vss/</link>
		<comments>http://www.mayvelous.com/2007/06/06/licenseslicx-and-vss/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 12:14:16 +0000</pubDate>
		<dc:creator>May</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Bugs and Fixes]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Project Notes]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[VS.Net]]></category>
		<category><![CDATA[VSS]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.mayvelous.com/?p=349</guid>
		<description><![CDATA[In our current project, we have to work with WinForms using VS 2005 and VSS as the project source control. There are two solid developers and one developer/Product Manager involved in the coding of this project. Our Product Manager suggests and prefers we use VSS rather than SVN for better source management (check in/out). As [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>In our current project, we have to work with WinForms using VS 2005 and VSS as the project source control. There are two solid developers and one developer/Product Manager involved in the coding of this   project. Our Product Manager suggests and prefers we use VSS rather than SVN for better source management (check in/out). As for us, developers (me and my bro), we had a great time using SVN in the last   project and prefer to use SVN; nevertheless both of us are flexible and agreed to work with VSS after a few discussion. Things are fine when I focus on designing forms and my bro working on code behinds.   But the problem arises when we start testing on a few forms, which need both of us to work on design view.</p>
<p>In VS2005 WinForm IDE, it adds or writes to the licenses.licx file whenever you use custom controls/third party controls such as Infragistic in your form. Though I&#8217;m not so sure, I observe that the licenses.licx   file is not needed if you work entirely with normal winform controls, but with third party controls, it acts as a config file storing the references of the controls.</p>
<p>Once you add a project to VSS DB, the licenses.licx file is always binded since it&#8217;s part of the project property. You can check out the code just fine but when you work with the form design, you&#8217;re forced to   check out the licenses file. If you don&#8217;t/can&#8217;t check it out, you can&#8217;t do anything to the form design. With VSS, it&#8217;s really a pain if one developer checked out the licenses file exclusively, others can&#8217;t do any   design work on any of the forms. To solve the exclusive checkout on licenses file, we tried to exclude the licenses.licx from the project and let it stay in local folder. Unfortunately, the file itself is part of   project property and once it&#8217;s excluded, it loses the references as well. For that little experiment, I&#8217;ve lost two of my form designs and have to start all over; thank god, they were just small forms. With that   failed experiment and out of ideas, we searched for the solution on the web. Found out that it was a known issue for VS2005 IDE and the fix would only available with the next release of Visual Studio.   The only work around they suggest so far is to use VSS multiple check out mode.</p>
<p>We don&#8217;t want to use Multiple check out mode in our VSS DB for:</p>
<ol>
<li>VSS doesn&#8217;t provide individual file multiple check out mode but for the whole DB,</li>
<li>There are a few careful steps to take before checking back in the multiple check out file. (You cannot check in directly. You must get latest on that file to ensure you get different versions from other   developers to merge the file then only you can successfully check it back in.)</li>
<li>VSS merge is a real pain and <strike>should</strike> I would never trust it. Unless ofcos&#8217; you don&#8217;t care about losing some of your codes or have a separate backup, go a head and try it out.</li>
<li>There is the need of source control administrator for merging files.</li>
<li>And again, don&#8217;t trust VSS Merge and can&#8217;t rely on it.</li>
</ol>
<p>But untill the next VS release, it&#8217;s the only possible way so we don&#8217;t have a choice but to use that method. Don&#8217;t have time to dig up properly either. So gonna stuck with this problem for the whole project. It’s just making my life miserable. *sign*</p>
<p><strong>Readings</strong>: <a title="Licenses file problem" rel="external" href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=123332">MS Feedback</a> | <a title="Check out license file" rel="external" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=173093&#038;SiteID=1">Forum Q&#038;A</a></p>
<p><a href="http://www.mayvelous.com"><img src="http://www.mayvelous.com/externals/thanks.gif" alt="Thanks for subscribing Mayvelous.com" border="0" /></a><br /><strong>Sponsor:</strong> <small>(yet to be)</small>: <a href="http://www.dreamhost.com/r.cgi?130793" title="Dreamhost $50 off discount code: 50MV">Dreamhost: Get $50 Off with Discount Code: <strong>50MV</strong></a></p> <p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mayvelous.com/2007/06/06/licenseslicx-and-vss/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

