<?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; Windows</title>
	<atom:link href="http://www.daviddietrich.com/topics/windows/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>Auto commit for MySQL databases</title>
		<link>http://www.daviddietrich.com/2009/07/02/auto-commit-for-mysql-databases/</link>
		<comments>http://www.daviddietrich.com/2009/07/02/auto-commit-for-mysql-databases/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 22:08:06 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=154</guid>
		<description><![CDATA[In corporate database systems, it is generally preferred to build transaction stacks. This allows for having multiple database statements run and be finally committed if everything is ok. In MySQL, auto commit is on by default; which means that every statement is instantly committed. To check the value of auto commit, run the following MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>In corporate database systems, it is generally preferred to build transaction stacks. This allows for having multiple database statements run and be finally committed if everything is ok. In MySQL, auto commit is on by default; which means that every statement is instantly committed. To check the value of auto commit, run the following MySQL command:</p>
<p><strong>mysql&gt;select @@autocommit;</strong></p>
<p>So in order to turn off auto commit, run the following command in MySQL:</p>
<p><strong>mysql&gt;SET autocommit=0</strong></p>
<p>If you want auto commit turned off permanently, we need to edit your my.cnf file. In the [mysqld], add the following line:</p>
<pre><strong>init_connect='SET autocommit=0'</strong></pre>
<p>Restart MySQL and you are now ready to do full transaction processing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2009/07/02/auto-commit-for-mysql-databases/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>
		<item>
		<title>Windows service failure while running in a QEMU virtual instance</title>
		<link>http://www.daviddietrich.com/2009/04/09/windows-service-failure-while-running-in-a-qemu-virtual-instance/</link>
		<comments>http://www.daviddietrich.com/2009/04/09/windows-service-failure-while-running-in-a-qemu-virtual-instance/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 06:58:13 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bootup]]></category>
		<category><![CDATA[qemu]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=94</guid>
		<description><![CDATA[If you are running Windows under QEMU and see Event ID 7000&#8242;s like these below&#8211; If you get this Description: &#8220;The Parallel port driver service failed to start due to the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.&#8221; Then you [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running Windows under QEMU and see Event ID 7000&#8242;s like these below&#8211;</p>
<p>If you get this Description:</p>
<p>&#8220;The Parallel port driver service failed to start due to the following error:<br />
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.&#8221;</p>
<p>Then you have the ParPort service not starting. This happens if you upgrade your W2K3, W2K, or NT server from hardware (<a class="tfTextLink" style="border-bottom: 1px solid #991616; color: #991616; text-decoration: underline; display: inline; background-color: transparent; font-size: 1em; padding-bottom: 1px; position: relative; line-height: 1em;" href="javascript:void(0)">motherboard</a>) that HAD a Parallel Port, but are now on a new motherboard that has no Parallel Port.</p>
<p>The fix is simple:<br />
1. Open Regedit and go to&#8211;<br />
HKLM\System|CurrentControlSet\Services\Parport<br />
2. Edit the Start key and change the value to 4. Changing the value to 4 will &#8220;disable&#8221; the service.<br />
3. Reboot the server</p>
<p>You should no longer get that annoying popup dialog when Windows starts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2009/04/09/windows-service-failure-while-running-in-a-qemu-virtual-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount a Windows share in Linux</title>
		<link>http://www.daviddietrich.com/2009/03/01/how-to-mount-a-windows-share-in-linux/</link>
		<comments>http://www.daviddietrich.com/2009/03/01/how-to-mount-a-windows-share-in-linux/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 00:27:07 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=85</guid>
		<description><![CDATA[Here is an example of how to connect to a Windows share from Linux: &#62;mkdir -p /mnt/winShare &#62;mount -t cifs //192.168.x.x/e$ /mnt/winShare -o username=Administrator First put in the connection information in Linux style notation //IP/ShareName. The share can be a root directory, like the e$ above, or it can be any other defined share on [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an example of how to connect to a Windows share from Linux:</p>
<p><strong>&gt;mkdir -p /mnt/winShare<br />
&gt;mount -t cifs //192.168.x.x/e$ /mnt/winShare -o username=Administrator</strong></p>
<p>First put in the connection information in Linux style notation //IP/ShareName. The share can be a root directory, like the e$ above, or it can be any other defined share on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2009/03/01/how-to-mount-a-windows-share-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista how to boot up without network</title>
		<link>http://www.daviddietrich.com/2009/02/28/windows-vista-how-to-boot-up-without-network/</link>
		<comments>http://www.daviddietrich.com/2009/02/28/windows-vista-how-to-boot-up-without-network/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 21:13:18 +0000</pubDate>
		<dc:creator>David Dietrich</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bootup]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://www.daviddietrich.com/?p=81</guid>
		<description><![CDATA[For security, sometimes you do not want your computer to automatically start up allowing network connections. In Windows Vista there is a way to ensure that when your machine reboots, network connections will not be enabled. They will only be enabled once you log in the first time. To do this, go to Control Panel [...]]]></description>
			<content:encoded><![CDATA[<p>For security, sometimes you do not want your computer to automatically start up allowing network connections. In Windows Vista there is a way to ensure that when your machine reboots, network connections will not be enabled. They will only be enabled once you log in the first time.</p>
<p>To do this, go to Control Panel -&gt; Administrative Tools -&gt; Services.</p>
<p>Then change the Network Connections service to Manual.</p>
<p>This will prevent Windows Vista from establishing or allowing any network connections until the first time you log in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daviddietrich.com/2009/02/28/windows-vista-how-to-boot-up-without-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

