<?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>Script(s)</title>
	<atom:link href="http://gchandra.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gchandra.wordpress.com</link>
	<description>what I learn is what u c</description>
	<lastBuildDate>Mon, 24 Jan 2011 18:16:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gchandra.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Script(s)</title>
		<link>http://gchandra.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gchandra.wordpress.com/osd.xml" title="Script(s)" />
	<atom:link rel='hub' href='http://gchandra.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Planning to Host WordPress Blog</title>
		<link>http://gchandra.wordpress.com/2008/12/05/planning-to-host-wordpress-blog/</link>
		<comments>http://gchandra.wordpress.com/2008/12/05/planning-to-host-wordpress-blog/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 05:04:00 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Web Coding]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/2008/12/05/planning-to-host-wordpress-blog/</guid>
		<description><![CDATA[Read this article.. http://www.gchandra.com/scripts/?p=172<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=96&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Read this article..</p>
<p>http://www.gchandra.com/scripts/?p=172</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=96&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/12/05/planning-to-host-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
		<item>
		<title>Handling multiple configuration settings (Development, Staging, Production) gracefully.</title>
		<link>http://gchandra.wordpress.com/2008/05/01/handling-multiple-configuration-settings-development-staging-production-gracefully/</link>
		<comments>http://gchandra.wordpress.com/2008/05/01/handling-multiple-configuration-settings-development-staging-production-gracefully/#comments</comments>
		<pubDate>Fri, 02 May 2008 01:52:42 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Web Coding]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=92</guid>
		<description><![CDATA[In Asp.net 2.0 multiple connectionStrings &#38; appSettings can be handled very easily using the attribute “configSource” create a new xml file devAppSettings.config under a new folder myConfigsettings (continue reading&#8230;)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=92&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Asp.net 2.0 multiple connectionStrings &amp; appSettings can be handled very easily using the attribute “configSource”</p>
<p>create a new xml file <strong>devAppSettings.config</strong> under a new folder<strong> myConfigsettings</strong></p>
<p><a href="http://www.gchandra.com/scripts/?p=100" target="_self">(continue reading&#8230;)</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=92&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/05/01/handling-multiple-configuration-settings-development-staging-production-gracefully/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Preserve Fileupload value in Asp.net ?</title>
		<link>http://gchandra.wordpress.com/2008/05/01/how-to-preserve-fileupload-value-in-aspnet/</link>
		<comments>http://gchandra.wordpress.com/2008/05/01/how-to-preserve-fileupload-value-in-aspnet/#comments</comments>
		<pubDate>Fri, 02 May 2008 00:35:02 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Web Coding]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[asp:fileupload]]></category>
		<category><![CDATA[autopostback]]></category>
		<category><![CDATA[preserve fileupload value]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=91</guid>
		<description><![CDATA[If you form has Fileupload control along with other controls like dropdownlist, calendar.. you will be facing standard problem of Fileupload control losing value when other controls are selected. Click here to read the article in full&#8230;  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=91&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you form has Fileupload control along with other controls like dropdownlist, calendar.. you will be facing standard problem of Fileupload control losing value when other controls are selected.</p>
<p><a class="aligncenter" title="Asp.net Fileupload control " href="http://www.gchandra.com/scripts/?p=99" target="_self">Click here to read the article in full&#8230;</a></p>
<p> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=91&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/05/01/how-to-preserve-fileupload-value-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
		<item>
		<title>Moved to own domain www.gchandra.com/scripts</title>
		<link>http://gchandra.wordpress.com/2008/03/01/moved-to-own-domain-wwwgchandracomscripts/</link>
		<comments>http://gchandra.wordpress.com/2008/03/01/moved-to-own-domain-wwwgchandracomscripts/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 06:32:40 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Web Coding]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/2008/03/01/moved-to-own-domain-wwwgchandracomscripts/</guid>
		<description><![CDATA[I have moved my blog here..   www.gchandra.com/scripts See you there<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=90&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have moved my blog here.. </p>
<p> <a href="http://www.gchandra.com/scripts">www.gchandra.com/scripts</a></p>
<p>See you there</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/90/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/90/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=90&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/03/01/moved-to-own-domain-wwwgchandracomscripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable .xml file generation when building Asp.Net application</title>
		<link>http://gchandra.wordpress.com/2008/02/22/disable-xml-file-generation-when-building-aspnet-application/</link>
		<comments>http://gchandra.wordpress.com/2008/02/22/disable-xml-file-generation-when-building-aspnet-application/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 02:19:03 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Web Coding]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS2005]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/2008/02/22/disable-xml-file-generation-when-building-aspnet-application/</guid>
		<description><![CDATA[Visual Studio 2005 &#8211; Compile Options .XML files are used to create Documentation. If you need to disable them, then Project Properties &#62; Compile and Uncheck Generate XML Documentation file option.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=89&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://gchandra.files.wordpress.com/2008/02/compiletab.png" title="Compile Options"></a>Visual Studio 2005 &#8211; Compile Options</p>
<p>.XML files are used to create Documentation.</p>
<p>If you need to disable them, then</p>
<p>Project Properties &gt; Compile and Uncheck Generate XML Documentation file option.</p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/compiletab.png" title="Compile Options"><img src="http://gchandra.files.wordpress.com/2008/02/compiletab.png?w=700" alt="Compile Options" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/89/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/89/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=89&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/02/22/disable-xml-file-generation-when-building-aspnet-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/compiletab.png" medium="image">
			<media:title type="html">Compile Options</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable .pdb file generation in Release Mode</title>
		<link>http://gchandra.wordpress.com/2008/02/22/disable-pdp-file-generation-in-release-mode/</link>
		<comments>http://gchandra.wordpress.com/2008/02/22/disable-pdp-file-generation-in-release-mode/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 02:15:49 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[PDB]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[VS2005]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=85</guid>
		<description><![CDATA[Visual Studio 2005 &#8211; Compile Options In Visual Studio 2005, .pdb file gets generated in Debug mode and Release mode. In debug mode it loads the entire symbol table, in Release mode it loads the key symbols. In Release mode, the generated .pdb can be deleted very well deleted. (Because framework does not uses it) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=85&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2005 &#8211; Compile Options</p>
<p>In Visual Studio 2005, .pdb file gets generated in Debug mode and Release mode.</p>
<p>In debug mode it loads the entire symbol table, in Release mode it loads the key symbols.</p>
<p>In Release mode, the generated .pdb can be deleted very well deleted. (Because framework does not uses it)</p>
<p>To disable .pdb generation in Release mode, goto</p>
<p><em>Project Properties &gt; Compile Tab &gt; Advanced Compile Options</em></p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/compile-tab-advance.png" title="Compile Options"><img src="http://gchandra.files.wordpress.com/2008/02/compile-tab-advance.png?w=700" alt="Compile Options" /></a></p>
<p>Goto Generate Debug Info (dropdown list) and select None.</p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/release-nopdb.png" title="No PDB"><img src="http://gchandra.files.wordpress.com/2008/02/release-nopdb.png?w=700" alt="No PDB" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/85/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/85/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=85&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/02/22/disable-pdp-file-generation-in-release-mode/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/compile-tab-advance.png" medium="image">
			<media:title type="html">Compile Options</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/release-nopdb.png" medium="image">
			<media:title type="html">No PDB</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server 2005  : Access Tables / Entities across Servers.</title>
		<link>http://gchandra.wordpress.com/2008/02/18/sql-server-2005-access-tables-entities-across-servers/</link>
		<comments>http://gchandra.wordpress.com/2008/02/18/sql-server-2005-access-tables-entities-across-servers/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 20:31:40 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=77</guid>
		<description><![CDATA[Accessing objects (tables..) across servers (SQL Server) is very simple. Step 1: Create a link between two servers Goto Query Window &#8216;PRODSVR&#8217;  is the name of the Server.Execute it. Step 2: Setup Permission between Servers.In Management StudioGotoServer Object &#62;&#62; Linked Servers &#62;&#62; PRODSVR (See Image) Right Click on PRODSVR goto Properties and make changes as given [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=77&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://gchandra.files.wordpress.com/2008/02/linked-serveroptions.jpg" title="linked-serveroptions.jpg"></a><a href="http://gchandra.files.wordpress.com/2008/02/linkedservers.jpg" title="Linked Servers List"></a><a href="http://gchandra.files.wordpress.com/2008/02/1-general.jpg" title="1-general.jpg"></a>Accessing objects (tables..) across servers (SQL Server) is very simple.</p>
<p><strong>Step 1: Create a link between two servers</strong></p>
<p>Goto Query Window</p>
<p><pre class="brush: sql;">
EXEC sp_addlinkedserver
   'PRODSVR',
   N'SQL Server'
GO</pre><br />
<em>&#8216;PRODSVR&#8217; </em> is the name of the Server.Execute it.</p>
<p><strong>Step 2: Setup Permission between Servers.</strong>In Management StudioGotoServer Object &gt;&gt; Linked Servers &gt;&gt;</p>
<p>PRODSVR (See Image)</p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/linkedservers.jpg" title="Linked Servers List"><img src="http://gchandra.files.wordpress.com/2008/02/linkedservers.jpg?w=700" alt="Linked Servers List" /></a><a href="http://gchandra.files.wordpress.com/2008/02/linkedservers.jpg" title="Linked Servers List"></a></p>
<p>Right Click on PRODSVR goto Properties and make changes as given below.</p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/1-general.jpg" title="1-general.jpg"><img src="http://gchandra.files.wordpress.com/2008/02/1-general.jpg?w=700" alt="1-general.jpg" /></a></p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/2-security.jpg" title="2-security.jpg"><img src="http://gchandra.files.wordpress.com/2008/02/2-security.jpg?w=700" alt="2-security.jpg" /></a></p>
<p> <a href="http://gchandra.files.wordpress.com/2008/02/3-securityoptions.jpg" title="3-securityoptions.jpg"><img src="http://gchandra.files.wordpress.com/2008/02/3-securityoptions.jpg?w=700" alt="3-securityoptions.jpg" /></a></p>
<p><strong>Step 3: To access the tables in other server</strong></p>
<p>Use the following  hirearchy</p>
<p>PRODSVR.dbname.dbo.tablename</p>
<p>To access Person.Address table from AdventureWorks database</p>
<p><pre class="brush: sql;">

Select * From PRODSVR.AdventureWorks.Person.Address

</pre><br />
<strong>Advantages :</strong><br />
<BR><br />
1. Update Production server with data from development server. (SSIS is alternate way)<br />
<BR><br />
2. Allow users to access production database without multiple logins. (windows authentication or SQL authentication) <br />
<BR><BR><br />
<a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fgchandra.wordpress.com%2f2008%2f02%2f18%2fsql-server-2005-access-tables-entities-across-servers%2f"><img border="0" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fgchandra.wordpress.com%2f2008%2f02%2f18%2fsql-server-2005-access-tables-entities-across-servers%2f&amp;cbgcolor=FFFF66" alt="kick it on DotNetKicks.com" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/77/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/77/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=77&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/02/18/sql-server-2005-access-tables-entities-across-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/linkedservers.jpg" medium="image">
			<media:title type="html">Linked Servers List</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/1-general.jpg" medium="image">
			<media:title type="html">1-general.jpg</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/2-security.jpg" medium="image">
			<media:title type="html">2-security.jpg</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/3-securityoptions.jpg" medium="image">
			<media:title type="html">3-securityoptions.jpg</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fgchandra.wordpress.com%2f2008%2f02%2f18%2fsql-server-2005-access-tables-entities-across-servers%2f&#038;cbgcolor=FFFF66" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server, Clean your Database Records and reset Identity Columns, The Shortest Path</title>
		<link>http://gchandra.wordpress.com/2008/02/18/sql-server-clean-your-database-records-and-reset-identity-columns-the-shortest-path/</link>
		<comments>http://gchandra.wordpress.com/2008/02/18/sql-server-clean-your-database-records-and-reset-identity-columns-the-shortest-path/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 15:23:30 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Delete All]]></category>
		<category><![CDATA[SQLServer 2005]]></category>
		<category><![CDATA[Table Loop]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=76</guid>
		<description><![CDATA[(Copied from Moses&#8217;s Blog for my reference) Well, I had a small issue regarding writing a script to clean a database we have and reset its identity columns in all tables. Although the database wasn&#8217;t huge one (less than 100 tables) I had to trace relations to be able to delete child table&#8217;s records before parent&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=76&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(Copied from <a target="_blank" href="http://www.mosesofegypt.net/post/2007/12/SQL-Server-Clean-your-Database-Records-reset-Identity-Columns.aspx">Moses&#8217;s Blog</a> for my reference)</p>
<p>Well, I had a small issue regarding writing a script to clean a database we have and reset its identity columns in all tables. Although the database wasn&#8217;t huge one (less than 100 tables) I had to trace relations to be able to delete child table&#8217;s records before parent&#8217;s ones because of the foreign key constraints. The solution is disable the foreign keys and delete records with no fear of any errors then enables the constraints again.<br />
Well, I found a solution to disable all constraints without the need to go on each table and disable it manually. and I was happy to know that I can use this solution in deleting all records from all tables. Not only this I was able to use the same solution to reset identity columns in all tables.</p>
<p>The solution was to use this built in stored procedure sp_MSforeachtable. For help about this proc search for it in Books online or use this sp_helptext sp_MSForeachtable.</p>
<p>Now back to my 6 lines, bellow is how I re-zeroed my Database:</p>
<p><pre class="brush: sql;">

1: /*Disable Constraints &amp; Triggers*/
2: exec sp_MSforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
3: exec sp_MSforeachtable 'ALTER TABLE ? DISABLE TRIGGER ALL'
4:
5: /*Perform delete operation on all table for cleanup*/
6: exec sp_MSforeachtable 'DELETE ?'
7:    
8: /*Enable Constraints &amp; Triggers again*/
9: exec sp_MSforeachtable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
10: exec sp_MSforeachtable 'ALTER TABLE ? ENABLE TRIGGER ALL'
11:   
12: /*Reset Identity on tables with identity column*/
13: exec sp_MSforeachtable 'IF OBJECTPROPERTY(OBJECT_ID(''?''), ''TableHasIdentity'') = 1 BEGIN DBCC CHECKIDENT (''?'',RESEED,0) END'

</pre></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/76/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/76/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=76&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/02/18/sql-server-clean-your-database-records-and-reset-identity-columns-the-shortest-path/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
		<item>
		<title>Organize your SQL Server 2005 tables in a better way !!</title>
		<link>http://gchandra.wordpress.com/2008/02/06/organize-your-sql-server-2005-tables-in-a-better-way/</link>
		<comments>http://gchandra.wordpress.com/2008/02/06/organize-your-sql-server-2005-tables-in-a-better-way/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 14:07:49 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Namespace]]></category>
		<category><![CDATA[Organize]]></category>
		<category><![CDATA[Schema]]></category>
		<category><![CDATA[SQLServer 2005]]></category>
		<category><![CDATA[Table]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/?p=74</guid>
		<description><![CDATA[When you create tables in SQLServer (2005) by default its all get created under default schema. (dbo.) If you have too many tables then the table list could be confusing / clumsy. Here enters Schema (see image) To organize your tables into meaningful groups (or namespaces) First create a schema CREATE SCHEMA Person GO Then Alter [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=74&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you create tables in SQLServer (2005) by default its all get created under default schema. (dbo.)</p>
<p>If you have too many tables then the table list could be confusing / clumsy.</p>
<p>Here enters <strong>Schema </strong></p>
<p>(see image)</p>
<p><a href="http://gchandra.files.wordpress.com/2008/02/schema-example.png" title="Schema Example"><img src="http://gchandra.files.wordpress.com/2008/02/schema-example.png?w=700" alt="Schema Example" /></a></p>
<p>To organize your tables into meaningful groups (or namespaces)</p>
<p>First create a schema</p>
<blockquote><p><em>CREATE SCHEMA Person<br />
GO</em></p></blockquote>
<p>Then Alter your existing table</p>
<blockquote><p><em>ALTER SCHEMA Lookup<br />
TRANSFER dbo.Contact<br />
GO<br />
</em></p></blockquote>
<p>So now that you have grouped your tables into different schemas.</p>
<p>How to use them ? The usual way but with schema name added to it.</p>
<blockquote><p><i>SELECT * FROM Person.Contact</i></p></blockquote>
<hr />What is Schema ? (from MSDN)Beginning in SQL Server 2005, each object belongs to a database schema. A database schema is a distinct namespace that is separate from a</p>
<p>database user.  Schemas can be created and altered in a database, and users can be granted access to a schema. A schema can be owned by any</p>
<p>user, and schema ownership is transferable.</p>
<p>In previous versions of SQL Server, database users and schemas were conceptually the same object. Beginning in SQL Server 2005, users and schemas</p>
<p>are separate, and schemas serve as containers of objects.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/74/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/74/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=74&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/02/06/organize-your-sql-server-2005-tables-in-a-better-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>

		<media:content url="http://gchandra.files.wordpress.com/2008/02/schema-example.png" medium="image">
			<media:title type="html">Schema Example</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX &#8211; Export to Excel / Word</title>
		<link>http://gchandra.wordpress.com/2008/01/08/ajax-export-to-excel-word-syswebformspagerequestmanagerparsererrorexception/</link>
		<comments>http://gchandra.wordpress.com/2008/01/08/ajax-export-to-excel-word-syswebformspagerequestmanagerparsererrorexception/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 15:12:23 +0000</pubDate>
		<dc:creator>gchandra</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Web Coding]]></category>
		<category><![CDATA[Export To Excel]]></category>
		<category><![CDATA[Update Panel]]></category>

		<guid isPermaLink="false">http://gchandra.wordpress.com/2008/01/08/ajax-export-to-excel-word-syswebformspagerequestmanagerparsererrorexception/</guid>
		<description><![CDATA[If you are using Update Panel and try to Export gridview contents to EXCEL or Word, your asp.net page will throw nasty error. &#8221;Sys.WebForms.PageRequestManagerParserErrorException&#8221; Its because AJAX &#38; Response.write don&#8217;t go together.  By calling Response.Write() directly you are bypassing the normal rendering mechanism of ASP.NET controls. The bits you write are going straight out to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=73&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using Update Panel and try to Export gridview contents to EXCEL or Word, your asp.net page will throw nasty error. &#8221;Sys.WebForms.PageRequestManagerParserErrorException&#8221;</p>
<blockquote><p><em>Its because AJAX &amp; Response.write don&#8217;t go together.  By calling Response.Write() directly you are bypassing the normal rendering mechanism of ASP.NET controls. The bits you write are going straight out to the client without further processing (well, mostly…). This means that UpdatePanel can’t encode the data in its special format.</em></p></blockquote>
<p>There are couple of ways to solve this problem.</p>
<p>1. Place the Export Button outside of Update Panel.</p>
<p>2. By Pass the Export Button using &lt;Triggers&gt;</p>
<p> &lt;/ContentTemplate&gt;<br />
<strong>        &lt;Triggers&gt;<br />
            &lt;asp:PostBackTrigger ControlID=&#8221;cmdExport&#8221; /&gt;<br />
        &lt;/Triggers&gt;</strong><br />
&lt;/asp:UpdatePanel&gt;<br />
if your Export button is part of UserControl then specify <strong>usercontrolid:buttonid</strong></p>
<p> &lt;/ContentTemplate&gt;<br />
<strong>        &lt;Triggers&gt;<br />
            &lt;asp:PostBackTrigger ControlID=&#8221;uscSelCtl:cmdExport&#8221; /&gt;<br />
        &lt;/Triggers&gt;<br />
</strong>    &lt;/asp:UpdatePanel&gt;</p>
<p><a target="_blank" href="http://pohee.com/general/sys-webforms-pagerequestmanagerparsererrorexception-in-ms-ajax/" title="AJAX - Error">More Reading&#8230;</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gchandra.wordpress.com/73/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gchandra.wordpress.com/73/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gchandra.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gchandra.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gchandra.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gchandra.wordpress.com&amp;blog=142895&amp;post=73&amp;subd=gchandra&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gchandra.wordpress.com/2008/01/08/ajax-export-to-excel-word-syswebformspagerequestmanagerparsererrorexception/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/84ec3cb685099b86db97aa46b1c4e558?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">gchandra</media:title>
		</media:content>
	</item>
	</channel>
</rss>
