<?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>David Dietrich&#039;s Business Technology Blog &#187; .NET</title>
	<atom:link href="http://www.daviddietrich.com/topics/windows/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daviddietrich.com</link>
	<description>Business Technology Tips</description>
	<lastBuildDate>Mon, 05 Sep 2011 11:58:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Upgrading to Reporting Services 2008 in Visual Studio 2010</title>
		<link>http://www.daviddietrich.com/2011/02/05/upgrading-to-reporting-services-2008-in-visual-studio-2010/</link>
		<comments>http://www.daviddietrich.com/2011/02/05/upgrading-to-reporting-services-2008-in-visual-studio-2010/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 20:58:24 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=444</guid>
		<description><![CDATA[Upgrading to SQL Server Reporting Services 2008 requires a few changes in your Visual Studio 2010 projects. First you need to remove your old Reference to Microsoft Reporting.WebForms (Version 9.0.0.0). Then add the Reference to the Microsoft.Reporting.WebForms for Version 10.0.0.0. Right mouse-click on your project Reference like this &#8211;&#62; If you use any embedded reports [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading to SQL Server Reporting Services 2008 requires a few changes in your Visual Studio 2010 projects.</p>
<p>First you need to remove your old Reference to Microsoft Reporting.WebForms (Version 9.0.0.0). Then add the Reference to the Microsoft.Reporting.WebForms for Version 10.0.0.0. Right mouse-click on your project Reference like this &#8211;&gt;</p>
<div id="attachment_450" class="wp-caption aligncenter" style="width: 299px"><a href="http://www.daviddietrich.com/wp-content/uploads/2011/02/Microsoft.ReportViewer.WebForms.jpg"><img class="size-medium wp-image-450" title="Microsoft.ReportViewer.WebForms" src="http://www.daviddietrich.com/wp-content/uploads/2011/02/Microsoft.ReportViewer.WebForms-289x300.jpg" alt="Microsoft ReportViewer reference" width="289" height="300" /></a><p class="wp-caption-text">Add a Reference to the Microsoft.ReportViewer.WebForms Control</p></div>
<p>If you use any embedded reports on any Web Forms, you need to change the Assembly Reference directive in your .aspx file from 9.0.0.0 to 10.0.0.0<br />
<strong>&lt;%@ Register assembly=&#8221;Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8221; namespace=&#8221;Microsoft.Reporting.WebForms&#8221; tagprefix=&#8221;rsweb&#8221; %&gt;<br />
</strong></p>
<p>For SSRS 2008, you must add Microsofts ScriptManager control to the form.</p>
<div id="attachment_447" class="wp-caption aligncenter" style="width: 295px"><a href="http://www.daviddietrich.com/wp-content/uploads/2011/02/vs2010-script-manager.jpg"><img class="size-medium wp-image-447" title="vs2010-script-manager" src="http://www.daviddietrich.com/wp-content/uploads/2011/02/vs2010-script-manager-285x300.jpg" alt="Visual Studio 2010 Script Manager" width="285" height="300" /></a><p class="wp-caption-text">Visual Studio 2010 Script Manager</p></div>
<p>Finally, in your Web.config, all references to the ReportViewer controls 9.0.0.0 need to be changed to 10.0.0.0.<br />
Here is an example web.config (the key areas are bolded) &#8211;&gt;</p>
<p>&lt;?xml version=&#8221;1.0&#8243;?&gt;</p>
<p>&lt;!&#8211;</p>
<p>For more information on how to configure your ASP.NET application, please visit</p>
<p>http://go.microsoft.com/fwlink/?LinkId=169433</p>
<p>&#8211;&gt;</p>
<p>&lt;configuration&gt;</p>
<p>&lt;system.web&gt;</p>
<p>&lt;compilation debug=&#8221;true&#8221; targetFramework=&#8221;4.0&#8243;&gt;</p>
<p>&lt;assemblies&gt;</p>
<p>&lt;add assembly=&#8221;System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#8243; /&gt;</p>
<p>&lt;/assemblies&gt;</p>
<p>&lt;buildProviders&gt;</p>
<p><strong>&lt;add extension=&#8221;.rdlc&#8221; type=&#8221;Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8221; /&gt;</strong></p>
<p>&lt;/buildProviders&gt;</p>
<p>&lt;/compilation&gt;</p>
<p>&lt;httpHandlers&gt;</p>
<p><strong>&lt;add verb=&#8221;*&#8221; path=&#8221;Reserved.ReportViewerWebControl.axd&#8221; type = &#8220;Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8221; /&gt;</strong></p>
<p>&lt;/httpHandlers&gt;</p>
<p>&lt;/system.web&gt;</p>
<p>&lt;system.webServer&gt;</p>
<p>&lt;handlers&gt;</p>
<p><strong>&lt;remove name=&#8221;ReportViewerWebControlHandler&#8221; /&gt;</strong></p>
<p><strong>&lt;add name=&#8221;ReportViewerWebControlHandler&#8221; preCondition=&#8221;integratedMode&#8221; verb=&#8221;*&#8221; path=&#8221;Reserved.ReportViewerWebControl.axd&#8221; type=&#8221;Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8221; /&gt;</strong></p>
<p>&lt;/handlers&gt;</p>
<p>&lt;/system.webServer&gt;</p>
<p>&lt;/configuration&gt;</p>
<p>One last item that may happen, in your IIS Settings, be sure there are no global provider references. Verify this by going to Start-&gt;Control Panel-&gt;Administrative Tools-&gt;Internet Information Services (IIS) Manager.  Then click on your computer name on the left navigation tree, then double-click on Handler Mappings. Just verify there is no mapping for .rdlc files. If there is, you must decide if you want to delete it. Other applications may be using older Reporting Services files. If you are unsure, save a screenshot of the settings, then delete the reference. If there is a problem, reenter the original reference.</p>
<p>You should now have built your project and are successfully running reports in your application with Visual Studio. When you publish up to a website, you may run into another issue. If you have not installed Visual Studio 2010 on your web server (hopefully you did not), you will need to install the Report Viewer runtime. You can download the 2010 version here from Microsoft (<a title="Microsoft Report Viewer runtime" href="http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A941C6B2-64DD-4D03-9CA7-4017A0D164FD" target="_blank">http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A941C6B2-64DD-4D03-9CA7-4017A0D164FD</a>). Reboot your web server and you should now have running reports.</p>
<p>You should now be ready to take advantage of all of the new features of SSRS 2008!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2011/02/05/upgrading-to-reporting-services-2008-in-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding custom palettes to Dundas pie charts in .NET 3.5x</title>
		<link>http://www.daviddietrich.com/2009/05/10/adding-custom-palettes-to-dundas-pie-charts-in-net-20/</link>
		<comments>http://www.daviddietrich.com/2009/05/10/adding-custom-palettes-to-dundas-pie-charts-in-net-20/#comments</comments>
		<pubDate>Mon, 11 May 2009 00:28:29 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Dundas Reports]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[dundas]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=102</guid>
		<description><![CDATA[One of the new features in Dundas 6.x and above, is the ability to create custom palettes of colors and apply them to pie charts. This way you no longer have to settle for Dundas&#8217;s default fluffy colors. In order to change the color palette, create a Color array and assign it to the series [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new features in Dundas 6.x and above, is the ability to create custom palettes of colors and apply them to pie charts. This way you no longer have to settle for Dundas&#8217;s default fluffy colors. In order to change the color palette, create a Color array and assign it to the series like this:</p>
<p><strong>Color[] clrSteps = new Color[] {<br />
Color.Red,<br />
Color.Green,<br />
Color.Magenta,<br />
Color.Blue,<br />
Color.LightBlue,<br />
Color.Coral,<br />
Color.LightCyan,<br />
Color.Goldenrod,<br />
Color.Gray,<br />
Color.GreenYellow,<br />
Color.Honeydew,<br />
Color.Ivory,<br />
Color.Khaki,<br />
Color.Lavender<br />
};<br />
yourPieChart.PaletteCustomColors = clrSteps;</strong></p>
<p>Now your pie chart will start with red for the first slice, then continue to use the clrSteps array for each slice&#8217;s color. If there are more slices than colors you&#8217;ve provided, don&#8217;t worry, Dundas will start at the beginning color in the array and continue through all of the colors as many times as needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2009/05/10/adding-custom-palettes-to-dundas-pie-charts-in-net-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

