<?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>Guganeshan Thambiraja&#039;s blog</title>
	<atom:link href="http://guganeshan.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://guganeshan.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 19:42:50 +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>StackOverflow logo using C# and GDI+</title>
		<link>http://guganeshan.com/blog/stackoverflow-logo-using-csharp-and-gdi.html</link>
		<comments>http://guganeshan.com/blog/stackoverflow-logo-using-csharp-and-gdi.html#comments</comments>
		<pubDate>Sun, 29 Jan 2012 18:39:10 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[GDI+]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[StackExchange]]></category>
		<category><![CDATA[StackOverflow]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=261</guid>
		<description><![CDATA[Discovered the “Code Golf” in StackExchange from the people I follow in twitter (for the #codechallenge hashtag). The question to generate the StackOverflow logo in code was particularly interesting to me and naturally I wanted to try generating the logo using C# (GDI+ code). Because nobody had a C# solution listed there, I also put [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://guganeshan.com/blog/wp-content/uploads/2012/01/so-logo.png"><img class="alignleft size-full wp-image-269" title="so-logo" src="http://guganeshan.com/blog/wp-content/uploads/2012/01/so-logo.png" alt="StackOverflow logo" width="103" height="128" /></a>Discovered the “Code Golf” in StackExchange from the people I follow in twitter (for the #codechallenge hashtag).</p>
<p><a title="Generate StackOverflow logo with code - StackExchange" href="http://codegolf.stackexchange.com/questions/4561/generate-the-stack-overflow-logo" target="_blank">The question to generate the StackOverflow logo in code</a> was particularly interesting to me and naturally I wanted to try generating the logo using C# (GDI+ code). Because nobody had a C# solution listed there, I also put the code there as an answer (Look for the answer titled &#8220;C#/GDI+&#8221;)</p>
<p>I initially recreated the logo in GDI+ without a for loop (every rectangle had a hardcoded value for its locations and size). Using that approach, its possible to recreate the logo almost identical to the original. But I was not happy with doing it that way.<span id="more-261"></span></p>
<p>Also because they say → “<em><strong>The image is not required to be identical to the logo, however it must be recognizable as it</strong></em>” in the description, I used a for loop to minimize the number of lines written and to just generate a logo that looks like the StackOverflow logo, but not identical.</p>
<p>This is no “ingenious” code. I would be really happy to see anyone generating the same logo with GDI+ in a more efficient and accurate manner, using a formula to represent the exact curve that the original logo has (without hard-coding each and every position and size of the overflowing elements)</p>
<p>Here’s the difference between my generated logo and the original StackOverflow logo →</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2012/01/stackoverflow-logo-generated-vs-original.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="stackoverflow logo generated vs original" src="http://guganeshan.com/blog/wp-content/uploads/2012/01/stackoverflow-logo-generated-vs-original_thumb.png" alt="stackoverflow logo generated vs original" width="388" height="300" border="0" /></a></p>
<p><a title="Generate the StackOverflow logo with C# and GDI+ → source code" href="http://guganeshan.com/blog/wp-content/uploads/2012/01/StackOverflowLogoCodeChallenge.zip">Click here to download the code</a></p>
<p>Happy coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/stackoverflow-logo-using-csharp-and-gdi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wish you all a Happy New Year &#8211; 2012 Doomsday style!</title>
		<link>http://guganeshan.com/blog/wish-you-all-a-happy-new-year-2012-doomsday-style.html</link>
		<comments>http://guganeshan.com/blog/wish-you-all-a-happy-new-year-2012-doomsday-style.html#comments</comments>
		<pubDate>Sun, 01 Jan 2012 15:09:02 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Nature]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Science and Technology]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[Adobe After Effects]]></category>
		<category><![CDATA[Cosmophobia]]></category>
		<category><![CDATA[New Year]]></category>
		<category><![CDATA[Wish]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=252</guid>
		<description><![CDATA[The year 2012 is here. The year that some groups claim will be the last year for the planet and its life as we know it. There were many such occasions in the past too (for example, the year 2000). But, here we are&#8230; still living and breathing. You can get to know more about [...]]]></description>
			<content:encoded><![CDATA[<p>The year 2012 is here. The year that some groups claim will be the last year for the planet and its life as we know it. There were many such occasions in the past too (for example, the year 2000). But, here we are&#8230; still living and breathing.<span id="more-252"></span></p>
<p>You can get to know more about the <strong>speculated</strong> phenomena from many sources including this Wikipedia page: <a title="http://en.wikipedia.org/wiki/2012_phenomenon" href="http://en.wikipedia.org/wiki/2012_phenomenon">http://en.wikipedia.org/wiki/2012_phenomenon</a> . Or watch the movie “2012” to really get scared (Cosmophobia!) <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://guganeshan.com/blog/wp-content/uploads/2012/01/wlEmoticon-winkingsmile.png" alt="Winking smile" /></p>
<p>When I wanted to say Happy New Year in a blog post, I thought I should create a video (my first attempt with Adobe After Effects).</p>
<p>So here’s the spooky video wishing you all a Happy New Year, doomsday-style (an overkill of course <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://guganeshan.com/blog/wp-content/uploads/2012/01/wlEmoticon-winkingsmile.png" alt="Winking smile" /> , just for fun)</p>
<p><iframe src="https://www.youtube.com/embed/kNGS_iJ9SWA?rel=0" frameborder="0" width="582" height="326"></iframe></p>
<p>Happy New Year.</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/wish-you-all-a-happy-new-year-2012-doomsday-style.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Couple of days with a Canon EOS 500D</title>
		<link>http://guganeshan.com/blog/couple-of-days-with-a-canon-eos-500d.html</link>
		<comments>http://guganeshan.com/blog/couple-of-days-with-a-canon-eos-500d.html#comments</comments>
		<pubDate>Sun, 04 Dec 2011 17:01:35 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Canon EOS 500D]]></category>
		<category><![CDATA[DSLR]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=241</guid>
		<description><![CDATA[Despite the craze over great photos and photography in general, I managed to live with only a 3.2 megapixel mobile phone camera (I still do). A DSLR camera has always been in my “wish list”, though nobody cared gifting me one &#8211; just kidding. I was helping a friend of a friend with a .NET [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://guganeshan.com/blog/wp-content/uploads/2011/12/Canon-EOS-500D.jpg"><img style="background-image: none; margin: 0px 7px 2px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="Canon EOS 500D" src="http://guganeshan.com/blog/wp-content/uploads/2011/12/Canon-EOS-500D_thumb.jpg" alt="Canon EOS 500D" width="240" height="147" align="left" border="0" /></a>Despite the craze over great photos and photography in general, I managed to live with only a 3.2 megapixel mobile phone camera (I still do).</p>
<p>A <a href="http://en.wikipedia.org/wiki/Digital_single-lens_reflex_camera" target="_blank">DSLR camera</a> has always been in my “wish list”, though nobody cared gifting me one <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://guganeshan.com/blog/wp-content/uploads/2011/12/wlEmoticon-winkingsmile.png" alt="Winking smile" /> &#8211; just kidding.</p>
<p>I was helping a friend of a friend with <a title="Microsoft .NET Framework" href="http://en.wikipedia.org/wiki/.NET_Framework" target="_blank">a .NET</a> software, that required photos to be directly transferred to a PC as soon as they are captured. As far as I know, digital cameras go into a “USB mode” that makes them mass storage devices, just like ordinary USB thumb drives.<span id="more-241"></span></p>
<p>But my friend told me that DSLR cameras have the ability to capture photographs even when connected to the PC and that they can transfer photos immediately to the PC too. To cut a long story short, we confirmed that the <a href="http://en.wikipedia.org/wiki/Canon_EOS_500D" target="_blank">Canon EOS 500D</a> DSLR camera of that friend is suitable for the project and the camera was handed over to me until I build the software (Yay!)</p>
<p>This model is actually old and there are many new DSLR cameras released by Canon. But, I should say that the days spent with this camera has made my DSLR wish stronger! I’ve always frowned at noisy low-light photos from mobile phone cameras. But the EOS 500D produces almost crystal clear photographs even in lamp light! If an old model can be this cool, how Canon 7D, Nikon D7000 or a Sony Alpha range camera would perform!</p>
<p>Ok, I’ll stop drooling over precious DSLR cameras and show you what I have achieved photographically with this camera, as a newbie.</p>
<p>Here are some of the photos I like personally.</p>
<p><a title="Monitor Lizard - trying to hypnotize! by Guganeshan.T, on Flickr" href="http://www.flickr.com/photos/71174802@N08/6430976509/"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" src="http://farm8.staticflickr.com/7004/6430976509_a9a9083841.jpg" alt="Monitor Lizard - trying to hypnotize!" width="575" height="383" border="0" /></a></p>
<p><a title="yummy grass by Guganeshan.T, on Flickr" href="http://www.flickr.com/photos/71174802@N08/6453346259/"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" src="http://farm8.staticflickr.com/7160/6453346259_57e7995cc2.jpg" alt="yummy grass" width="575" height="321" border="0" /></a></p>
<p><a title="Blackout by Guganeshan.T, on Flickr" href="http://www.flickr.com/photos/71174802@N08/6430956155/" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="Blackout" src="http://farm8.staticflickr.com/7005/6430956155_67e41e0632.jpg" alt="Blackout" width="575" height="383" border="0" /></a></p>
<p><a title="Resting pigeons by Guganeshan.T, on Flickr" href="http://www.flickr.com/photos/71174802@N08/6430959039/"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" src="http://farm8.staticflickr.com/7010/6430959039_65557da804.jpg" alt="Resting pigeons" width="575" height="388" border="0" /></a></p>
<p>The photos shown above are from <a title="flickr photostream of Guganeshan.T" href="http://www.flickr.com/photos/71174802@N08/" target="_blank">my flickr photostream</a> (I created a new account for this. A plus point from the DSLR encounter). And they are also posted in a <a title="Couple of days with a Canon EOS 500D by Guganeshan.T" href="https://plus.google.com/u/0/photos/103908343261322596917/albums/5680761778393256513" target="_blank">Google+ photo album</a>.</p>
<p>There won’t be any posts categorized under “<strong>Photography</strong>” hereafter until I get my hands on a great camera again. So, to make sure this is not the last, I need to stop typing here and start writing an important letter immediately. I’ll start that letter like this…</p>
<p>“Dear Santa…” <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://guganeshan.com/blog/wp-content/uploads/2011/12/wlEmoticon-winkingsmile.png" alt="Winking smile" /></p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/couple-of-days-with-a-canon-eos-500d.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The little spike of motivation from Reddit</title>
		<link>http://guganeshan.com/blog/the-little-spike-of-motivation-from-reddit.html</link>
		<comments>http://guganeshan.com/blog/the-little-spike-of-motivation-from-reddit.html#comments</comments>
		<pubDate>Tue, 30 Aug 2011 20:15:52 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Story]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=223</guid>
		<description><![CDATA[Anybody who visits my blog can scan through the publish dates of the posts and know that I am not a frequent poster. According to SEO experts, updating blog content regularly will effect the web traffic positively. So for a “rare” poster like me, seeing “Views per day: 10” in the WordPress analytics everyday is [...]]]></description>
			<content:encoded><![CDATA[<p>Anybody who visits my blog can scan through the publish dates of the posts and know that I am not a frequent poster.</p>
<p>According to <a title="Search Engine Optimization" href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">SEO</a> experts, updating blog content regularly will effect the web traffic positively. So for a “rare” poster like me, seeing “<strong>Views per day: 10</strong>” in the WordPress analytics everyday is not new, and I am not serious about web traffic volume as I am (still) only a hobbyist blogger.<span id="more-223"></span></p>
<h4>The small “Spike”</h4>
<p>But what I saw yesterday in the “Wordpress stats” plugin’s chart, caught my attention. And you will know why if you take a look at the following image:</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2011/09/minor-reddit-effect-chart.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="minor reddit effect chart" src="http://guganeshan.com/blog/wp-content/uploads/2011/09/minor-reddit-effect-chart_thumb.png" alt="minor reddit effect chart" width="439" height="302" border="0" /></a></p>
<p>As you can see, the “Spike” on the 11th of August 2011 is <strong>really</strong> unusual.</p>
<p>So I clicked on the date to see more detailed information about it. The post that has attracted most of the 146 views on that day was → <a title="http://guganeshan.com/blog/tree-leaves-becoming-pinhole-cameras-during-the-annular-solar-eclipse.html" href="http://guganeshan.com/blog/tree-leaves-becoming-pinhole-cameras-during-the-annular-solar-eclipse.html" target="_blank">Tree leaves becoming “pinhole cameras” during the Annular Solar Eclipse</a>. Though that particular post brings at least one visitor from Google search everyday, the majority of the 146 visitors did NOT come from a Google search on 11th of August.</p>
<h4>Minor “Reddit” effect</h4>
<p>What the statistics revealed to me was that someone has <a title="Link from Reddit" href="http://www.reddit.com/r/askscience/comments/jfsm5/what_causes_sunlight_breaking_through_the_leaves/" target="_blank">linked to my post from a comment in Reddit</a>. Because websites like Reddit have a huge following, even a mere fraction of that community’s clicks will show a marked difference in traffic (read: <a title="Reddit - Wikipedia.org" href="http://en.wikipedia.org/wiki/Reddit" target="_blank">Reddit</a>)</p>
<p>News and social bookmarking websites like <a title="Digg" href="http://digg.com/" target="_blank">Digg</a>, <a title="Delicious - Social bookmarking" href="http://www.delicious.com/?view=hotlist" target="_blank">Delicious</a>, <a title="Slashdot - technology related news" href="http://slashdot.org/" target="_blank">Slashdot</a> and <a title="Reddit" href="http://www.reddit.com" target="_blank">Reddit</a> are popular for slowing down or even closing down smaller sites temporarily when they flood a smaller site with traffic when a story/post becomes popular (read: <a title="Slashdot effect" href="http://en.wikipedia.org/wiki/Slashdot_effect" target="_blank">Slashdot effect</a>)</p>
<h4><span style="font-weight: bold;">Motivation</span></h4>
<p>This cannot even be called a “spike” if I was a professional blogger! Though the increase in traffic was a very minor &amp; temporary one, it made me publish a new post after long time and it has also motivated me to post more regularly… let’s see <img src='http://guganeshan.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Peace.</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/the-little-spike-of-motivation-from-reddit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My IE6 dream</title>
		<link>http://guganeshan.com/blog/my-ie6-dream.html</link>
		<comments>http://guganeshan.com/blog/my-ie6-dream.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 14:48:41 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Story]]></category>
		<category><![CDATA[Dream]]></category>
		<category><![CDATA[Fiction]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=99</guid>
		<description><![CDATA[Got startled and woke up to the wild vibration and tone of my mobile phone&#8217;s alarm at 5am in the morning, stumbling in the darkness and quickly stopping the alarm, I notice 3 new text messages. Relaxing again, resting my head on the pillow, I assume they would be just some facebook alerts. The good [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-191" title="IE6 Dream" src="http://guganeshan.com/blog/wp-content/uploads/2010/07/ie6-dream.jpg" alt="IE6 Dream" width="200" height="198" />Got startled and woke up to the wild vibration and tone of my mobile phone&#8217;s alarm at 5am in the morning, stumbling in the darkness and quickly stopping the alarm, I notice 3 new text messages. Relaxing again, resting my head on the pillow, I assume they would be just some facebook alerts.</p>
<h2>The good news comes!</h2>
<p>Then I muster up some energy and sit up. Deciding to go about my usual daily duties, I open the 1st message to read, which is a CNN news alert: &#8220;Google hinted today that they are making moves to get rid of Internet Explorer 6 for good, CNN&#8221;! What? wow, I thought. And I open the 2nd message&#8230;</p>
<p><span id="more-99"></span></p>
<p>Its a facebook status update from a web-designer friend of mine that says &#8220;Tired of fighting with IE6 bugs&#8230; I give up <img src='http://guganeshan.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &#8220;, feeling sorry for him, I open the 3rd message, which is again a CNN news alert: &#8220;Google made a public statement saying that it has got positive feedback from yahoo, facebook, twitter, &lt;add high-traffic BIG site names here&gt;, about their intention of getting rid of IE6&#8243;!! What? that&#8217;s really interesting&#8230; wow, I get excited already.</p>
<h2>More excitement awaits&#8230;</h2>
<p>I get ready and rush to work. At the office, firing up my favorite browser&#8230; Firefox, I head straight to twitter, and see &#8220;Google&#8221; and &#8220;IE6&#8243; trending! Now we are on to something really serious I think. While I read related news, I get that awesome text message. Yet another CNN alert that makes you have a loooong sigh of relief&#8230;</p>
<p>&#8220;Google and other top sites have decided to stop serving for IE6 starting from 04:45 GMT time&#8221;!!! Wow&#8230; thats my 3rd wow for the day and its a serious one. I just can&#8217;t believe that. How come it all happened so fast?.</p>
<p>I calculate the time quickly +05:30 from that GMT time means&#8230; it should be 10:15am in Sri Lanka. Whats the time now&#8230; oh It&#8217;s 10:12&#8230; just 3 minutes from now. I fire up my portable IE6 copy that I used to test sites on, and visit YouTube. I still see only a recommendation to upgrade the browser.</p>
<h2>Believe in miracles!</h2>
<p>I refresh the page&#8230; watch the time&#8230; 1 minute more&#8230; refresh the page&#8230; nothing new&#8230; 10 seconds more&#8230; refresh the page&#8230; times up! nothing new yet&#8230; refresh again&#8230; and&#8230; it takes time to load now&#8230; and&#8230;. oh! I see a new page&#8230;. a mostly empty page, which says: &#8220;Sorry, but your browser is too old. Please upgrade your browser using this link or, select an alternative browser to download from the following list&#8221;&#8230; yeahhhhh! They&#8217;ve done it!</p>
<p>I visit Google.com and see the exact same page. Google has provided the page to be linked, so that all site owners can use the same page when a user visits using IE6. Its gone&#8230; IE6 has gone forever&#8230; People would be forced to upgrade if they want to view their favorite websites. I jump up in excitement without thinking much of what I&#8217;m doing&#8230;.</p>
<h2>Ouch&#8230;</h2>
<p>Ouch! That hurt. I hit something hard when jumping&#8230; oh it hurts&#8230; but.. how come my back hurts? err&#8230; where am I?&#8230; my back feels cold&#8230; Im on the floor!? in my room&#8230; oh my God&#8230; I&#8217;ve fallen off from bed&#8230; so it was all&#8230; a DREAM!</p>
<p>hmm&#8230; At least I saw it happening in my dream. Swift changes for nagging problems come only in dreams it seems. What a sweet dream <img src='http://guganeshan.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Note: That was not a real dream. No sleeping baby was harmed in the making of this post!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/my-ie6-dream.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Gmail with Push e-mail in a Sony Ericsson K800i &#8211; using IMAP4</title>
		<link>http://guganeshan.com/blog/gmail-with-push-e-mail-in-a-sony-ericsson-k800i-using-imap4.html</link>
		<comments>http://guganeshan.com/blog/gmail-with-push-e-mail-in-a-sony-ericsson-k800i-using-imap4.html#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:07:34 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Sony Ericsson]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=168</guid>
		<description><![CDATA[Ok, so you don&#8217;t have to own a BlackBerry to enjoy &#8220;Push&#8221; email: Email that is actively transferred (pushed) to the device as it arrives. It doesn&#8217;t even have to be a Smartphone. The reason why I selected a Sony Ericsson K800i is because&#8230; I still use it!   Though I use a SE K800i [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so you <span style="text-decoration: underline;">don&#8217;t</span> have to own a BlackBerry to enjoy <a href="http://en.wikipedia.org/wiki/Push_e-mail">&#8220;Push&#8221; email</a>: Email that is actively transferred (pushed) to the device as it arrives. It doesn&#8217;t even have to be a <a href="http://en.wikipedia.org/wiki/Smart_phone">Smartphone</a>.<img title="More..." src="http://guganeshan.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<p><span id="more-168"></span></p>
<p>The reason why I selected a <a href="http://en.wikipedia.org/wiki/Sony_Ericsson_K800i">Sony Ericsson K800i</a> is because&#8230; I still use it! <img src='http://guganeshan.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   Though I use a <a href="http://en.wikipedia.org/wiki/Sony_Ericsson_K800i">SE K800i</a> here to demonstrate the settings, I&#8217;m pretty sure you can use the same settings with any phone that supports IMAP to send and receive Gmail messages.</p>
<p>Off to the steps&#8230;</p>
<h3><strong>Enable IMAP access in Gmail</strong></h3>
<p>If you haven&#8217;t already done so, you have to enable IMAP access in Gmail, so that you can use the mail client in your mobile device to access your email.</p>
<p><strong>1. </strong>Go to &#8220;Settings&#8221; in Gmail and select the &#8220;Forwarding and POP/IMAP&#8221; tab:</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto;" src="http://guganeshan.com/blog/wp-content/uploads/2010/02/forwarding-and-pop-imap-tab-in-settings.jpg" border="0" alt="forwarding and pop-imap tab in settings" width="522" height="66" /></p>
<p><strong>2. </strong>In the &#8220;IMAP Access&#8221; section, select the &#8220;Enable IMAP&#8221; under &#8220;Status&#8221;.</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto;" src="http://guganeshan.com/blog/wp-content/uploads/2010/02/enable-IMAP-radio-button.jpg" border="0" alt="enable IMAP radio button" width="383" height="75" /></p>
<p><span style="color: #800000;">Remember to save your changes</span></p>
<h3><strong>Set up the mobile phone’s mail client</strong></h3>
<p><strong>1. </strong>From standby, select &#8220;Menu&#8221; =&gt; &#8220;Messaging&#8221; =&gt; &#8220;Email&#8221; =&gt; &#8220;Settings&#8221;.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Messaging.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Messaging_thumb.jpg" border="0" alt="Messaging" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Email.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Email_thumb.jpg" border="0" alt="Email" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Settings.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Settings_thumb.jpg" border="0" alt="Settings" width="150" height="199" /></a></p>
<p><strong>2. </strong>Select &#8220;New Account&#8221; and type a name for your account (e.g.: &#8220;My Gmail Account&#8221;).</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/New-Account.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/New-Account_thumb.jpg" border="0" alt="New Account" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Enter-Account-Name.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Enter-Account-Name_thumb.jpg" border="0" alt="Enter Account Name" width="150" height="199" /></a></p>
<p><strong>3. </strong>When you press &#8220;Ok&#8221;, you will be taken to the first set of settings. Select &#8220;Connect Using&#8221; and select a data account you have set up in the phone (If you don’t have one, you will have to set up a data account with your mobile operator first. Without a data connection, you won’t be able to continue).</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Connect-Using.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Connect-Using_thumb.jpg" border="0" alt="Connect Using" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Select-data-account.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Select-data-account_thumb.jpg" border="0" alt="Select data account" width="150" height="199" /></a></p>
<p><strong>4. </strong>Once the data account is selected you will be back to the settings. Now select the next item, &#8220;Email Address&#8221; and enter your full Gmail address (including &#8220;@gmail.com&#8221;). Press Ok.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Email-Address.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Email-Address_thumb.jpg" border="0" alt="Email Address" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Enter-email-address.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Enter-email-address_thumb.jpg" border="0" alt="Enter email address" width="150" height="199" /></a><br />
<strong>5. </strong>Next step is to select &#8220;Connection Type&#8221;. Select <strong>IMAP4</strong> as the connection type.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Connection-Type.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Connection-Type_thumb.jpg" border="0" alt="Connection Type" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Select-connection-type.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Select-connection-type_thumb.jpg" border="0" alt="Select connection type" width="150" height="199" /></a></p>
<p><strong>6. </strong>Then change the &#8220;Incoming Server&#8221; option&#8217;s value to <strong>imap.gmail.com</strong>. Username should be your <strong>full email address</strong> and set your <strong>Gmail password</strong>.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/incoming-server.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/incoming-server_thumb.jpg" border="0" alt="incoming server" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/username.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/username_thumb.jpg" border="0" alt="username" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/password.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/password_thumb.jpg" border="0" alt="password" width="150" height="199" /></a><br />
<strong>7. </strong>Change the &#8220;Outgoing server&#8221; option&#8217;s value to <strong>smtp.gmail.com</strong>, and move on to the &#8220;Advanced Settings&#8221; option.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/outgoing-server.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/outgoing-server_thumb.jpg" border="0" alt="outgoing server" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/advanced-settings.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/advanced-settings_thumb.jpg" border="0" alt="advanced settings" width="150" height="199" /></a></p>
<p><strong>8.</strong> Under Advanced Settings, you can set your name (how you want it to appear in mails) and a signature. Under &#8220;Download S&amp;R&#8221;, I recommend you select &#8220;Subjects Only&#8221; so that you can check the subject and decide whether to press the button on the mail to download it or not.</p>
<p>&#8220;Check Interval&#8221; can be used <strong>if you don&#8217;t want to use Push email</strong>. Setting a check interval won&#8217;t keep the phone connected always. Instead it will check for mail periodically when the check interval elapses (This is recommended if your phone has battery life problems!).</p>
<p>Turn &#8220;Push email&#8221; on if you want to be notified about incoming email as it arrives (like in a BlackBerry!). This option will not be available at this time. <strong>But it will be available AFTER you create the account</strong>. The only warning I would give is that it will drain your battery fast. So if it is a problem, leave it off and use the &#8220;Check Interval&#8221; option to an appropriate value.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/name-and-signature.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/name-and-signature_thumb.jpg" border="0" alt="name and signature" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Check-interval-push-email-and-allow-connection.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Check-interval-push-email-and-allow-connection_thumb.jpg" border="0" alt="Check interval, push email and allow connection" width="150" height="199" /></a></p>
<p><strong>9. </strong>Now select the &#8220;Encryption&#8221; option. You will find two sub options in it. Select <strong>SSL</strong> for &#8220;Incoming Server&#8221; option and select &#8220;TLS&#8221; for the &#8220;Outgoing Server&#8221; option. Use the back button on the phone to come out of the &#8220;Encryption&#8221; settings.</p>
<p>Select the &#8220;Outgoing Username&#8221; next and enter you full email address (including &#8220;@gmail.com&#8221;). And enter you Gmail password for &#8220;Outgoing Password&#8221;.</p>
<p>Set the &#8220;Incoming port&#8221; to 993 and &#8220;Outgoing port&#8221; to 587. That is the last option under the &#8220;Advanced settings&#8221; section. Now press the back button to come to the previous settings screen. Press the back button again to come out of the email settings altogether.</p>
<p>You should get a popup saying: &#8220;Account created. Select the new account if you want to use it as your active account.&#8221;</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/outgoing-username-and-password.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/outgoing-username-and-password_thumb.jpg" border="0" alt="outgoing username and password" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/incoming-port-and-outgoing-port.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/incoming-port-and-outgoing-port_thumb.jpg" border="0" alt="incoming port and outgoing port" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/account-created.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/account-created_thumb.jpg" border="0" alt="account created" width="150" height="199" /></a></p>
<p>(Note: Hope you remember, I said that the &#8220;Push&#8221; email option wouldn&#8217;t be available until the account is created. Now, either you should get another popup sooner or later saying that Push access can be enabled asking whether to enable it, or you can go into the settings again and turn it on).</p>
<p>To go back to edit any settings you should follow:</p>
<p>Messaging =&gt; Email =&gt; Settings =&gt; (now highlight the account) =&gt; More =&gt; Edit Account.</p>
<p><strong>10. </strong>To send and receive email, come into the email inbox =&gt; More =&gt; Send &amp; Receive. You can mark mails for deletion. To clear the emails that were &#8220;marked for deletion&#8221;, you should select &#8220;Clear Inbox&#8221;.</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Send-and-receive.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Send-and-receive_thumb.jpg" border="0" alt="Send and receive" width="150" height="199" /></a> <a href="http://guganeshan.com/blog/wp-content/uploads/2010/02/Mark-for-deletion-mark-as-unread-clear-inbox.jpg"><img src="http://guganeshan.com/blog/wp-content/uploads/2010/02/Mark-for-deletion-mark-as-unread-clear-inbox_thumb.jpg" border="0" alt="Mark for deletion, mark as unread, clear inbox" width="150" height="199" /></a></p>
<p>That&#8217;s all folks.. enjoy Gmail through IMAP4, using an old brick. <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif" alt="Winking" /></p>
<p>Hope that helps at least another <a href="http://en.wikipedia.org/wiki/Sony_Ericsson_K800i">Sony Ericsson K800i</a> user!</p>
<p>Further Reading:</p>
<ol>
<li><a title="Gmail Help - Configuring other mail clients" href="http://mail.google.com/support/bin/answer.py?answer=78799" target="_blank">Gmail Help &#8211; Configuring other mail clients</a></li>
<li><a title="Gmail Help - Getting started with IMAP for Gmail" href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=75725" target="_blank">Gmail Help &#8211; Getting started with IMAP for Gmail</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/gmail-with-push-e-mail-in-a-sony-ericsson-k800i-using-imap4.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Tree leaves becoming &#8220;pinhole cameras&#8221; during the Annular Solar Eclipse.</title>
		<link>http://guganeshan.com/blog/tree-leaves-becoming-pinhole-cameras-during-the-annular-solar-eclipse.html</link>
		<comments>http://guganeshan.com/blog/tree-leaves-becoming-pinhole-cameras-during-the-annular-solar-eclipse.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 12:01:41 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Nature]]></category>
		<category><![CDATA[Astronomy]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=113</guid>
		<description><![CDATA[The longest, annular (like a ring) Solar Eclipse of the millennium happened today (15th January 2010). When the annular eclipse was at its peak in the region from where I was watching it (Nugegoda, Sri Lanka), I saw some peculiar shadows on the ground. It occurred to me only after several seconds that they are [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: 0px; border-left: 0px; margin: 0px 15px 0px 0px; border-top: 0px; border-right: 0px" src="http://guganeshan.com/blog/wp-content/uploads/2010/01/annular-solar-eclipse.jpg" border="0" alt="annular solar eclipse" width="115" height="115" align="left" /> The longest, annular (like a ring) <a href="http://en.wikipedia.org/wiki/Solar_eclipse" target="_blank">Solar Eclipse</a> of the millennium happened today (15th January 2010).</p>
<p>When the annular eclipse was at its peak in the region from where I was watching it (Nugegoda, Sri Lanka), I saw some peculiar shadows on the ground. It occurred to me only after several seconds that they are caused by the Solar Eclipse!<span id="more-113"></span></p>
<p>When the sun&#8217;s rays hit the ground passing through small gaps between tree leaves, they create the &#8220;<a href="http://en.wikipedia.org/wiki/Pinhole_camera" target="_blank"><strong>Pinhole Camera</strong></a>&#8221; affect. These are actually <strong>small inverted images of the sun projected on the ground.</strong> Refer the Wikipedia article for more information about the Pinhole Camera: <a title="http://www.wikipedia.org/wiki/Pinhole_camera" href="http://www.wikipedia.org/wiki/Pinhole_camera" target="_blank">http://www.wikipedia.org/wiki/Pinhole_camera</a>.</p>
<p>Checkout these pictures I took at that time:</p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/01/solar-eclipse-2010-pattern-in-shadows-from-a-tree-1.jpg" target="_blank"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" src="http://guganeshan.com/blog/wp-content/uploads/2010/01/solar-eclipse-2010-pattern-in-shadows-from-a-tree-1_thumb.jpg" border="0" alt="Annular Solar Eclipse 2010 pinhole effect in shadows from a tree" width="640" height="480" /></a></p>
<p><a href="http://guganeshan.com/blog/wp-content/uploads/2010/01/solar-eclipse-2010-pattern-in-shadows-from-a-tree-2.jpg" target="_blank"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" src="http://guganeshan.com/blog/wp-content/uploads/2010/01/solar-eclipse-2010-pattern-in-shadows-from-a-tree-2_thumb.jpg" border="0" alt="Annular Solar Eclipse 2010 pinhole effect in shadows from a tree" width="640" height="480" /></a></p>
<p>It was a beautiful pattern to watch during the dreamy-darkness of the eclipse. The reduced temperature due to the eclipse, felt good on the skin too <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif" alt="Happy" /></p>
<p>Get to know when future solar and lunar eclipses would happen from this <strong>NASA eclipse website</strong>: <a title="http://eclipse.gsfc.nasa.gov/eclipse.html" href="http://eclipse.gsfc.nasa.gov/eclipse.html" target="_blank">http://eclipse.gsfc.nasa.gov/eclipse.html</a></p>
<p>Peace.</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/tree-leaves-becoming-pinhole-cameras-during-the-annular-solar-eclipse.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Merry Christmas!</title>
		<link>http://guganeshan.com/blog/merry-christmas-2009.html</link>
		<comments>http://guganeshan.com/blog/merry-christmas-2009.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 17:06:33 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=91</guid>
		<description><![CDATA[It&#8217;s that time of the year again&#8230; when the whole world (or at least the countries that use the standard Gregorian Calendar) commemorates the birth of  Jesus Christ. Christmas has become a celebrated day for non-Christians (like me) too. So let&#8217;s celebrate the birth of one of the holiest men ever to walk on this [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of the year again&#8230; when the whole world (or at least the countries that use the standard <a title="Gregorian Calendar" href="http://en.wikipedia.org/wiki/Gregorian_Calendar">Gregorian Calendar</a>) commemorates the birth of  <a title="Jesus Christ" href="http://en.wikipedia.org/wiki/Jesus">Jesus Christ</a>.<span id="more-91"></span></p>
<p>Christmas has become a celebrated day for non-Christians (like me) too. So let&#8217;s celebrate the birth of one of the holiest men ever to walk on this planet!</p>
<p>I would like to wish all my friends, relatives and the global Christian community, a Merry Christmas&#8230;</p>
<p><img class="aligncenter size-full wp-image-92" title="merry christmas" src="http://guganeshan.com/blog/wp-content/uploads/2009/12/merry-christmas.jpg" alt="merry christmas" /></p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/merry-christmas-2009.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Strange characters in Visual Studio code editor</title>
		<link>http://guganeshan.com/blog/strange-characters-in-visual-studio-code-editor.html</link>
		<comments>http://guganeshan.com/blog/strange-characters-in-visual-studio-code-editor.html#comments</comments>
		<pubDate>Fri, 18 Dec 2009 07:33:44 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=75</guid>
		<description><![CDATA[Do you see any strange dots and/or arrows in the Visual Studio code editor and have no idea how you turned them on? (check the screen-shot) These represent the &#8220;white space&#8221; characters such as the space, tab, carriage return etc. How to turn it on or off: You can press the key combination CTRL+E, S [...]]]></description>
			<content:encoded><![CDATA[<p>Do you see any strange <strong>dots and/or arrows</strong> in the Visual Studio code editor and have no idea how you turned them on? (check the screen-shot)</p>
<p><span id="more-75"></span></p>
<p><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" src="http://guganeshan.com/blog/wp-content/uploads/2009/12/whitespace-characters-in-visual-studio-code-editor.png" border="0" alt="whitespace characters in visual studio code editor" /></p>
<p>These represent the &#8220;<strong>white space</strong>&#8221; characters such as the space, tab, carriage return etc.</p>
<p><strong>How to turn it on or off:</strong></p>
<ol>
<li>You can press the key combination <strong><span style="color: #800000;">CTRL+E, S</span></strong> (can be different if you have modified). OR</li>
<li>Select: <strong><span style="color: #800000;">Edit » Advanced » View White Space</span></strong></li>
</ol>
<p>It&#8217;s actually a helpful feature to examine a code file to see what the white space consists of (tabs or spaces). But it can be annoying to keep the feature always turned on.</p>
<p>It has happened at least 5 or more times for me and I always forget what I did the last time to turn it off <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif" alt="Happy" /></p>
<p>I decided to post about it so that someone (including me!) can find this and remember what to do to turn it off (or on).</p>
<p>Hope this helps</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/strange-characters-in-visual-studio-code-editor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripts generated from SQL Server 2005 Management Studio are incompatible with SQL Server 2000</title>
		<link>http://guganeshan.com/blog/scripts-generated-from-sql-server-2005-management-studio-are-incompatible-with-sql-server-2000.html</link>
		<comments>http://guganeshan.com/blog/scripts-generated-from-sql-server-2005-management-studio-are-incompatible-with-sql-server-2000.html#comments</comments>
		<pubDate>Wed, 27 May 2009 07:53:00 +0000</pubDate>
		<dc:creator>Guganeshan.T</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Sql Server]]></category>

		<guid isPermaLink="false">http://guganeshan.com/blog/?p=15</guid>
		<description><![CDATA[If you ever generated scripts using SQL Server 2005 using Management Studio by right-clicking on table names, and tried executing it in SQL Server 2000 (using Query Analyzer), you would have encountered this problem&#8230; The Query Analyzer would report syntax errors. Reproducing the problem: Right-click on a table and generate a CREATE TABLE script from [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever generated scripts using SQL Server 2005 using Management Studio by right-clicking on table names, and tried executing it in SQL Server 2000 (using Query Analyzer), you would have encountered this problem&#8230; The Query Analyzer would report syntax errors.<span id="more-15"></span></p>
<p align="center"><strong><span style="text-decoration: underline;"><span style="color:#000000;">Reproducing the problem:</span></span></strong></p>
<p><strong>Right-click on a table and generate a CREATE TABLE script from SQL Server 2005 Management Studio:</strong></p>
<p><a href="http://lh6.ggpht.com/_UWvYGQG7P2Y/Sh03iHy4u1I/AAAAAAAAAHU/geW9V34Ewts/s1600-h/createscriptsqlms14.png"><img style="border-width: 0px;" src="http://lh3.ggpht.com/_UWvYGQG7P2Y/Sh03kGx1CyI/AAAAAAAAAHY/to0aX6QJBPo/createscriptsqlms_thumb10.png?imgmax=800" border="0" alt="create script sqlms" width="522" height="252" /></a></p>
<p><strong>Paste the generated script in SQL Server 2000, Query Analyzer and verify the syntax by clicking on the &#8220;Parse Query&#8221; tool button or press CTRL + F5:</strong></p>
<p><a href="http://lh5.ggpht.com/_UWvYGQG7P2Y/Sh03lBI7uFI/AAAAAAAAAHc/jE4V80kvl7k/s1600-h/verifysyntax5.png"><img style="border-width: 0px;" src="http://lh5.ggpht.com/_UWvYGQG7P2Y/Sh03maI-5dI/AAAAAAAAAHg/ah087QwYTIU/verifysyntax_thumb3.png?imgmax=800" border="0" alt="verify syntax" width="183" height="49" /></a></p>
<p><strong>Query Analyzer would report syntax errors:</strong></p>
<p>You will get a load of &#8220;Incorrect syntax near &#8216;(&#8216; &#8221; or similar errors depending on the number of table queries you generated.</p>
<p><a href="http://lh3.ggpht.com/_UWvYGQG7P2Y/Sh03nXIMcvI/AAAAAAAAAHk/6JxCFzBMFJs/s1600-h/QueryAnalyzerSynaxErrors5.png"><img style="border-width: 0px;" src="http://lh6.ggpht.com/_UWvYGQG7P2Y/Sh03okSCWQI/AAAAAAAAAHo/idpmKz7w8SI/QueryAnalyzerSynaxErrors_thumb3.png?imgmax=800" border="0" alt="QueryAnalyzerSynaxErrors" width="372" height="103" /></a></p>
<p align="center"><strong><span style="color:#000000;"> </span></strong></p>
<p align="center"><strong><span style="color:#000000;"><span style="text-decoration: underline;">Solution for people who manage the target SQL Server 2000 database using SQL Server 2005 Management Studio</span></span></strong></p>
<p>I found this solution when I Googled: <a title="http://www.waynejohn.com/post/2008/03/21/Scripting-a-SQL-2000-Database-from-SQL-2005.aspx" href="http://www.waynejohn.com/post/2008/03/21/Scripting-a-SQL-2000-Database-from-SQL-2005.aspx">http://www.waynejohn.com/post/2008/03/21/Scripting-a-SQL-2000-Database-from-SQL-2005.aspx</a></p>
<p>But note that Wayne John, the author of the blog says he couldn&#8217;t find the &#8220;Scripting&#8221; section in the &#8220;<strong>Tools &#8211;&gt; Options</strong>&#8221; dialog box in one of his systems, where he had only SQL 2005 installed!</p>
<p align="center"><strong><span style="text-decoration: underline;"><span style="color:#000000;">The solution for people who don&#8217;t have SQL Server Management Studio installed at the target to manage the SQL Server 2000</span></span></strong></p>
<p>So If you are like me&#8230; using SQL Server 2000 + Query Analyzer at the target server while the source is a SQL Server 2005 + Management Studio, you can use the good old <a href="http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&amp;displaylang=en" target="_blank"><strong>SQL Server Database Publishing Wizard</strong></a><strong> </strong>to export schema.</p>
<p>The queries generated using the SQL Server Database Publishing Wizard worked perfectly with SQL Server 2000&#8242;s Query Analyzer (though a query for even a single table would look scary!).</p>
<p>But make sure you select &#8220;SQL Server 2000&#8243; as the value for the &#8220;Script for target database&#8221; property in the &#8220;Select Publishing Options&#8221; in the wizard.</p>
<p><a href="http://lh5.ggpht.com/_UWvYGQG7P2Y/Sh03p_G08iI/AAAAAAAAAHs/m-6Q3_Z86EU/s1600-h/scriptfortargetdatabase5.png"><img style="border-width: 0px;" src="http://lh3.ggpht.com/_UWvYGQG7P2Y/Sh03rY8g_6I/AAAAAAAAAHw/QDvvPxrQGa0/scriptfortargetdatabase_thumb3.png?imgmax=800" border="0" alt="script for target database" width="354" height="295" /></a></p>
<p><span style="color:#ff0000;">NOTE: Double-check the &#8220;Drop existing objects in script&#8221; option to make sure it has &#8220;false&#8221; (unless you really want to drop objects)</span></p>
<p>There are plenty of other tools out there too, for example from <a href="http://www.red-gate.com/" target="_blank">Red Gate Software</a>. But as a free piece software <a href="http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&amp;displaylang=en" target="_blank">SQL Server Database Publishing Wizard</a> offers enough for my needs of exporting schema and data from/to SQL Server 2005 and SQL Server 2000 databases.</p>
]]></content:encoded>
			<wfw:commentRss>http://guganeshan.com/blog/scripts-generated-from-sql-server-2005-management-studio-are-incompatible-with-sql-server-2000.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

