<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tech Treasure</title>
	<atom:link href="http://chiragrdarji.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chiragrdarji.wordpress.com</link>
	<description>Articles of ASP.NET, C#, SQL Server, Timesaver Tools and something about me</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:00:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chiragrdarji.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tech Treasure</title>
		<link>http://chiragrdarji.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chiragrdarji.wordpress.com/osd.xml" title="Tech Treasure" />
	<atom:link rel='hub' href='http://chiragrdarji.wordpress.com/?pushpress=hub'/>
		<item>
		<title>JQuery selector tutorial</title>
		<link>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-tutorial/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-tutorial/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 19:16:50 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-tutorial/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160; Today I read another god article about JQuery selector tutorial. Here is a link for that. Two great articles about JQuery in one day, amazing !!! Happy Programming&#160; !!! Chirag Darji ASP.NET Consultant &#38; Trainer<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=287&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160; Today I read another god article about JQuery selector tutorial. <a href="http://codylindley.com/jqueryselectors/" target="_blank">Here</a> is a link for that. Two great articles about JQuery in one day, amazing !!!</p>
<p>Happy Programming&#160; !!!</p>
<p>Chirag Darji    <br />ASP.NET Consultant &amp; Trainer</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=287&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-tutorial/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>JQuery Selector, JQuery Event Binding, JQuery &#8220;this&#8221; keyword</title>
		<link>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-jquery-event-binding-jquery-this-keyword/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-jquery-event-binding-jquery-this-keyword/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 18:50:22 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Techincal]]></category>
		<category><![CDATA[Dotnet]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-jquery-event-binding-jquery-this-keyword/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Today while reading about JQuery I came across really helpful and well narrated article about JQuery Selector, JQuery Event Binding and use this key word in JQuery by Elijah Manor. You can read it here. &#160; Happy programming !!! Chirag Darji ASP.NET Consultant<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=286&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Today while reading about JQuery I came across really helpful and well narrated article about JQuery Selector, JQuery Event Binding and use this key word in JQuery by Elijah Manor. You can read it <a href="http://msdn.microsoft.com/hi-in/scriptjunkie/ee730275(en-us).aspx" target="_blank">here</a>.</p>
<p>&#160;</p>
<p>Happy programming !!!</p>
<p>Chirag Darji   <br />ASP.NET Consultant</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=286&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/11/11/jquery-selector-jquery-event-binding-jquery-this-keyword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>Find Second Saturday and Fourth Saturday of Month</title>
		<link>http://chiragrdarji.wordpress.com/2010/08/23/find-second-saturday-and-fourth-saturday-of-month/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/08/23/find-second-saturday-and-fourth-saturday-of-month/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 10:11:17 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/08/23/find-second-saturday-and-fourth-saturday-of-month/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160; While analyzing Payroll management system, I came across an interesting question that how can we find second and fourth Saturday of every month. As in India we still do not have five days a week in most of organization, bad humm……:( . Most of organizations offer only second and fourth Saturday off. Below is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=285&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="justify">&#160;&#160;&#160;&#160;&#160;&#160; While analyzing Payroll management system, I came across an interesting question that how can we find second and fourth Saturday of every month. As in India we still do not have five days a week in most of organization, bad humm……:( . Most of organizations offer only second and fourth Saturday off. Below is the code to find particular day of week and its occurrence in given month and year,</p>
<p align="justify">&#160;</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, &#039;background-color:#f4f4f4;max-height:200px;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// Returns date for specific week day and its occurrence in month.</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;/summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;param name=&quot;DesiredDay&quot;&gt;Perticular day of week, System.DayOfWeek&lt;/param&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;param name=&quot;Occurrence&quot;&gt;Its occurrence, System.Int32&lt;/param&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;param name=&quot;Month&quot;&gt;Month, System.Int32&lt;/param&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;param name=&quot;Year&quot;&gt;Year, System.Int32&lt;/param&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#008000;">/// &lt;returns&gt;&lt;/returns&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">private</span> <span style="color:#0000ff;">int</span> GetDateForWeekDay(DayOfWeek DesiredDay, <span style="color:#0000ff;">int</span> Occurrence,<span style="color:#0000ff;">int</span> Month,<span style="color:#0000ff;">int</span> Year)</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">{</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">    </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">    DateTime dtSat = <span style="color:#0000ff;">new</span> DateTime(Year, Month , 1);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">int</span> j = 0;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">if</span> (Convert.ToInt32(DesiredDay) - Convert.ToInt32(dtSat.DayOfWeek) &gt;= 0)</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">        j = Convert.ToInt32(DesiredDay) - Convert.ToInt32(dtSat.DayOfWeek) + 1;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">else</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">        j = (7 - Convert.ToInt32(dtSat.DayOfWeek)) + (Convert.ToInt32(DesiredDay) + 1);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&#160;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">return</span> j + (Occurrence - 1) * 7;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&#160;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:white;border-style:none;margin:0;padding:0;">    </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#039;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">}</pre>
</p></div>
</div>
<p>Fig &#8211; (1) Code to find Second Saturday and Fourth Saturday of Month.</p>
<p>&#160;</p>
<p>Happy Programming !!!!</p>
<p>Chirag Darji</p>
<p>ASP.NET Consultant &amp; Trainer</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=285&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/08/23/find-second-saturday-and-fourth-saturday-of-month/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>Complete Installation guide for CRM 4.0 / Step by Step guide to install CRM 4.0</title>
		<link>http://chiragrdarji.wordpress.com/2010/08/06/complete-installation-guide-for-crm-4-0-step-by-step-guide-to-install-crm-4-0/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/08/06/complete-installation-guide-for-crm-4-0-step-by-step-guide-to-install-crm-4-0/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 18:39:04 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[CRM]]></category>
		<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/08/06/complete-installation-guide-for-crm-4-0-step-by-step-guide-to-install-crm-4-0/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160; Last week I installed Microsoft Dynamic 4.0 on my virtual machine and I found that it will be helpful for beginner like me, if there is a step by step installation guide. Lets start with OS selection. 1. You can use Windows Server 2003 or later server version. I had Windows Server 2003 R2. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=282&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Last week I installed Microsoft Dynamic 4.0 on my virtual machine and I found that it will be helpful for beginner like me, if there is a step by step installation guide. Lets start with OS selection. </p>
<p>1. You can use Windows Server 2003 or later server version. I had Windows Server 2003 R2. </p>
<p>2. Install latest service pack for OS you installed.</p>
<p>3. Install Internet Information Service.</p>
<p>4. Install Active Directory.</p>
<p>5. Configure DNS Server.</p>
<p>6. Create new user for domain and make him member of Administrators group.</p>
<p>7. Install SQL Server 2005 with Reporting Service and Analysis service.</p>
<p>8. Configure new account as service account for Report Server and Analysis server.</p>
<p>9. Install Visual Studio 2008.</p>
<p>10. Start installation of CRM 4.0</p>
<p>11. Enter display name for your Organization.</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image002.jpg"><img title="clip_image002" style="display:inline;margin-left:0;margin-right:0;" height="236" alt="clip_image002" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image002_thumb.jpg?w=240&#038;h=236" width="240" /></a></p>
<p>12. Next step is to select installation path, you can leave this as it is or select specific folder,</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image004.jpg"><img title="clip_image004" style="display:inline;" height="208" alt="clip_image004" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image004_thumb.jpg?w=240&#038;h=208" width="240" /></a></p>
<p>13. Next select website for CRM, I choose new website with different port address in my case it was 5555 as shown in image below,</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image006.jpg"><img title="clip_image006" style="display:inline;" height="211" alt="clip_image006" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image006_thumb.jpg?w=240&#038;h=211" width="240" /></a></p>
<p>14. Next you need to enter URL for Reporting server.</p>
<p>15. Next you have to select Organization Unit. Click on Browse button and select the root node of your domain in my case it is chirag.</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image008.jpg"><img title="clip_image008" style="display:inline;" height="211" alt="clip_image008" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image008_thumb.jpg?w=240&#038;h=211" width="240" /></a></p>
<p>16. On next step you need to specify security account, choose the one you created in step 6. Enter the password in password textbox and click next.</p>
<p>17. Select your local machine as Email Router setting or select specific machine on domain which you are using at email server. I chose my local machine so localhost.</p>
<p>18. Once you click next you will see System Requirements screen. If Domain user, SQL Server Reporting Service and ASP.NET are installed properly you will receive no error or warning else you will receive error message. I received following errors,</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image010.jpg"><img title="clip_image010" style="display:inline;" height="208" alt="clip_image010" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image010_thumb.jpg?w=240&#038;h=208" width="240" /></a></p>
<p>19. If you receive error message for SQL Server or SQL Server Reporting Service don’t be afraid. Open Services from Start – All Programs – Administrative Tools – Services. Check whether SQL Server Agent is running. If not right click on service and select property. Select Startup Type as Automatic and click on start button. </p>
<p>20. Another common error is for Indexing service. Follow the steps mention in point 19 to start Indexing Service.</p>
<p>21. You can see a warning mentioning <strong>Verify Domain User account SPN for the Microsoft Dynamics CRM ASP.NET Application Pool account. This will usually shows when you add specific domain account for security account in step 16. You can solve this warning now or after installation by following steps mentioned at </strong><a href="http://billoncrmtech.blogspot.com/2008/08/now-i-am-master-tips-for-running-crm-40.html">http://billoncrmtech.blogspot.com/2008/08/now-i-am-master-tips-for-running-crm-40.html</a></p>
<p>22. If System Requirements screen show no error or warning on next step installation will be started.</p>
<p>23. Finally you will see following screen, this means your CRM is installed.</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/08/clip_image012.jpg"><img title="clip_image012" style="display:inline;" height="182" alt="clip_image012" src="http://chiragrdarji.files.wordpress.com/2010/08/clip_image012_thumb.jpg?w=240&#038;h=182" width="240" /></a></p>
<p>&#160;</p>
<p>Happy Programming !!!!</p>
<p>Chirag Darji</p>
<p>ASP.NET Consultant &amp; Trainer</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=282&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/08/06/complete-installation-guide-for-crm-4-0-step-by-step-guide-to-install-crm-4-0/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image002_thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image004_thumb.jpg" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image006_thumb.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image008_thumb.jpg" medium="image">
			<media:title type="html">clip_image008</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image010_thumb.jpg" medium="image">
			<media:title type="html">clip_image010</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/08/clip_image012_thumb.jpg" medium="image">
			<media:title type="html">clip_image012</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server Date Format and Convert DateTime to particular format</title>
		<link>http://chiragrdarji.wordpress.com/2010/07/30/sql-server-date-format-and-convert-datetime-to-particular-format/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/07/30/sql-server-date-format-and-convert-datetime-to-particular-format/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 12:28:49 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/07/30/sql-server-date-format-and-convert-datetime-to-particular-format/</guid>
		<description><![CDATA[&#160;&#160;&#160; I was playing with different date format in SQL Server as need to display date in YYYY-MM-DD HH:MI:SS.MMM format. I knew there is a CONVERT function which can do this however I did not have the exact parameter value to convert my date to mentioned format. I got really use full chart on internet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=269&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160; I was playing with different date format in SQL Server as need to display date in YYYY-MM-DD HH:MI:SS.MMM format. I knew there is a CONVERT function which can do this however I did not have the exact parameter value to convert my date to mentioned format. I got really use full chart on internet which provides different option and parameter value for CONVERT function. For my case syntax is </p>
<p>SELECT CONVERT(nvarchar(23),GetDate(),121)</p>
<p>You can check complete table <a href="http://www.sql-server-helper.com/tips/date-formats.aspx" target="_blank">here</a>.</p>
<p>&#160;</p>
<p>Happy Programming !!!!</p>
<p>Chirag Darji</p>
<p>ASP.NET Consultant &amp; Trainer</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=269&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/07/30/sql-server-date-format-and-convert-datetime-to-particular-format/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>Find all columns on which full text is enabled</title>
		<link>http://chiragrdarji.wordpress.com/2010/07/01/find-all-columns-on-which-full-text-is-enabled/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/07/01/find-all-columns-on-which-full-text-is-enabled/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 18:47:44 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">https://chiragrdarji.wordpress.com/2010/07/01/find-all-columns-on-which-full-text-is-enabled/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160; In my recent project I need to identify all columns on which full text index is created. You can find that in management studio from Database – Storage – Full Text Catalogs and right click on catalog name and select property. It display all tables and columns as shown below, Fig &#8211; (1) All [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=268&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; In my recent project I need to identify all columns on which full text index is created. You can find that in management studio from Database – Storage – Full Text Catalogs and right click on catalog name and select property. It display all tables and columns as shown below,</p>
<p><a href="http://chiragrdarji.files.wordpress.com/2010/07/fulltextindex.jpg"><img title="Full Text Index" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="363" alt="Full Text Index" src="http://chiragrdarji.files.wordpress.com/2010/07/fulltextindex_thumb.jpg?w=519&#038;h=363" width="519" border="0" /></a> </p>
<p>Fig &#8211; (1) All columns on which full-text index is created.</p>
</p>
<p>&#160;&#160;&#160;&#160;&#160; An alternative is to use query to find all columns on which full-text index is created.</p>
<blockquote><p>SELECT tbl.[Name] TableName,clm.[Name] ColumnName FROM     <br />Sys.Tables tbl INNER JOIN Sys.Columns clm      <br />ON tbl.[object_id] = clm.[object_id]      <br />INNER JOIN sys.fulltext_index_columns fic      <br />ON clm.[column_id] = fic.[column_id]      <br />WHERE tbl.[Type] = &#8216;U&#8217;</p>
</blockquote>
<p><font color="#666666"></font></p>
<p><font color="#666666">Happy Programming !!!!</font></p>
<p>Chirag Darji</p>
<p><font color="#666666">ASP.NET Consultant &amp; Trainer</font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=268&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/07/01/find-all-columns-on-which-full-text-is-enabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/07/fulltextindex_thumb.jpg" medium="image">
			<media:title type="html">Full Text Index</media:title>
		</media:content>
	</item>
		<item>
		<title>Saving changes is not permitted. The changes you made require following tables to be dropped and re-created &#8211; SQL SERVER 2008</title>
		<link>http://chiragrdarji.wordpress.com/2010/03/10/saving-changes-is-not-permitted-the-changes-you-made-require-following-tables-to-be-dropped-and-re-created-sql-server-2008/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/03/10/saving-changes-is-not-permitted-the-changes-you-made-require-following-tables-to-be-dropped-and-re-created-sql-server-2008/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:42:20 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">http://chiragrdarji.wordpress.com/2010/03/10/saving-changes-is-not-permitted-the-changes-you-made-require-following-tables-to-be-dropped-and-re-created-sql-server-2008/</guid>
		<description><![CDATA[Today while working in SQL Server 2008, I encounter an interesting problem which does not allow me to change design of any table in particular database. Each time when I try to change table columns or resize the I receive following message, Saving changes is not permitted. The changes you made require following tables to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=265&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today while working in SQL Server 2008, I encounter an interesting problem which does not allow me to change design of any table in particular database. Each time when I try to change table columns or resize the I receive following message,</p>
<p><strong>Saving changes is not permitted. The changes you made require following tables to be dropped and re-created. You have either made changes to a table that can’t be recreated or enabled the option prevent saving changes that require the table to be re-created.</strong>&#160;</p>
</p>
<p><img title="blog1" style="border-right:0;border-top:0;display:block;float:none;margin-left:auto;border-left:0;margin-right:auto;border-bottom:0;" height="364" alt="blog1" src="http://chiragrdarji.files.wordpress.com/2010/03/blog1.jpg?w=468&#038;h=364" width="468" border="0" /></p>
<p>Fig &#8211; (1) SQL Server 2008 &#8211; Saving changes is not permitted</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; You will receive this message when you restore database created on other server. SQL Server 2008 by default prevent changes for database which are created on another server by enabling “Prevent saving changes that require table re-creation” from Tools – Options.</p>
<p><img title="blog2" style="border-right:0;border-top:0;display:block;float:none;margin-left:auto;border-left:0;margin-right:auto;border-bottom:0;" height="393" alt="blog2" src="http://chiragrdarji.files.wordpress.com/2010/03/blog2.jpg?w=504&#038;h=393" width="504" border="0" /> </p>
<p>Fig &#8211; (2) Solution &#8211; SQL Server 2008 &#8211; Saving changes is not permitted</p>
<p>&#160;&#160;&#160; To solve this go to Tools &#8211; Options and uncheck “Prevent saving changes that require table re-creation” option.</p>
<p>Happy Programming !!!</p>
<p>Chirag Darji</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=265&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/03/10/saving-changes-is-not-permitted-the-changes-you-made-require-following-tables-to-be-dropped-and-re-created-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/03/blog1.jpg" medium="image">
			<media:title type="html">blog1</media:title>
		</media:content>

		<media:content url="http://chiragrdarji.files.wordpress.com/2010/03/blog2.jpg" medium="image">
			<media:title type="html">blog2</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server &#8211; Maximum columns in Table, Maximum Columns in Group By, Cluster Index Per Table, Max Database Size, Maximum characters in NTEXT, NVARCHAR(MAX) and all maximum in SQL SERVER</title>
		<link>http://chiragrdarji.wordpress.com/2010/03/06/sql-server-maximum-columns-in-table-maximum-columns-in-group-by-cluster-index-per-table-max-database-size-maximum-characters-in-ntext-nvarcharmax-and-all-maximum-in-sql-server/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/03/06/sql-server-maximum-columns-in-table-maximum-columns-in-group-by-cluster-index-per-table-max-database-size-maximum-characters-in-ntext-nvarcharmax-and-all-maximum-in-sql-server/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 06:47:25 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">http://chiragrdarji.wordpress.com/2010/03/06/sql-server-maximum-columns-in-table-maximum-columns-in-group-by-cluster-index-per-table-max-database-size-maximum-characters-in-ntext-nvarcharmax-and-all-maximum-in-sql-server/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; While reading MSDN today I came across very interested topic. This is very use full specially in interview. Link shows maximum character allow in NVARCHAR(MAX), NTEXT, VARCHAR(MAX), Maximum cluster index per table, maximum columns per table, Maximum columns per Foreign Key, Maximum Columns in Group By and so on. Here is the link from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=260&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; While reading MSDN today I came across very interested topic. This is very use full specially in interview. Link shows maximum character allow in NVARCHAR(MAX), NTEXT, VARCHAR(MAX), Maximum cluster index per table, maximum columns per table, Maximum columns per Foreign Key, Maximum Columns in Group By and so on. <a href="http://msdn.microsoft.com/en-us/library/ms143432.aspx" target="_blank">Here is the link from MSDN</a> OR you can read here copied from MSDN.</p>
<div class="MTPS_CollapsibleSection" style="display:block;"><a id="sectionToggle0"></a>
<p>The following table specifies the maximum sizes and numbers of various objects defined in SQL Server databases or referenced in Transact-SQL statements.</p>
<table cellspacing="0" cellpadding="0" width="450" border="1">
<tbody>
<tr>
<th width="140">SQL Server Database Engine object </th>
<th width="154">Maximum sizes/numbers SQL Server (32-bit) </th>
<th width="154">Maximum sizes/numbers SQL Server (64-bit) </th>
</tr>
<tr>
<td width="140">
<p>Batch size<span class="sup">1</span></p>
</td>
<td width="154">
<p>65,536 * Network Packet Size</p>
</td>
<td width="154">
<p>65,536 * Network Packet Size</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per short string column</p>
</td>
<td width="154">
<p>8,000</p>
</td>
<td width="154">
<p>8,000</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per GROUP BY, ORDER BY</p>
</td>
<td width="154">
<p>8,060</p>
</td>
<td width="154">
<p>8,060</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per index key<span class="sup">2</span></p>
</td>
<td width="154">
<p>900</p>
</td>
<td width="154">
<p>900</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per foreign key</p>
</td>
<td width="154">
<p>900</p>
</td>
<td width="154">
<p>900</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per primary key</p>
</td>
<td width="154">
<p>900</p>
</td>
<td width="154">
<p>900</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per row<span class="sup">8</span></p>
</td>
<td width="154">
<p>8,060</p>
</td>
<td width="154">
<p>8,060</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes in source text of a stored procedure</p>
</td>
<td width="154">
<p>Lesser of batch size or 250 MB</p>
</td>
<td width="154">
<p>Lesser of batch size or 250 MB</p>
</td>
</tr>
<tr>
<td width="140">
<p>Bytes per <strong>varchar(max)</strong>, <strong>varbinary(max)</strong>, <strong>xml</strong>, <strong>text</strong>, or <strong>image</strong> column</p>
</td>
<td width="154">
<p>2^31-1</p>
</td>
<td width="154">
<p>2^31-1</p>
</td>
</tr>
<tr>
<td width="140">
<p>Characters per <strong>ntext</strong> or <strong>nvarchar(max)</strong> column</p>
</td>
<td width="154">
<p>2^30-1</p>
</td>
<td width="154">
<p>2^30-1</p>
</td>
</tr>
<tr>
<td width="140">
<p>Clustered indexes per table</p>
</td>
<td width="154">
<p>1</p>
</td>
<td width="154">
<p>1</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns in GROUP BY, ORDER BY</p>
</td>
<td width="154">
<p>Limited only by number of bytes</p>
</td>
<td width="154">
<p>Limited only by number of bytes</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns or expressions in a GROUP BY WITH CUBE or WITH ROLLUP statement</p>
</td>
<td width="154">
<p>10</p>
</td>
<td width="154">
<p>10</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per index key<span class="sup">7</span></p>
</td>
<td width="154">
<p>16</p>
</td>
<td width="154">
<p>16</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per foreign key</p>
</td>
<td width="154">
<p>16</p>
</td>
<td width="154">
<p>16</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per primary key</p>
</td>
<td width="154">
<p>16</p>
</td>
<td width="154">
<p>16</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per nonwide table</p>
</td>
<td width="154">
<p>1,024</p>
</td>
<td width="154">
<p>1,024</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per wide table</p>
</td>
<td width="154">
<p>30,000</p>
</td>
<td width="154">
<p>30,000</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per SELECT statement</p>
</td>
<td width="154">
<p>4,096</p>
</td>
<td width="154">
<p>4,096</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per INSERT statement</p>
</td>
<td width="154">
<p>4096</p>
</td>
<td width="154">
<p>4096</p>
</td>
</tr>
<tr>
<td width="140">
<p>Connections per client</p>
</td>
<td width="154">
<p>Maximum value of configured connections</p>
</td>
<td width="154">
<p>Maximum value of configured connections</p>
</td>
</tr>
<tr>
<td width="140">
<p>Database size</p>
</td>
<td width="154">
<p>524,272 terabytes</p>
</td>
<td width="154">
<p>524,272 terabytes</p>
</td>
</tr>
<tr>
<td width="140">
<p>Databases per instance of SQL Server</p>
</td>
<td width="154">
<p>32,767</p>
</td>
<td width="154">
<p>32,767</p>
</td>
</tr>
<tr>
<td width="140">
<p>Filegroups per database</p>
</td>
<td width="154">
<p>32,767</p>
</td>
<td width="154">
<p>32,767</p>
</td>
</tr>
<tr>
<td width="140">
<p>Files per database</p>
</td>
<td width="154">
<p>32,767</p>
</td>
<td width="154">
<p>32,767</p>
</td>
</tr>
<tr>
<td width="140">
<p>File size (data)</p>
</td>
<td width="154">
<p>16 terabytes</p>
</td>
<td width="154">
<p>16 terabytes</p>
</td>
</tr>
<tr>
<td width="140">
<p>File size (log)</p>
</td>
<td width="154">
<p>2 terabytes</p>
</td>
<td width="154">
<p>2 terabytes</p>
</td>
</tr>
<tr>
<td width="140">
<p>Foreign key table references per table<span class="sup">4</span></p>
</td>
<td width="154">
<p>253</p>
</td>
<td width="154">
<p>253</p>
</td>
</tr>
<tr>
<td width="140">
<p>Identifier length (in characters)</p>
</td>
<td width="154">
<p>128</p>
</td>
<td width="154">
<p>128</p>
</td>
</tr>
<tr>
<td width="140">
<p>Instances per computer</p>
</td>
<td width="154">
<p>50 instances on a stand-alone server for all SQL Server editions except for Workgroup. Workgroup supports a maximum of 16 instances per computer.</p>
<p>SQL Server supports 25 instances on a failover cluster.</p>
</td>
<td width="154">
<p>50 instances on a stand-alone server.</p>
<p>25 instances on a failover cluster.</p>
</td>
</tr>
<tr>
<td width="140">
<p>Length of a string containing SQL statements (batch size)<span class="sup">1</span></p>
</td>
<td width="154">
<p>65,536 * Network packet size</p>
</td>
<td width="154">
<p>65,536 * Network packet size</p>
</td>
</tr>
<tr>
<td width="140">
<p>Locks per connection</p>
</td>
<td width="154">
<p>Maximum locks per server</p>
</td>
<td width="154">
<p>Maximum locks per server</p>
</td>
</tr>
<tr>
<td width="140">
<p>Locks per instance of SQL Server<span class="sup">5</span></p>
</td>
<td width="154">
<p>Up to 2,147,483,647</p>
</td>
<td width="154">
<p>Limited only by memory</p>
</td>
</tr>
<tr>
<td width="140">
<p>Nested stored procedure levels<span class="sup">6</span></p>
</td>
<td width="154">
<p>32</p>
</td>
<td width="154">
<p>32</p>
</td>
</tr>
<tr>
<td width="140">
<p>Nested subqueries</p>
</td>
<td width="154">
<p>32</p>
</td>
<td width="154">
<p>32</p>
</td>
</tr>
<tr>
<td width="140">
<p>Nested trigger levels</p>
</td>
<td width="154">
<p>32</p>
</td>
<td width="154">
<p>32</p>
</td>
</tr>
<tr>
<td width="140">
<p>Nonclustered indexes per table</p>
</td>
<td width="154">
<p>999</p>
</td>
<td width="154">
<p>999</p>
</td>
</tr>
<tr>
<td width="140">
<p>Number of distinct expressions in the GROUP BY clause when any of the following are present: CUBE, ROLLUP, GROUPING SETS, WITH CUBE, WITH ROLLUP</p>
</td>
<td width="154">
<p>32</p>
</td>
<td width="154">
<p>32</p>
</td>
</tr>
<tr>
<td width="140">
<p>Number of grouping sets generated by operators in the GROUP BY clause</p>
</td>
<td width="154">
<p>4,096</p>
</td>
<td width="154">
<p>4,096</p>
</td>
</tr>
<tr>
<td width="140">
<p>Parameters per stored procedure</p>
</td>
<td width="154">
<p>2,100</p>
</td>
<td width="154">
<p>2,100</p>
</td>
</tr>
<tr>
<td width="140">
<p>Parameters per user-defined function</p>
</td>
<td width="154">
<p>2,100</p>
</td>
<td width="154">
<p>2,100</p>
</td>
</tr>
<tr>
<td width="140">
<p>REFERENCES per table</p>
</td>
<td width="154">
<p>253</p>
</td>
<td width="154">
<p>253</p>
</td>
</tr>
<tr>
<td width="140">
<p>Rows per table</p>
</td>
<td width="154">
<p>Limited by available storage</p>
</td>
<td width="154">
<p>Limited by available storage</p>
</td>
</tr>
<tr>
<td width="140">
<p>Tables per database<span class="sup">3</span></p>
</td>
<td width="154">
<p>Limited by number of objects in a database</p>
</td>
<td width="154">
<p>Limited by number of objects in a database</p>
</td>
</tr>
<tr>
<td width="140">
<p>Partitions per partitioned table or index</p>
</td>
<td width="154">
<p>1,000</p>
</td>
<td width="154">
<p>1,000</p>
</td>
</tr>
<tr>
<td width="140">
<p>Statistics on non-indexed columns</p>
</td>
<td width="154">
<p>30,000</p>
</td>
<td width="154">
<p>30,000</p>
</td>
</tr>
<tr>
<td width="140">
<p>Tables per SELECT statement</p>
</td>
<td width="154">
<p>Limited only by available resources</p>
</td>
<td width="154">
<p>Limited only by available resources</p>
</td>
</tr>
<tr>
<td width="140">
<p>Triggers per table<span class="sup">3</span></p>
</td>
<td width="154">
<p>Limited by number of objects in a database</p>
</td>
<td width="154">
<p>Limited by number of objects in a database</p>
</td>
</tr>
<tr>
<td width="140">
<p>Columns per UPDATE statement (Wide Tables)</p>
</td>
<td width="154">
<p>4096</p>
</td>
<td width="154">
<p>4096</p>
</td>
</tr>
<tr>
<td width="140">
<p>User connections</p>
</td>
<td width="154">
<p>32,767</p>
</td>
<td width="154">
<p>32,767</p>
</td>
</tr>
<tr>
<td width="140">
<p>XML indexes</p>
</td>
<td width="154">
<p>249</p>
</td>
<td width="154">
<p>249</p>
</td>
</tr>
</tbody>
</table>
<p><span class="sup"></span></p>
<p><span class="sup">1</span>Network Packet Size is the size of the tabular data stream (TDS) packets used to communicate between applications and the relational Database Engine. The default packet size is 4 KB, and is controlled by the <strong>network packet size</strong> configuration option.</p>
<p><span class="sup">2</span>The maximum number of bytes in any index key cannot exceed 900 in SQL Server. You can define a key using variable-length columns whose maximum sizes add up to more than 900, provided no row is ever inserted with more than 900 bytes of data in those columns. In SQL Server, you can include nonkey columns in a nonclustered index to avoid the maximum index key size of 900 bytes.</p>
<p><span class="sup">3</span>Database objects include objects such as tables, views, stored procedures, user-defined functions, triggers, rules, defaults, and constraints. The sum of the number of all objects in a database cannot exceed 2,147,483,647.</p>
<p><span class="sup">4</span>Although a table can contain an unlimited number of FOREIGN KEY constraints, the recommended maximum is 253. Depending on the hardware configuration hosting SQL Server, specifying additional FOREIGN KEY constraints may be expensive for the query optimizer to process.</p>
<p><span class="sup">5</span>This value is for static lock allocation. Dynamic locks are limited only by memory.</p>
<p><span class="sup">6</span>If a stored procedure accesses more than 8 databases, or more than 2 databases in interleaving, you will receive an error.</p>
<p><span class="sup">7</span>If the table contains one or more XML indexes, the clustering key of the user table is limited to 15 columns because the XML column is added to the clustering key of the primary XML index. In SQL Server, you can include nonkey columns in a nonclustered index to avoid the limitation of a maximum of 16 key columns. For more information, see <a id="ctl00_mainContentContainer_ctl09_ctl00_ctl00" href="http://msdn.microsoft.com/en-us/library/ms190806(printer).aspx">Index with Included Columns</a> [ http://msdn.microsoft.com/en-us/library/ms190806.aspx ] .</p>
<p><span class="sup">8</span> SQL Server supports row-overflow storage which enables variable length columns to be pushed off-row. Only a 24-byte root is stored in the main record for variable length columns pushed out of row; because of this, the effective row limit is higher than in previous releases of SQL Server. For more information, see the &quot;Row-Overflow Data Exceeding 8 KB&quot; topic in SQL Server Books Online.</p>
</p></div>
<p> 
<div class="MTPS_CollapsibleRegion">
<div class="CollapseRegionLink"><!-- ApplyClick with current id -->&#160;<strong>Replication Objects </strong></div>
<div class="MTPS_CollapsibleSection" style="display:block;"><a id="sectionToggle1"></a>
<p>The following table specifies the maximum sizes and numbers of various objects defined in SQL Server Replication. </p>
<h3 class="subHeading"></h3>
<table cellspacing="0" cellpadding="0" width="450" border="1">
<tbody>
<tr>
<th width="160">SQL Server Replication object </th>
<th width="144">Maximum sizes/numbers SQL Server (32-bit) </th>
<th width="144">Maximum sizes/numbers SQL Server (64-bit) </th>
</tr>
<tr>
<td width="160">
<p>Articles (merge publication)</p>
</td>
<td width="144">
<p>256</p>
</td>
<td width="144">
<p>256</p>
</td>
</tr>
<tr>
<td width="160">
<p>Articles (snapshot or transactional publication)</p>
</td>
<td width="144">
<p>32,767</p>
</td>
<td width="144">
<p>32,767</p>
</td>
</tr>
<tr>
<td width="160">
<p>Columns in a table<span class="sup">1</span> (merge publication)</p>
</td>
<td width="144">
<p>246</p>
</td>
<td width="144">
<p>246</p>
</td>
</tr>
<tr>
<td width="160">
<p>Columns in a table<span class="sup">2</span> (SQL Server snapshot or transactional publication)</p>
</td>
<td width="144">
<p>1,000</p>
</td>
<td width="144">
<p>1,000</p>
</td>
</tr>
<tr>
<td width="160">
<p>Columns in a table<span class="sup">2</span> (Oracle snapshot or transactional publication)</p>
</td>
<td width="144">
<p>995</p>
</td>
<td width="144">
<p>995</p>
</td>
</tr>
<tr>
<td width="160">
<p>Bytes for a column used in a row filter (merge publication)</p>
</td>
<td width="144">
<p>1,024</p>
</td>
<td width="144">
<p>1,024</p>
</td>
</tr>
<tr>
<td width="160">
<p>Bytes for a column used in a row filter (snapshot or transactional publication)</p>
</td>
<td width="165">
<p>8,000</p>
</td>
<td width="184">
<p>8,000</p>
</td>
</tr>
</tbody>
</table>
<p><span class="sup">1</span>If row tracking is used for conflict detection (the default), the base table can include a maximum of 1,024 columns, but columns must be filtered from the article so that a maximum of 246 columns is published. If column tracking is used, the base table can include a maximum of 246 columns. For more information on the tracking level, see the &quot;Tracking Level&quot; section of <a id="ctl00_mainContentContainer_ctl10_ctl00_ctl00" href="http://msdn.microsoft.com/en-us/library/ms151749(printer).aspx">How Merge Replication Detects and Resolves Conflicts</a> [ http://msdn.microsoft.com/en-us/library/ms151749.aspx ] .</p>
<p><span class="sup">2</span>The base table can include the maximum number of columns allowable in the publication database (1,024 for SQL Server), but columns must be filtered from the article if they exceed the maximum specified for the publication type.</p>
</p></div>
</p></div>
<p>Happy Programming !!!</p>
<p>Chirag Darji</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=260&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/03/06/sql-server-maximum-columns-in-table-maximum-columns-in-group-by-cluster-index-per-table-max-database-size-maximum-characters-in-ntext-nvarcharmax-and-all-maximum-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Parsing Error: no element found</title>
		<link>http://chiragrdarji.wordpress.com/2010/02/17/xml-parsing-error-no-element-found/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/02/17/xml-parsing-error-no-element-found/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:05:46 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">http://chiragrdarji.wordpress.com/2010/02/17/xml-parsing-error-no-element-found/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160; Today while working with JQuery-Ajax, I found an interesting error. I have used $.ajax() function to retrieve data from remote page. While testing I found that the page always show error : XML Parsing Error: no element found. Error does not contain specific information about the source of error. The common reason for XML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=255&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Today while working with JQuery-Ajax, I found an interesting error. I have used $.ajax() function to retrieve data from remote page. While testing I found that the page always show error : <strong>XML Parsing Error: no element found. </strong>Error does not contain specific information about the source of error. The common reason for <strong>XML Parsing Error: no element found</strong> is missing closing tag for one or two html element, so I double checked everything to make sure not miss any closing(&lt;/td&gt; &lt;/tr&gt;) tags.</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; After searching for while I found that somehow ASP.NET treat the response of page as XML document and that’s why we receive <strong>XML Parsing Error: no element found</strong> error. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; To solve this error I added a line <strong>Response.ContentType = &quot;text/HTML&quot; </strong>to .cs page. This line tells ASP.NET runtime that response is HTML text and not XML.</p>
<p>&#160;</p>
<p>Happy Programming!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=255&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/02/17/xml-parsing-error-no-element-found/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
		<item>
		<title>JQuery Conflict with Mootool and other libraries !!! Use JQuery.noConflict()</title>
		<link>http://chiragrdarji.wordpress.com/2010/01/28/jquery-conflict-with-mootool-and-other-libraries-use-jquery-noconflict/</link>
		<comments>http://chiragrdarji.wordpress.com/2010/01/28/jquery-conflict-with-mootool-and-other-libraries-use-jquery-noconflict/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 12:31:00 +0000</pubDate>
		<dc:creator>chiragrdarji</dc:creator>
				<category><![CDATA[DotNet 2.0]]></category>
		<category><![CDATA[DotNet 3.0]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Techincal]]></category>

		<guid isPermaLink="false">http://chiragrdarji.wordpress.com/2010/01/28/jquery-conflict-with-mootool-and-other-libraries-use-jquery-noconflict/</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; We all may have use JQuery in our application to build rich UI. While working with JQuery today I found that JQuery is not working on some pages where I have user mootool scripts. I search on net and found a very descriptive solution at JQuery site. &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; According to this article the reason [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=254&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; We all may have use JQuery in our application to build rich UI. While working with JQuery today I found that JQuery is not working on some pages where I have user <a href="http://mootools.net/" target="_blank">mootool</a> scripts. I search on net and found a very descriptive solution at <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries" target="_blank">JQuery site</a>.</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; According to this article the reason for JQuery conflict is the use of $ function. <a href="http://mootools.net/" target="_blank">mootool</a> and prototype.js files have their own $ function. So when we use $() and try to access JQuery (as it is shorten form of jQuery()) browser is not able to resolve which $() function it has to use. To avoid JQuery conflict we have to use <strong>jQuery.noConflict()</strong> function.</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; While you read <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries" target="_blank">JQuery site</a> article you may have observe the order of java script files added to web page.&#160; Read carefully and you find that you have to <strong><u>add other libraries first and then add JQuery library to page</u></strong>. If you change the order and add the JQuery library first, either <a href="http://mootools.net/" target="_blank">mootool</a>(or other library which you have included) or JQuery will not work. </p>
<p>&#160;</p>
<p>Happy Programming !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chiragrdarji.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chiragrdarji.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chiragrdarji.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chiragrdarji.wordpress.com&amp;blog=615156&amp;post=254&amp;subd=chiragrdarji&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chiragrdarji.wordpress.com/2010/01/28/jquery-conflict-with-mootool-and-other-libraries-use-jquery-noconflict/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f713b8273537ef65495a6ece1b5b403?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chiragrdarji</media:title>
		</media:content>
	</item>
	</channel>
</rss>
