<?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>A Developer&#039;s Blog &#187; SQL Server 2008</title>
	<atom:link href="http://blog.hoegaerden.be/tag/sql-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:15:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SSMS: Saving Changes Not Permitted</title>
		<link>http://blog.hoegaerden.be/2011/09/17/ssms-saving-changes-not-permitted/</link>
		<comments>http://blog.hoegaerden.be/2011/09/17/ssms-saving-changes-not-permitted/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 11:24:38 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2011/09/17/ssms-saving-changes-not-permitted/</guid>
		<description><![CDATA[Here’s another silly one but it catches me every time.  So I decided to write a quick post about it, to never forget about it again! Ever seen this warning message while using the Management Studio? All I did was open the AdventureWorks.Production.Product table in the designer, moved the ListPrice column above the StandardCost column [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s another silly one but it catches me every time.  So I decided to write a quick post about it, to never forget about it again!</p>
<p>Ever seen this warning message while using the Management Studio?</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image424.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Warning: Saving changes is not permitted" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb101.png" border="0" alt="Warning: Saving changes is not permitted" width="700" height="442" /></a></p>
<p>All I did was open the AdventureWorks.Production.Product table in the designer, moved the ListPrice column above the StandardCost column and hit CTRL+S to save changes.  Instead of changing the table, it tells me:</p>
<blockquote><p>Saving changes is not permitted.  The changes you have made require the following tabled to be dropped and re-created.  You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.</p></blockquote>
<p>What a message huh?!  It needs to re-create the table, so what, go ahead!  Hang on, even though this is just a Warning, there’s no Continue button!  Ow come on, are you kidding?</p>
<p>Like any good developer that wants to get some work done, you stop reading such a long message after the second line and try to find a solution for your problem.  Too bad, you should have just continued reading the warning message because the solution is actually hidden in there!</p>
<p>If you open up the <em>Options</em> screen from the <em>Tools</em> menu in SSMS, and then drill down to the <em>Designers</em> &gt; <em>Table and Database Designers </em>node, you’ll see an option called <strong>Prevent saving changes that require table re-creation</strong>.  And by default, that option is checked.  Remove the check from that box and you’ll be able to use the table designer as it was intended.</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image425.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="The &quot;Prevent saving changes that require table re-creation&quot; setting" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb102.png" border="0" alt="The &quot;Prevent saving changes that require table re-creation&quot; setting" width="700" height="469" /></a></p>
<p>So, here’s your ADSOTD (Annoying Default Setting Of The Day)!</p>
<p><strong>Small note:</strong> be careful when you want to use this feature on a large table.  The script that gets generated in the background to make the changes needs to copy all records from the old table into the new one and that will obviously require some time!</p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2011%2F09%2F17%2Fssms-saving-changes-not-permitted%2F&amp;title=SSMS%3A%20Saving%20Changes%20Not%20Permitted" id="wpa2a_2"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2011/09/17/ssms-saving-changes-not-permitted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 SP1 CU7</title>
		<link>http://blog.hoegaerden.be/2010/04/14/sql-server-2008-sp1-cu7/</link>
		<comments>http://blog.hoegaerden.be/2010/04/14/sql-server-2008-sp1-cu7/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 16:00:37 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[Cumulative Update]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/04/14/sql-server-2008-sp1-cu7/</guid>
		<description><![CDATA[I usually don&#8217;t post about a Cumulative Update being released but this time I went over the list of fixes and noted some as being interesting to keep in mind.&#160; So this post is more a &#34;reminder to self&#34; note than anything else. Since a couple of weeks, CU7 for SQL Server 2008 SP1 is [...]]]></description>
			<content:encoded><![CDATA[<p>I usually don&#8217;t post about a Cumulative Update being released but this time I went over the list of fixes and noted some as being interesting to keep in mind.&#160; So this post is more a &quot;reminder to self&quot; note than anything else.</p>
<p>Since a couple of weeks, CU7 for SQL Server 2008 SP1 is available for request on <a title="Cumulative update package 7 for SQL Server 2008 Service Pack 1" href="http://support.microsoft.com/default.aspx/kb/979065/en-us?p=1" target="_blank">this Microsoft Support page</a>.</p>
<p>Here&#8217;s the list of fixes that caught my attention:</p>
<p><a href="http://support.microsoft.com/kb/978839/">978839</a> (<a href="http://support.microsoft.com/kb/978839/">http://support.microsoft.com/kb/978839/</a> )     <br />FIX: A backup operation on a SQL Server 2008 database fails if you enable change tracking on this database</p>
<p><a href="http://support.microsoft.com/kb/979777/">979777</a> (<a href="http://support.microsoft.com/kb/979777/">http://support.microsoft.com/kb/979777/</a> )     <br />FIX: You experience some problems when you perform a grouping members operation on an Excel pivot table whose data source is an SSAS 2005 cube</p>
<p><a href="http://support.microsoft.com/kb/976412/">976412</a> (<a href="http://support.microsoft.com/kb/976412/">http://support.microsoft.com/kb/976412/</a> )     <br />FIX: An MDX query resets to a blank query when you click the Data tab in Business Intelligence Development Studio 2005 Report Designer</p>
<p><a href="http://support.microsoft.com/kb/978930/">978930</a> (<a href="http://support.microsoft.com/kb/978930/">http://support.microsoft.com/kb/978930/</a> )     <br />A parameter value is replaced by its default value when the parameter is hidden and in a snapshot report in SQL Server 2008 Reporting Services</p>
<p><a href="http://support.microsoft.com/kb/979379/">979379</a> (<a href="http://support.microsoft.com/kb/979379/">http://support.microsoft.com/kb/979379/</a> )     <br />FIX: Charts that are in a tablix of an SSRS 2008 report display incorrect data</p>
<p><a href="http://support.microsoft.com/kb/979496/">979496</a> (<a href="http://support.microsoft.com/kb/979496/">http://support.microsoft.com/kb/979496/</a> )     <br />FIX: Log entries are missing for the OnPreExecute event and the OnPostExecute event in SQL Server 2008 Integration Services</p>
<p><a href="http://support.microsoft.com/kb/980925/">980925</a> (<a href="http://support.microsoft.com/kb/980925/">http://support.microsoft.com/kb/980925/</a> )     <br />The result of a MDX query to query a calculated member on a attribute hierarchy lose the formatting you define on the calculated member in SQL Server 2008 Analysis Services</p>
<p><a href="http://support.microsoft.com/kb/980949/">980949</a> (<a href="http://support.microsoft.com/kb/980949/">http://support.microsoft.com/kb/980949/</a> )     <br />FIX: Header rows of a tablix do not always appear at the top of pages in an SSRS 2008 report</p>
<p>That’s it, have fun!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F04%2F14%2Fsql-server-2008-sp1-cu7%2F&amp;title=SQL%20Server%202008%20SP1%20CU7" id="wpa2a_4"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/04/14/sql-server-2008-sp1-cu7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSMS: Color The Status Bar</title>
		<link>http://blog.hoegaerden.be/2010/03/23/ssms-color-the-status-bar/</link>
		<comments>http://blog.hoegaerden.be/2010/03/23/ssms-color-the-status-bar/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 21:35:15 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/03/23/ssms-color-the-status-bar/</guid>
		<description><![CDATA[One is never too old to learn, right?&#160; Here’s a Management Studio feature which has been introduced in SQL Server 2008.&#160; And I’ve discovered it about a month ago.&#160; Since then, I use it every day! What am I talking about?&#160; Well, the Management Studio allows you to link a color to a connection.&#160; Each [...]]]></description>
			<content:encoded><![CDATA[<p>One is never too old to learn, right?&#160; Here’s a Management Studio feature which has been introduced in SQL Server 2008.&#160; And I’ve discovered it about a month ago.&#160; Since then, I use it every day!</p>
<p>What am I talking about?&#160; Well, the Management Studio allows you to link a color to a connection.&#160; Each time when you open a window, the color of the status bar will change to the one linked to the connection to which your window is connected.&#160; Still with me?&#160; Alright, I’ll get the drawing board out.</p>
<p>To link a color to a connection, open up the Connect dropdown in the Object Explorer and choose Database Engine.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Object Explorer: Connect to Database Engine" border="0" alt="Object Explorer: Connect to Database Engine" src="http://blog.hoegaerden.be/wp-content/uploads/image200.png" width="213" height="227" /></p>
<p>That opens up the following familiar screen:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Connect to Server window" border="0" alt="Connect to Server window" src="http://blog.hoegaerden.be/wp-content/uploads/image201.png" width="426" height="321" /></p>
<p>Do you see the Options button indicated with the red arrow?&#160; Click it to open up additional options that you can set on your connection.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Connection Properties: Use custom color" border="0" alt="Connection Properties: Use custom color" src="http://blog.hoegaerden.be/wp-content/uploads/image202.png" width="426" height="500" /></p>
<p>To link a color to the connection specified in the Login page, activate the <em>Use custom color</em> checkbox and select a color.</p>
<p>Now click the Connect button and open up a new query window.&#160; My favorite way of doing that is to open up the Databases tree node in the Object Explorer, select the database in which I’m interested, and hit CTRL+N.</p>
<p>With the new window open, did you notice the status bar?</p>
<p>Here you can see the status bars from two different query windows connected to two different instances on the same machine.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Purple status bar connected to SQL Server 2008 R2" border="0" alt="Purple status bar connected to SQL Server 2008 R2" src="http://blog.hoegaerden.be/wp-content/uploads/image203.png" width="669" height="27" /></p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Green status bar connected to SQL Server 2008" border="0" alt="Green status bar connected to SQL Server 2008" src="http://blog.hoegaerden.be/wp-content/uploads/image204.png" width="679" height="37" /></p>
<p>The way I use these colors is as follows:</p>
<ul>
<li>Green for the servers in the Development environment </li>
<li>Orange for the servers in the Acceptance environment </li>
<li>Red for the servers in the Production environment </li>
</ul>
<p>This gives you an extra safeguard to ensure that you’re executing that TRUNCATE TABLE statement on the right server.</p>
<p>However, as usual there are some things to take into consideration.</p>
<h2>Things To Keep In Mind</h2>
<h3>localhost is not the same as &lt;YOUR_MACHINE_NAME&gt;</h3>
<p>Be careful when you’re connecting to SQL Server instances on the local machine.&#160; As the title above indicates: “localhost” and “BigBlue” are not the same (assuming that your PC is called BigBlue).&#160; If you want to avoid trouble, set up the same color for both connections from the beginning.</p>
<h3>Registered Servers</h3>
<p>If you’ve got a habit of using the <a title="BOL 2008: Using Registered Servers to Manage Servers" href="http://msdn.microsoft.com/en-us/library/ms173574.aspx" target="_blank">Registered Servers</a> window, it’s important to know that the color specified here is completely separated from the color specified<strong> on the same connection</strong> through the <em>Connect to Server </em>window.</p>
<p>In fact, I believe all connection settings are set up separately when using this tool.</p>
<h3>Change Connection On Open Window</h3>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Change Connection button" border="0" alt="Change Connection button" align="right" src="http://blog.hoegaerden.be/wp-content/uploads/image205.png" width="37" height="34" />Be careful when you use the<em> Change Connection</em> button on an open window: it messes up the coloring.&#160; More precisely, it will keep the color of the previous connection.</p>
<p>There’s <a title="SSMS Connection Colouring Not Implemented Sensibly" href="https://connect.microsoft.com/SQLServer/feedback/details/533667/ssms-connection-colouring-not-implemented-sensibly?wa=wsignin1.0" target="_blank">a bug filed on Microsoft Connect related to this</a>, current status is Won’t Fix.&#160; Which seems a bit weird: I noticed different behavior on SQL Server 2008 R2.&#160; When changing my connection from SQL Server 2008 to R2, it would update the color to the one linked to R2.&#160; In the other direction, disconnecting from R2 and connecting to SQL 2008, it would not change the color.</p>
<p><strong>Update:</strong> I’ve found a couple additional bug reports on Connect related to this feature. If you’d like to see some consistent coloring behavior (and avoid the risk of executing a TRUNCATE TABLE on the wrong server), please take a moment to vote Yes at the following pages.</p>
<p><a title="Connect: Update status bar colour when changing connections" href="https://connect.microsoft.com/SQLServer/feedback/details/361832/update-status-bar-colour-when-changing-connections" target="_blank">Connect: Update status bar colour when changing connections</a></p>
<p><a title="Connect: [SSMS] Make color coding of query windows work all the time" href="https://connect.microsoft.com/SQLServer/feedback/details/504418/ssms-make-color-coding-of-query-windows-work-all-the-time" target="_blank">Connect: [SSMS] Make color coding of query windows work all the time</a></p>
<h2>Conclusion</h2>
<p>Currently, to get consistent coloring all the time, you need to set up the colour three times for each connection: once in the <em>Connect to Server</em> window, secondly in the <em>Connect to Database Engine </em>window (this is the window that you get when clicking the Change Connection button), and thirdly in the <em>Registered Servers </em>pane (if you’re using this pane).</p>
<p>That’s it for now, have fun coloring those status bars!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F03%2F23%2Fssms-color-the-status-bar%2F&amp;title=SSMS%3A%20Color%20The%20Status%20Bar" id="wpa2a_6"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/03/23/ssms-color-the-status-bar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drawing In SQL Server 2008</title>
		<link>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/</link>
		<comments>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:18:34 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hoegaarden]]></category>
		<category><![CDATA[spatial data]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/</guid>
		<description><![CDATA[A while ago I had been playing a bit with the new spatial data types in SQL Server 2008.  Not only can SQL Server store such data, it can also visualize it.  So I had come up with the following query: select geometry::STPolyFromText ('POLYGON((1 1, 1.5 1.85, 2.5 1.85, 3 1, 2.5 0.15, 1.5 0.15, [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I had been playing a bit with <a title="SQL Serve 2008: Spatial Data" href="http://www.microsoft.com/sqlserver/2008/en/us/spatial-data.aspx" target="_blank">the new spatial data types in SQL Server 2008</a>.  Not only can SQL Server store such data, it can also visualize it.  So I had come up with the following query:</p>
<pre class="code"><span style="color: blue;">select geometry</span><span style="color: gray;">::</span>STPolyFromText
<span style="color: gray;">(</span><span style="color: red;">'POLYGON((1 1, 1.5 1.85, 2.5 1.85, 3 1, 2.5 0.15, 1.5 0.15, 1 1),
(1.5 1.5, 1.5 0.5, 1.7 0.5, 1.7 0.9, 2.3 0.9, 2.3 0.5, 2.5 0.5, 2.5 1.5, 2.3 1.5,
2.3 1.1, 1.7 1.1, 1.7 1.5, 1.5 1.5))'</span><span style="color: gray;">, </span>0<span style="color: gray;">);
</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Running that in the Management Studio produces something like this on the <strong>Spatial results</strong> tab:</p>
<p><img style="display: inline; border: 0px;" title="Hoegaerden - the polygon" src="http://blog.hoegaerden.be/wp-content/uploads/image193.png" border="0" alt="Hoegaerden - the polygon" width="486" height="404" /></p>
<p>I’m using the <a title="BOL 2008: STPolyFromText (geometry Data Type)" href="http://msdn.microsoft.com/en-us/library/bb933922.aspx" target="_blank">STPolyFromText</a> function to produce a six-sided polygon with a letter H in the center.  To get to the result, I’m passing a bunch of XY coordinates to the function.  A line gets drawn between two coordinates following each other.</p>
<p>The first list of coordinates (the first list of numbers enclosed in round brackets) creates the hexagon while the second list produces the letter H.  Each <em>list of coordinates</em> thus represents one <strong>polygon</strong>.   The starting XY coordinate must be equal to the ending coordinate to form a closed shape.  The shape is then filled with a color.  Overlapping shapes will be filled using different colors, as shown above.</p>
<p>Producing these coordinates was quite interesting: to be able to calculate the angled sides of the hexagon I used the following formulas.</p>
<p>With <strong>S</strong> being <em>the length of one side</em>:</p>
<p>Width = 2 * S</p>
<p>Height = S * SQRT(3)</p>
<p><strong>Note:</strong> these formulas are only applicable when the hexagon is rotated as shown above.</p>
<p>I needed to know these distances to be able to calculate how much I should increase the X/Y coordinates to get to the next connector.</p>
<p>Okay, enough theory, back to the story now.</p>
<p>Q: “So, why are you creating a helipad platform?”</p>
<p>A: No, it’s not supposed to look like a helipad platform.  The shape resembles the beer coasters for the beer called Hoegaarden.  And those coasters always have a funny drawing or comment on them.  Let’s see if I can find one that’s understandable for non-native Dutch-speakers…</p>
<p><em>(And half an hour later – turns out it’s really not easy to find one without text – luckily they’ve also created some in English!)</em></p>
<p><img style="display: inline; border: 0px;" title="Hoegaarden beer coaster" src="http://blog.hoegaerden.be/wp-content/uploads/image194.png" border="0" alt="Hoegaarden beer coaster" width="640" height="556" /></p>
<p>Initially I was planning on writing a longer article about the spatial data types but hadn’t found the time to do it yet.  And then a couple of days ago I came across a challenge that made me think of this query and so now I’m publishing it in this post.</p>
<p>The challenge to which I’m referring was started by Itzik Ben-Gan and is called <a title="Geekiest Sig Challenge" href="http://www.sqlmag.com/Articles/ArticleID/103518/103518.html" target="_blank">Geekiest Sig Challenge</a>.  The point is to use the new SQL Server spatial data types to create a signature for yourself.  Well, a perfect description for my query!</p>
<p>I was happy to just get an H on there, getting those coordinates right without first putting it on paper is really a challenge <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   And on top of that, I was never any good at drawing.  I remember in secondary school we got an assignment to draw a tree.  Any tree.  So at home I looked out the window and started drawing the tree.  I ended up with the most atrocious thing I’d ever seen (well, that may be a bit exaggerated), it could have starred in a Hitchcock movie straight away, really spiky, and probably spooky when encountered in the dark and with the right background noises playing.</p>
<p>Anyway, what I wanted to say, some people are just talented: check out <a title="More images from the Spatial Results tab" href="http://michaeljswart.com/?p=564" target="_blank">this submission by Michael J. Swart</a>!  No further words needed.</p>
<p>Right, enough geeky stuff to close the week, and remember: have fun!</p>
<p><em>(Hmm, now I’ve got something to build my favicon from…)</em></p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F02%2F26%2Fdrawing-in-sql-server-2008%2F&amp;title=Drawing%20In%20SQL%20Server%202008" id="wpa2a_8"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/26/drawing-in-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 SP2: Want It? Vote For It!</title>
		<link>http://blog.hoegaerden.be/2010/01/20/sql-server-2008-sp2-want-it-vote-for-it/</link>
		<comments>http://blog.hoegaerden.be/2010/01/20/sql-server-2008-sp2-want-it-vote-for-it/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:29:52 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/01/20/sql-server-2008-sp2-want-it-vote-for-it/</guid>
		<description><![CDATA[If you’re interested in seeing the next Service Pack for SQL Server 2008 released, vote for it at this Microsoft Connect page!&#160; Now that the release date for R2 has been announced, hopefully the next one is for SQL 2008 Service Pack 2. If you’re still on 2005 and thus more interested in an SP4 [...]]]></description>
			<content:encoded><![CDATA[<p>If you’re interested in seeing the next Service Pack for SQL Server 2008 released, <a title="Microsoft Connect: SQL Server 2008 Service Pack 2" href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=522123">vote for it at this Microsoft Connect page</a>!&#160; Now that the release date for R2 has been announced, hopefully the next one is for SQL 2008 Service Pack 2.</p>
<p>If you’re still on 2005 and thus more interested in an SP4 for that version, <a title="Microsoft Connect: Service Pack 4 for SQL Server 2005" href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=522122">it has also been posted at Connect</a>.</p>
<p>How did I find out?&#160; Through the following blog posts at SSQA.NET:</p>
<p><a title="SQL Server 2008 SP2" href="http://sqlserver-qa.net/blogs/sql2008/archive/2010/01/14/6210.aspx">SQL Server 2008 SP2</a></p>
<p><a title="SQL Server 2005 SP4" href="http://sqlserver-qa.net/blogs/sql2008/archive/2010/01/14/6211.aspx">SQL Server 2005 SP4</a></p>
<p><strong>Update (27 Feb 2010):</strong></p>
<p>SQL Server 2008 SP2 is scheduled for Q3 2010.</p>
<p>SQL Server 2005 SP4 is scheduled for Q4 2010.</p>
<p><a title="SQL Server Servicing plans" href="http://blogs.msdn.com/sqlreleaseservices/archive/2010/02/12/sql-server-servicing-plans.aspx" target="_blank">See this post on the Microsoft SQL Server Release Services blog</a> for details.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F01%2F20%2Fsql-server-2008-sp2-want-it-vote-for-it%2F&amp;title=SQL%20Server%202008%20SP2%3A%20Want%20It%3F%20Vote%20For%20It%21" id="wpa2a_10"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/01/20/sql-server-2008-sp2-want-it-vote-for-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSMS Showing Incorrect Version Numbers In Object Explorer</title>
		<link>http://blog.hoegaerden.be/2010/01/10/ssms-showing-incorrect-version-numbers-in-object-explorer/</link>
		<comments>http://blog.hoegaerden.be/2010/01/10/ssms-showing-incorrect-version-numbers-in-object-explorer/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 23:21:23 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Integration Services 2008]]></category>
		<category><![CDATA[Reporting Services 2008]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[SSMS]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/01/10/ssms-showing-incorrect-version-numbers-in-object-explorer/</guid>
		<description><![CDATA[Ever since I upgraded to SQL Server 2008 Service Pack 1 I noticed that the Management Studio was reporting incorrect version numbers when connected to Integration or Reporting Services.&#160; This incorrect version number is located to the right of the server instance in the Object Explorer. As usual, a picture says so much more than [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I upgraded to SQL Server 2008 Service Pack 1 I noticed that the Management Studio was reporting incorrect version numbers when connected to Integration or Reporting Services.&#160; This incorrect version number is located to the right of the server instance in the Object Explorer.</p>
<p>As usual, a picture says so much more than … :</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Object Explorer showing wrong version numbers" border="0" alt="Object Explorer showing wrong version numbers" src="http://blog.hoegaerden.be/wp-content/uploads/image139.png" width="436" height="116" /> </p>
<p>As I have <a title="10.0.2531.0" href="http://blog.hoegaerden.be/2009/04/12/10025310/" target="_blank">posted earlier</a>, 10.0.2531 is the version number for SP1, while 10.0.1600 is the original RTM version number.</p>
<p>I never really spent time looking for an answer to this.&#160; It was obviously a bug but I could live with it and someone else would probably already have filed it as being a bug.&#160; So recently I came across <a title="SSIS 2008 - Beware of incorrect version stamp in SSMS" href="http://www.ssistalk.com/2010/01/04/ssis-2008-beware-of-incorrect-version-stamp-in-ssms/" target="_blank">a post by Phil Brammer</a> that mentioned this issue.&#160; This post got a comment from <a title="SSIS Team Blog - A blog about SQL Server Integration Services (SSIS) from a developer on the team." href="http://blogs.msdn.com/mattm/" target="_blank">Matt Masson</a>, a developer on the SSIS team.&#160; Have a look at the comment but in short: the version numbers that are being shown in the Object Explorer are actually the version numbers of the service’s .exe file!&#160; And SSMS is now showing the wrong number because these files didn’t get an update in SP1.</p>
<p>After a little search I found the <a title="Incorrect Version (build) number in SSMS with SSRS and SSIS" href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=422562&amp;wa=wsignin1.0" target="_blank">bug report on Microsoft Connect</a>, reported on March 11, 2009, by <a title="Dan English&#39;s BI Blog" href="http://denglishbi.spaces.live.com/" target="_blank">Dan English</a>.&#160; Its status is Fixed but it seems that it isn’t.&#160; At least, looking at the comments, <a title="Cumulative Update Package 5 for SQL Server 2008 Service Pack 1" href="http://support.microsoft.com/kb/975977/LN/" target="_blank">CU5 (Cumulative Update) for SQL Server 2008 SP1</a> is still showing the problem.&#160; So I guess you could go over to the Connect page and click on that Yes button if you’re interested in seeing this fixed.&#160; After all, it could be quite misleading to novice DB guys and gals…</p>
<p>On this same subject, there’s another <a title="Reporting Services: What’s my version?" href="http://blogs.msdn.com/psssql/archive/2009/09/30/reporting-services-what-s-my-version.aspx" target="_blank">interesting post by Adam W. Saxton</a>, a member of the Microsoft SQL Server Escalation Services Team.&#160; In this post he takes a closer look at the SQL Server 2008 Reporting Services version number after having installed CU2.</p>
<p><strong>Conclusion:</strong> if you need to find out what version your server is running, do not rely on the version numbers that you see in the Object Explorer.&#160; As Adam explained, one way is to look at the version numbers of the files that were included in the upgrade.&#160; But that may a bit of an overkill.&#160; My favorite way, assuming that all components of the SQL Server installation have been upgraded to the same version, is to use the following query:</p>
<div>
<pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">SELECT</span> @@VERSION;</pre>
</div>
<p>&#160;</p>
<p>On my machine that comes back with the following result:</p>
<blockquote>
<p>Microsoft SQL Server 2008 (SP1) &#8211; 10.0.2531.0 (Intel X86)&#160;&#160; Mar 29 2009 10:27:29&#160;&#160; Copyright (c) 1988-2008 Microsoft Corporation&#160; Developer Edition on Windows NT 5.1 &lt;X86&gt; (Build 2600: Service Pack 3) </p>
</blockquote>
<p>And remember, have fun!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F01%2F10%2Fssms-showing-incorrect-version-numbers-in-object-explorer%2F&amp;title=SSMS%20Showing%20Incorrect%20Version%20Numbers%20In%20Object%20Explorer" id="wpa2a_12"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/01/10/ssms-showing-incorrect-version-numbers-in-object-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Report Builder 2.0: Cannot switch data source</title>
		<link>http://blog.hoegaerden.be/2009/09/12/report-builder-2-0-cannot-switch-data-source/</link>
		<comments>http://blog.hoegaerden.be/2009/09/12/report-builder-2-0-cannot-switch-data-source/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 08:43:53 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Report Builder 2.0]]></category>
		<category><![CDATA[Report Builder 3.0]]></category>
		<category><![CDATA[Reporting Services 2008]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/09/12/report-builder-2-0-cannot-switch-data-source/</guid>
		<description><![CDATA[I came across an issue when playing around with Report Builder 2.0.  I had created a report using an embedded data source.  Once I’d published the report to the report server, I couldn’t get it to run anymore.  Instead it gave me the following error: This report cannot be run in report builder because it [...]]]></description>
			<content:encoded><![CDATA[<p>I came across an issue when playing around with Report Builder 2.0.  I had created a report using an embedded data source.  Once I’d published the report to the report server, I couldn’t get it to run anymore.  Instead it gave me the following error:</p>
<blockquote><p>This report cannot be run in report builder because it contains one or more embedded data sources with credential options that are not supported.  Instead of embedded data sources use shared data sources or save and view the report on the server.</p></blockquote>
<p>Okay, no problem I thought, let’s just create a shared data source and switch to that one then.  So I opened up the Data Source Properties in Report Builder and selected the <strong>Use a shared connection or report model</strong> radio button.</p>
<p>Unfortunately, when running the report it threw me that same error?!  And when I open the Data Source properties again, my change was undone!  It was still using the embedded data source.</p>
<p>As far as I’m concerned that should be a bug.</p>
<p>The only way that I could switch my data source to a shared connection was by creating a new data source, which means you also need to move all datasets connected to the original data source.</p>
<p>Quick tip: if you first rename the original data source and datasets to something like srcMyDataset_OLD, you can give the correct name to the new one straightaway.</p>
<p>So I guess that’s another workaround on my list <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>This issue was encountered while using Report Builder 2.0 (10.0.2531.0).  I tried to reproduce it using Report Builder 3.0 (10.50.1092.20 – that’s the version of the SQL Server 2008 R2 August CTP) and I couldn’t.  Which means it has been fixed.  Good on you Microsoft!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F09%2F12%2Freport-builder-2-0-cannot-switch-data-source%2F&amp;title=Report%20Builder%202.0%3A%20Cannot%20switch%20data%20source" id="wpa2a_14"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/09/12/report-builder-2-0-cannot-switch-data-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Want to link datasets? Please vote!</title>
		<link>http://blog.hoegaerden.be/2009/06/13/want-to-link-datasets-please-vote/</link>
		<comments>http://blog.hoegaerden.be/2009/06/13/want-to-link-datasets-please-vote/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 13:22:53 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Reporting Services 2008]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/06/13/want-to-link-datasets-please-vote/</guid>
		<description><![CDATA[Now that the European Elections are over once again, I’d like to draw your attention to another request for voting. Using Reporting Services 2008, at this moment it is not possible to link two datasets.  Linking datasets would be really interesting in certain cases.  Imagine you’ve got two datasets, used in two different report data [...]]]></description>
			<content:encoded><![CDATA[<p>Now that the <a title="EUROPEAN ELECTION RESULTS 2009" href="http://www.elections2009-results.eu/" target="_blank">European Elections</a> are over once again, I’d like to draw your attention to another request for voting.</p>
<p>Using Reporting Services 2008, at this moment it is not possible to link two datasets.  Linking datasets would be really interesting in certain cases.  Imagine you’ve got two datasets, used in two different report data regions.  However, your second data region needs data from the first dataset as well.  As you probably know, a data region can only be bound to one dataset.  Both datasets contain an identical identifier so in theory they could be perfectly linked, if only the IDE would allow it.  Linking two datasets should result in a third dataset that behaves exactly the same as a regular one, which would allow us to bind that one to a data region.</p>
<p>Here’s a small example to clarify the above:</p>
<p>Dataset 1 consists of col1, col2.</p>
<p>Dataset 2 consists of col1, col3.</p>
<p>col1 is an identifier.</p>
<p>If you could tell SSRS to join dataset 1 and dataset 2 on col1, resulting in:</p>
<p>Dataset 3: col1, col2, col3</p>
<p>that would be really great!</p>
<p>This has several benefits:</p>
<ul>
<li>the data is already available in another dataset, why load it twice ?</li>
<li>performance: in certain cases combining the two queries into one would result in a slower query (I’m thinking of situations where the database design is not optimal and you’ve got no control over it – sounds familiar ?)</li>
<li>developing reports would become an even nicer experience (no need for <a title="Joining Disparate Datasets in SQL Server Reporting Services using OPENROWSET" href="http://blogs.technet.com/peet/archive/2009/01/07/joining-disparate-datasets-in-sql-server-reporting-services-using-openrowset.aspx" target="_blank">workarounds such as this one</a>)</li>
<li>if Crystal Reports and others can do it, why shouldn’t SSRS be able to do it as well ?</li>
</ul>
<p>If you <a title="Google results for &quot;reporting services joining datasets&quot;" href="http://www.google.be/search?hl=en&amp;q=reporting+services+joining+datasets&amp;btnG=Search&amp;meta=" target="_blank">Google around</a> (or should I say <a title="Bing results for &quot;reporting services joining datasets&quot;" href="http://www.bing.com/search?q=reporting+services+joining+datasets&amp;go=&amp;form=QBLH&amp;filt=all" target="_blank">Bing around</a> ?), you can see that I am certainly not the only one with this question in mind.  In fact, someone has already posted a request on Microsoft Connect and a Microsoft representative said the following:</p>
<blockquote><p>Thank you for your suggestion.<br />
We are indeed considering adding this kind of functionality in a future release of Reporting Services. We are also monitoring the customer vote count on this particular suggestion to gauge the relative community demand compared to other suggestions.<br />
Thanks,<br />
Reporting Services Team</p></blockquote>
<p>So if you’d like to see this feature implemented in Reporting Services, <a title="Merging / Linking datasets on report level (SSRS 2008)" href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=419819&amp;wa=wsignin1.0" target="_blank">click this link and vote</a>!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F06%2F13%2Fwant-to-link-datasets-please-vote%2F&amp;title=Want%20to%20link%20datasets%3F%20Please%20vote%21" id="wpa2a_16"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/06/13/want-to-link-datasets-please-vote/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BUG: Foreach Loop Container</title>
		<link>http://blog.hoegaerden.be/2009/06/09/bug-foreach-loop-container/</link>
		<comments>http://blog.hoegaerden.be/2009/06/09/bug-foreach-loop-container/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:09:27 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/06/09/bug-foreach-loop-container/</guid>
		<description><![CDATA[If you’re using Integration Services 2008 and the Foreach Loop Container in the Control Flow, you’ll very likely encounter this bug. The Foreach Loop has several enumerators available.  By default it selects the Foreach File Enumerator.  However, as the screenshot below shows, there’s no way to configure it – the Enumerator configuration group just shows [...]]]></description>
			<content:encoded><![CDATA[<p>If you’re using Integration Services 2008 and the Foreach Loop Container in the Control Flow, you’ll very likely encounter this bug.</p>
<p>The Foreach Loop has several enumerators available.  By default it selects the Foreach File Enumerator.  However, as the screenshot below shows, there’s no way to configure it – the Enumerator configuration group just shows blank space.</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image23.png"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="Foreach Loop Editor with empty Enumerator configuration" src="http://blog.hoegaerden.be/wp-content/uploads/image-thumb12.png" border="0" alt="Foreach Loop Editor with empty Enumerator configuration" width="494" height="463" /></a></p>
<p>This phenomenon is caused by a bug which <a title="SSIS - Foreach loop editor loading wrong configuration control during initialization" href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=363373" target="_blank">has been reported on Microsoft Connect</a>.  The workaround, if you really need the File Enumerator, is to select another enumerator first and then switch back to the File Enumerator.  You’ll notice that the regular controls show up and on you go, define that folder name!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F06%2F09%2Fbug-foreach-loop-container%2F&amp;title=BUG%3A%20Foreach%20Loop%20Container" id="wpa2a_18"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/06/09/bug-foreach-loop-container/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FIX: Visual Studio crashes after playing around with its windows</title>
		<link>http://blog.hoegaerden.be/2009/05/14/fix-visual-studio-crashes-after-playing-around-with-its-windows/</link>
		<comments>http://blog.hoegaerden.be/2009/05/14/fix-visual-studio-crashes-after-playing-around-with-its-windows/#comments</comments>
		<pubDate>Thu, 14 May 2009 19:13:49 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[BIDS]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[Business Intelligence Development Studio]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/05/14/fix-visual-studio-crashes-after-playing-around-with-its-windows/</guid>
		<description><![CDATA[Lately I had been getting annoyed by Visual Studio crashing on me while working on ETL packages.  The crashes seemed somehow related to debugging a package because they usually occurred after I clicked the &#8220;Package execution completed. Click here to switch to design mode, or select Stop Debugging from the Debug menu.&#8221; link.  But I [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I had been getting annoyed by Visual Studio crashing on me while working on ETL packages.  The crashes seemed somehow related to debugging a package because they usually occurred after I clicked the &#8220;Package execution completed. Click here to switch to design mode, or select Stop Debugging from the Debug menu.&#8221; link.  But I couldn&#8217;t really pinpoint why or when exactly they occurred.  Now I&#8217;ve got an explanation, and a solution!</p>
<p>How did I get to the solution?  Well, today I decided to click the &#8220;Send to Microsoft&#8221; button on the infamous crash pop-up window.  And from it I actually got a link to a fix for the issue.  Apparently the issue is not related to Integration Services in particular, it is a much broader Visual Studio shell issue that occurs in Visual Studio 2008 with SP1 when you&#8217;ve got a combination of undocking windows and changing window layout.  And that is indeed what I usually do when debugging a package!  When the package stops executing I often execute the following scenario:</p>
<ul>
<li>double-click the title bar on the Output window to undock it</li>
<li>enlarge the undocked Output window to almost full-screen so I can have a good look at the errors</li>
<li>double-click the title bar to dock the window back to its original place</li>
<li>click the &#8220;Package execution completed.&#8221; link (or hit the Stop Debugging button)</li>
</ul>
<p>And that&#8217;s exactly the second scenario described in <a title="FIX: When you undock some windows or change the window layout in the Visual Studio 2008 Service Pack 1 IDE, the IDE crashes" href="http://support.microsoft.com/kb/960075" target="_blank">this Microsoft Support article</a> because when you stop debugging, the IDE switches the window layout back from debug to design.</p>
<p>I have now installed the hotfix and the issue is gone.  Beware though if you also use WPF, better read through the whole article and comments on <a title="KB960075 - VS Dev Environment crash after undocking windows or changing layouts" href="http://code.msdn.microsoft.com/KB960075" target="_blank">the download page</a> first.</p>
<p>Hmm, this may also explain some other unexplicable crashes I&#8217;ve seen lately.  Makes you wonder doesn&#8217;t it <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F05%2F14%2Ffix-visual-studio-crashes-after-playing-around-with-its-windows%2F&amp;title=FIX%3A%20Visual%20Studio%20crashes%20after%20playing%20around%20with%20its%20windows" id="wpa2a_20"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/05/14/fix-visual-studio-crashes-after-playing-around-with-its-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

