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

<channel>
	<title>Don Kitchen &#187; sql server</title>
	<atom:link href="http://www.donkitchen.com/category/programming/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.donkitchen.com</link>
	<description>programming, technology, fatherhood and life</description>
	<lastBuildDate>Wed, 31 Mar 2010 11:56:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>July 2009 Baltimore SQL Server Users Group Meeting</title>
		<link>http://www.donkitchen.com/2009/07/02/july-2009-baltimore-sql-server-users-group-meeting/</link>
		<comments>http://www.donkitchen.com/2009/07/02/july-2009-baltimore-sql-server-users-group-meeting/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 12:13:30 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[sql server]]></category>
		<category><![CDATA[user groups]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=295</guid>
		<description><![CDATA[Passing along the Baltimore SQL Server Users Group July 2009 Meeting Announcement.  I&#8217;m considering attending since we use Reporting Services and SQL Server 2008 here at work.  Here&#8217;s the information in case you may be interested in attending.  Don&#8217;t forget to RSVP via email as noted below. General Meeting Information Date: Monday, July 6, 2009 [...]]]></description>
			<content:encoded><![CDATA[<p>Passing along the Baltimore SQL  			Server Users Group July 2009 Meeting Announcement.  I&#8217;m considering attending since we use Reporting Services and SQL Server 2008 here at work.  Here&#8217;s the information in case you may be interested in attending.  Don&#8217;t forget to RSVP via email as noted below.</p>
<p><strong>General Meeting Information</strong></p>
<ul>
<li>Date: Monday, July 6, 2009</li>
<li>Time: 7:00 PM</li>
<li>Location:  <a href="http://rs6.net/tn.jsp?et=1102627086518&amp;s=281&amp;e=0018QRC8Rze162oD8E1bJvEdaCXHGXsrncLaPGCducpNGu3M0NKd1sU71QXDKE-KR9sUugQiUNquKPd_XP7OoAnEpwYxuGMZp4j5XHq4i3o99Wy2WvcRkoLXA==" target="_blank"> Merkle</a> located at 7001  				Columbia Gateway Drive, Columbia, MD 21046</li>
<li>Directions: Visit this 				<a href="http://rs6.net/tn.jsp?et=1102627086518&amp;s=281&amp;e=0018QRC8Rze163JSSoLGhaPihsPZVrtNc7h_vZ2k3bWEPQp6TzenJdeUPnKRLb_Vp6lLyRzaPCZEIWHpHe8PBUjOaOWYTew4XrOuefk33wz9vH24i9Q-EOBTebVtBXXZIidviYBRyeeJ950pJ9Lj_G-J8E92WdtvNzBu74AlUicjyoU6UR-F-wF5l0nr2zw4ptmY4IYvWzztbNoKX6yfWYdbvvQvd7nRWxeCGklpxQHPjBEtYt2ZmoNSg==" target="_blank"> MapQuest link for directions</a></li>
<li>RSVP: Please email  				Ray Barley (<a href="mailto:raymondbarley@gmail.com" target="_blank">raymondbarley@gmail.com</a>)  				if you are attending so we can plan appropriately</li>
<li>Web site: 				<a href="http://rs6.net/tn.jsp?et=1102627086518&amp;s=281&amp;e=0018QRC8Rze162Muiyf0Dun2p7hQPPggjyShYd56TwI_OL2bilXzmoBLnpO2epbwQOio1ETFJXpyn0_8XUteSxKxoqGeDUcxmXN3i1iiQ_Z5pI=" target="_blank">http://www.bssug.org/</a></li>
</ul>
<p><strong>Presentation Information</strong></p>
<ul>
<li>Title: SQL Server Reporting Services Report Builder 2.0</li>
<li>Speaker: Craig Guyer of Microsoft</li>
<li>Abstract: Authoring reports for SQL Server Reporting Services is even easier than before using the new stand-alone application Report Builder 2.0 (RB2). In this session we will walk through creating some basic reports, show how RB2 fits in with other report authoring applications, and discuss other new report authoring features in SQL Server 2008.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2009/07/02/july-2009-baltimore-sql-server-users-group-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Reporting Services Report Viewer Control printing errors with IE8 and Vista</title>
		<link>http://www.donkitchen.com/2009/05/29/ms-reporting-services-report-viewer-control-printing-errors-with-ie8-and-vista/</link>
		<comments>http://www.donkitchen.com/2009/05/29/ms-reporting-services-report-viewer-control-printing-errors-with-ie8-and-vista/#comments</comments>
		<pubDate>Fri, 29 May 2009 18:37:30 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[report viewer]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=258</guid>
		<description><![CDATA[We use SQL Server 2008&#8242;s Reporting Services for all of our site&#8217;s reports here at work.  Along with that we also use Microsoft&#8217;s Report Viewer control which gives you the ability to serve up the RDL files that are stored in SQL Server.  One of the features that the control offers is the ability to [...]]]></description>
			<content:encoded><![CDATA[<p>We use SQL Server 2008&#8242;s Reporting Services for all of our site&#8217;s reports here at work.  Along with that we also use Microsoft&#8217;s Report Viewer control which gives you the ability to serve up the RDL files that are stored in SQL Server.  One of the features that the control offers is the ability to print your reports.  To accomplsih this it uses Active-X, which we all know can be funky and a hassle to troubleshoot when it&#8217;s not working properly.</p>
<p>When we released our new system back in February we got most of our users printing with minimal support.  We encouraged all of them to upgrade to IE 7 (many were still using IE6) which did fine with the control.  Shortly after our launch Microsoft started rolling out IE8 and our users slowly started upgrading.</p>
<p>That&#8217;s when we found many of them having issues printing.  As you&#8217;ll see in this screen shot, they would simply get a generic error when clicking the print button, even after successfully installing the print control.  As a work around we were having folks export to PDF and then print from there.  Obviously this wasn&#8217;t an ideal solution and we started troubleshooting to figure out what the problem was.</p>
<p style="text-align: center;"><img class="size-full wp-image-260 aligncenter" title="rs-report-error" src="http://www.donkitchen.com/wp-content/uploads/2009/05/rs-report-error.png" alt="rs-report-error" width="585" height="345" /></p>
<p>After doing some testing on our end on virtual machines we were able to reproduce the problem and narrowed it down to Windows Vista running IE8.  Since we weren&#8217;t able to resolve the problem on our virtual machine configuration with anything we tried we eventually opened a support ticket with Microsoft.</p>
<p>After some support calls with Microsoft they informed us that in order for this to work properly you have to add the site that&#8217;s using the report viewer control as a trusted site if you&#8217;re using Internet Explorer 8 and Windows Vista. We thought this was odd because we definitely had tried this on our virtual machine setup and didn&#8217;t have any luck.</p>
<p>What we found out on our own later was that as that this solution does not seem to help if you originally started out with a Beta or RC (Release Candidate) copy of IE8 that had been upgraded to the final release.  That was the scenario we had on our virtual machine that we were using to test IE8 and even the trusted site fix didn&#8217;t help in that scenario.</p>
<p>So, if you are having this problem and you&#8217;re using a clean install of IE8 or an upgrade to the final release of IE8 from a previous version adding the trusted site to fix this problem is easy.</p>
<p>Just open up IE and click <strong>Tools &gt; Internet Options</strong> and follow the steps shown here in the screen shot to add your site as a trusted site:</p>
<p style="text-align: center;"><img class="size-full wp-image-269 aligncenter" title="trusted-sites" src="http://www.donkitchen.com/wp-content/uploads/2009/05/trusted-sites.png" alt="trusted-sites" width="451" height="579" /></p>
<p>Restart your browser and you&#8217;re in business.</p>
<p>Now if they could only get away from Active-X so our users that decide not to use IE can print.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2009/05/29/ms-reporting-services-report-viewer-control-printing-errors-with-ie8-and-vista/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 SP1 Final Released?</title>
		<link>http://www.donkitchen.com/2009/04/01/sql-server-2008-sp1-final-released/</link>
		<comments>http://www.donkitchen.com/2009/04/01/sql-server-2008-sp1-final-released/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 14:16:39 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[service pack]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=232</guid>
		<description><![CDATA[We&#8217;ve had an open support ticket with Microsoft due to some bugs we&#8217;re seeing with SQL Server Reporting Services 2008.  After Microsoft saying that the Update Pack 4 for SQL Server 2008 (released back in mid-March) would fix our problems, they sent us an email this week letting us know that the final version of [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal">We&#8217;ve had an open support ticket with Microsoft due to some bugs we&#8217;re seeing with SQL Server Reporting Services 2008.  After Microsoft saying that the <a href="http://support.microsoft.com/kb/963036/" target="_blank">Update Pack 4 for SQL Server 2008</a> (released back in mid-March) would fix our problems, they sent us an email this week letting us know that the final version of Service Pack 1 for SQL Server 2008 would be released yesterday, March 31, 2009.</p>
<p class="MsoNormal">
<p class="MsoNormal">Unfortunately so far the links they&#8217;ve provided don&#8217;t go anywhere.  I&#8217;ll be checking these links through the day and the rest of the week and will post any further updates if I actually do find the &#8220;real&#8221; links.</p>
<p class="MsoNormal">
<p class="MsoNormal">&#8212;</p>
<p class="MsoNormal">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: #1f497d;">According to our internal document, below is the information about SP1:</span></p>
<p class="MsoNormal" style="margin: 11.25pt 0in 3.75pt;"><strong><span style="font-size: 10pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">Microsoft SQL Server 2008 Service Pack 1 </span></strong></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">Release date: <span style="background: yellow none repeat scroll 0% 0%;">March 31, 2009</span> </span></p>
<p class="MsoNormal" style="margin: 7.5pt 0in 3.75pt;"><strong><span style="font-size: 9pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">How to obtain </span></strong></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">To obtain SQL Server 2008 SP1, visit the following Microsoft Web site: </span></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19">http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19 </a></span></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">To obtain Microsoft SQL Server 2008 Feature Pack, April 2009, visit the following Microsoft Web site: </span></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4">http://www.microsoft.com/downloads/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4 </a></span></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">To obtain Microsoft SQL Server 2008 Express Edition SP1, visit the following Microsoft Web site: </span></p>
<p class="MsoNormal"><span style="font-size: 8.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff">http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff </a></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: #1f497d;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: #1f497d;">It should be released on March 31, 2009. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2009/04/01/sql-server-2008-sp1-final-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cumulative update package 3 for SQL Server 2008</title>
		<link>http://www.donkitchen.com/2009/01/30/cumulative-update-package-3-for-sql-server-2008/</link>
		<comments>http://www.donkitchen.com/2009/01/30/cumulative-update-package-3-for-sql-server-2008/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 14:15:49 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=197</guid>
		<description><![CDATA[Since we have been developing with SQL Server 2008 here at work on my latest project I have been keeping an eye on its available updates and fixes (at least until they come out with Service Pack 1). Cumulative Update Package 3 has been made available now. Per Microsoft: A supported cumulative update package is [...]]]></description>
			<content:encoded><![CDATA[<p>Since we have been developing with SQL Server 2008 here at work on my latest project I have been keeping an eye on its available updates and fixes (at least until they come out with Service Pack 1). Cumulative Update Package 3 has been made available now.</p>
<blockquote><p>Per Microsoft:</p>
<p>A supported cumulative update package is now available from Microsoft. <span style="color: #ff0000;">However, it is intended to correct only the problems that are described in this article. Apply it only to systems that are experiencing these specific problems.</span> This cumulative update package may receive additional testing. Therefore, if you are not severely affected by any of these problems, we recommend that you wait for the next SQL Server 2008 service pack that contains the hotfixes in this cumulative update package.</p></blockquote>
<p>After scanning down the list it seems that we could benefit from at least two or three fixes listed:</p>
<ul>
<li>FIX: You may encounter a deadlock scenario when you use table variables in SQL Server 2005 or in SQL Server 2008</li>
<li>FIX: When you use a ReportViewer control to view a SQL Server 2008 Reporting Services report that contains two pages, the formatting for the second page is lost</li>
<li>FIX: When you print a report by using the SQL Server 2008 Reporting Services Client-Side Printing functionality, the spacing is too small or too large</li>
</ul>
<p>I would probably take Microsoft&#8217;s advice and hold off installing this update if you&#8217;re not specifically seeing any of the issues mentioned in the fix list.</p>
<p>You can download Cumulative update package 3 for SQL Server 2008 <a href="http://support.microsoft.com/kb/960484" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2009/01/30/cumulative-update-package-3-for-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server (2008) Performance Tuning Resources</title>
		<link>http://www.donkitchen.com/2008/12/23/sql-server-2008-performance-tuning-resources/</link>
		<comments>http://www.donkitchen.com/2008/12/23/sql-server-2008-performance-tuning-resources/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 15:18:37 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[indexes]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[performance tuning]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=87</guid>
		<description><![CDATA[Here is a (running) list of some SQL Server Performance Tuning resources that I&#8217;ve compiled over the past week or so.  These have been helpful in educating me on the black art of database performance tuning.  I realize the title states SQL Server 2008, but really most of these probably apply for SQL Server 2005 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a (running) list of some SQL Server Performance Tuning resources that I&#8217;ve compiled over the past week or so.  These have been helpful in educating me on the black art of database performance tuning.  I realize the title states SQL Server 2008, but really most of these probably apply for SQL Server 2005 and 2008.  I, particularly am working with 2008, which is why I&#8217;ve put them into that category.</p>
<h3>General</h3>
<ul>
<li> <a href="http://www.sqlservercentral.com/Scripts/Index+Management/" target="_blank">SQL Server Central &#8211; Scripts with tag Index Management</a></li>
<li><a href="http://searchsqlserver.techtarget.com/generic/0,295582,sid87_gci1265214,00.html" target="_blank">SQL Server Performance Tuning Tips</a></li>
<li><a href="http://searchsqlserver.techtarget.com/generic/0,295582,sid87_gci1265214,00.html" target="_blank">SQL Server queries with DMVs for examining bottlenecks</a></li>
<li><a href="http://www.sql-server-performance.com/tips/optimizing_indexes_general_p1.aspx" target="_blank">General Tips on Optimizing SQL Server Indexes</a></li>
</ul>
<h3>Missing Indexes</h3>
<ul>
<li><a href="http://www.sqlservercentral.com/scripts/Index+Management/63937/" target="_blank">The Ultimate Missing Index Finder</a></li>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1634" target="_blank">Using SQL Server DMVs to Identify Missing Indexes</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms345405.aspx" target="_blank">Using Missing Index Information to Write CREATE INDEX Statements</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms345485.aspx" target="_blank">Limitations of the Missing Indexes Feature</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms345421.aspx" target="_blank">sys.dm_db_missing_index_group_stats &#8211; Returns summary information about groups of missing indexes, excluding spatial indexes</a></li>
<li><a href="http://blogs.msdn.com/bartd/archive/2007/07/19/are-you-using-sql-s-missing-index-dmvs.aspx" target="_blank">Are you using SQL&#8217;s Missing Index DMVs?</a></li>
</ul>
<h3>Duplicate Indexes</h3>
<ul>
<li><a href="http://www.sqlservercentral.com/scripts/Index+Management/63935/" target="_blank">The Ultimate Duplicate Index Finder</a></li>
<li><a href="http://www.donkitchen.com/wp-admin/post.php?action=edit&amp;post=87" target="_blank">Avoid Index Redundancy in SQL Server Tables</a></li>
</ul>
<h3>Unused Indexes/Index Usage</h3>
<ul>
<li><a href="http://www.sqlservercentral.com/scripts/Index+Management/63934/" target="_blank">The Ultimate Index Usage Reporter</a></li>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1545" target="_blank">Deeper insight into unused indexes for SQL Server</a></li>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1634" target="_blank">Using SQL Server DMVs to Identify Missing Indexes</a></li>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1642" target="_blank">Finding a better candidate for your clustered indexes</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms190806.aspx" target="_blank">Index with Included Columns</a></li>
<li><a href="http://www.sqlservercentral.com/scripts/Index+Management/63931/" target="_blank">The Ultimate Index Lister (Pivoted)</a></li>
<li><a href="http://blog.sqlauthority.com/2008/02/11/sql-server-2005-find-unused-indexes-of-current-database/" target="_blank">Find Unused Indexes of Current Database</a></li>
</ul>
<h3>Re-indexing</h3>
<ul>
<li><a href="http://blog.sqlauthority.com/2007/01/31/sql-server-reindexing-database-tables-and-update-statistics-on-tables/" target="_blank">ReIndexing Database Tables and Update Statistics on Tables</a></li>
</ul>
<h3>Inefficient Queries</h3>
<ul>
<li><a href="http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/" target="_blank">Find Longest Running Queries</a></li>
</ul>
<h3>Performance Counters</h3>
<ul>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1265" target="_blank">SQL Server Database Specific Performance Counters</a></li>
<li><a href="http://blog.sqlauthority.com/2008/02/13/sql-server-introduction-to-three-important-performance-counters/" target="_blank">Introduction to Three Important Performance Counters</a></li>
</ul>
<h3>Performance Data Collector</h3>
<ul>
<li><a href="http://www.simple-talk.com/sql/learn-sql-server/sql-server-2008-performance-data-collector/" target="_blank">SQL Server 2008: Performance Data Collector</a></li>
</ul>
<h3>Database Engine Tuning Advisor</h3>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/ms166575.aspx" target="_blank">Database Engine Tuning Advisor Tutorial</a></li>
</ul>
<h3>Updating Statistics</h3>
<ul>
<li><a href="http://www.mssqltips.com/tip.asp?tip=1606" target="_blank">Execute UPDATE STATISTICS for all SQL Server Databases</a></li>
</ul>
<h3>Deadlocks</h3>
<ul>
<li><a href="http://www.simple-talk.com/sql/learn-sql-server/how-to-track-down-deadlocks-using-sql-server-2005-profiler/" target="_blank">How to Track Down Deadlocks Using SQL Server Profiler</a></li>
<li><a href="http://stackoverflow.com/questions/20047/diagnosing-deadlocks-in-sql-server-2005" target="_blank">Diagnosing Deadlocks in SQL Server 2005</a></li>
<li><a href="http://www.codinghorror.com/blog/archives/001166.html" target="_blank">Deadlocked!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2008/12/23/sql-server-2008-performance-tuning-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Reporting Services ReportViewer control error fix</title>
		<link>http://www.donkitchen.com/2008/12/08/javascript-reporting-services-reportviewer-control-error-fix/</link>
		<comments>http://www.donkitchen.com/2008/12/08/javascript-reporting-services-reportviewer-control-error-fix/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 03:04:07 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[report viewer]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=68</guid>
		<description><![CDATA[I have been going back and forth banging my head against a wall trying to fix a JavaScript error that was happening on my Reporting Services ReportViewer control when the View Report button is clicked.  The error was a JavaScript error and seemed to be related to using something AJAX related on the same page [...]]]></description>
			<content:encoded><![CDATA[<p>I have been going back and forth banging my head against a wall trying to fix a JavaScript error that was happening on my Reporting Services ReportViewer control when the View Report button is clicked.  The error was a JavaScript error and seemed to be related to using something AJAX related on the same page as the ReportViewer control, but it took me a while to figure out what it was and fix it.  All of the problems I saw on the web related to using either an AJAX update panel or one of the extenders in the <a href="http://www.codeplex.com/AjaxControlToolkit" target="_blank">AJAX Control Toolkit</a>.  Unfortunately for me I wasn&#8217;t using either one of them so trying to figure this one out was tricky.</p>
<p>The specific JavaScript error was:</p>
<p><span style="color: #ff0000;">Microsoft JScript runtime error: ‘this._postBackSettings.async’ is null or not an object</span></p>
<p>My page was setup where I had a master page with an AJAX menu on it (Radmenu to be specific).  In order to use the Radmenu you need a ScriptManager object.  Other than the menu, I didn&#8217;t have any AJAX related controls on either the master page or the content page.</p>
<p>What I eventually figured out was that my report pages (which use a base class) needed to disable <a href="http://asp.net/ajax/documentation/live/mref/P_System_Web_UI_ScriptManager_EnablePartialRendering.aspx" target="_blank">partial rendering</a>.  To do this, you must do it in your page&#8217;s init event.  If you do it after the init you&#8217;ll get an <a href="http://msdn2.microsoft.com/en-us/2asft85a" target="_blank">invalid operation exception</a>.  Here&#8217;s the code in the base class (you can put this in your code behind if you&#8217;re not using a base class):</p>

<div class="wp_syntax"><div class="code"><pre class="vbnet" style="font-family:monospace;">    <span style="color: #FF8000;">Private</span> <span style="color: #0600FF;">Sub</span> Page_Init1<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> sender <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Object</span>, <span style="color: #FF8000;">ByVal</span> e <span style="color: #FF8000;">As</span> System.<span style="color: #0000FF;">EventArgs</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Handles</span> <span style="color: #FF8000;">Me</span>.<span style="color: #0000FF;">Init</span>
&nbsp;
        <span style="color: #008080; font-style: italic;">' Make sure this page has a master page</span>
        <span style="color: #0600FF;">If</span> <span style="color: #804040;">Not</span> IsNothing<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">Me</span>.<span style="color: #0000FF;">Master</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span>
&nbsp;
            <span style="color: #0600FF;">Dim</span> masterScriptManager <span style="color: #FF8000;">As</span> ScriptManager
            masterScriptManager <span style="color: #008000;">=</span> <span style="color: #0600FF;">CType</span><span style="color: #000000;">&#40;</span>Master.<span style="color: #0000FF;">FindControl</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;MasterScriptManager&quot;</span><span style="color: #000000;">&#41;</span>, ScriptManager<span style="color: #000000;">&#41;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">' Make sure our master page has the script manager we're looking for</span>
            <span style="color: #0600FF;">If</span> <span style="color: #804040;">Not</span> IsNothing<span style="color: #000000;">&#40;</span>masterScriptManager<span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span>
&nbsp;
                <span style="color: #008080; font-style: italic;">' Turn off partial page postbacks for this page</span>
                masterScriptManager.<span style="color: #0000FF;">EnablePartialRendering</span> <span style="color: #008000;">=</span> <span style="color: #0600FF;">False</span>
            <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span>
&nbsp;
        <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span>
&nbsp;
    <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span></pre></div></div>

<p>Just in case others stumble across this and are trying to solve their problem, here are some of the links I landed on when trying to solve the problem:</p>
<ul>
<li><a href="http://forums.asp.net/t/1326775.aspx" target="_blank">ASP.NET Forum Post 1</a></li>
<li><a href="http://forums.asp.net/p/1345083/2732044.aspx" target="_blank">ASP.NET Forum Post 2</a></li>
<li><a href="http://www.kerrywong.com/2008/01/21/jscript-exception-in-ajax-control-toolkit/" target="_blank">Blog Post 1</a></li>
<li><a href="http://stackoverflow.com/questions/57586/aspnet-updatepanel-thispostbacksettingsasync-is-null-or-not-an-object" target="_blank">StackOverflow question</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2008/12/08/javascript-reporting-services-reportviewer-control-error-fix/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 RTM released!</title>
		<link>http://www.donkitchen.com/2008/08/08/sql-server-2008-rtm-released/</link>
		<comments>http://www.donkitchen.com/2008/08/08/sql-server-2008-rtm-released/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 13:17:43 +0000</pubDate>
		<dc:creator>Don</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.donkitchen.com/?p=60</guid>
		<description><![CDATA[Not that I think I&#8217;m breaking any news here, but SQL Server 2008 has been officially RTM (released to manufacturing).  So far I&#8217;ve been very pleased working with SQL Server 2008 and am excited to get my RC0 version updated to an official release. One thing I stumbled across was a warning users to wait [...]]]></description>
			<content:encoded><![CDATA[<p>Not that I think I&#8217;m breaking any news here, but SQL Server 2008 has been officially RTM (released to manufacturing).  So far I&#8217;ve been very pleased working with SQL Server 2008 and am excited to get my RC0 version updated to an official release.</p>
<p>One thing I stumbled across was a warning users to wait for Visual Studio.NET 2008 SP1 to be released BEFORE upgrading to the RTM version of SQL Server 2008.  <a href="http://coolthingoftheday.blogspot.com/2008/08/sql-server-2008-rtm-requiresinstalls.html" target="_blank">This blog post</a> cites compatibility problems if you don&#8217;t have SP1 installed before working with the RTM version of SQL. What I&#8217;m not sure about is if this applies to people using beta versions of SQL Server 2008 (RC0), Visual Studio 2008 SP1 and .NET Framework v3.5 SP1 like I am.  This uncertainty made me think that it may be best to wait for the final release of SP1 for VS.NET and the 3.5 Framework.</p>
<p>I then came across a nugget <a href="http://silvaware.blogspot.com/2008/07/sql-server-2008-on-horizon.html" target="_blank">here</a> that said:</p>
<blockquote></blockquote>
<blockquote><p><em>well&#8230;.there&#8217;s a&#8230;ahem&#8230;NDA about this topic&#8230;but SQL Server 2008 RTM 	ships with a RTM version of the .NET Framework 3.5 SP1 bits&#8230;i&#8217;ll let you 	connect the dots. </em></p></blockquote>
<blockquote></blockquote>
<p>I guess it&#8217;s time to dig around in the RTM version of SQL 2008 to see if it&#8217;s there.  I also wonder if it&#8217;s safe to install over top of my RC0 version of if I should remove RC0 before installing the RTM version.  I guess I&#8217;ll have to Google more to see what&#8217;s required.  I&#8217;ll provide updates as I find answers and get upgraded.</p>
<h3><strong> **** Update: </strong></h3>
<p>According to the <a href="http://download.microsoft.com/download/4/9/e/49eeb41a-a769-4520-80d6-671b8ae2bd06/SQLServer2008ReleaseNotes.htm" target="_blank">release notes</a> the beta SP1 isn&#8217;t an acceptable solution.  And since they&#8217;re saying SP1 will be officially released next week anyways, it makes sense just to wait for that I think.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.donkitchen.com/2008/08/08/sql-server-2008-rtm-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
