<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Neal&#039;s Blog</title>
	<atom:link href="http://bladeoz.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bladeoz.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 06 Jun 2011 08:25:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bladeoz.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Neal&#039;s Blog</title>
		<link>http://bladeoz.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bladeoz.wordpress.com/osd.xml" title="Neal&#039;s Blog" />
	<atom:link rel='hub' href='http://bladeoz.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Testing a Database Connection String</title>
		<link>http://bladeoz.wordpress.com/2011/06/06/testing-a-database-connection-string/</link>
		<comments>http://bladeoz.wordpress.com/2011/06/06/testing-a-database-connection-string/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 08:25:16 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=60</guid>
		<description><![CDATA[Was going crazy trying to figure out why my database connections weren&#8217;t working despite all the different approaches I had made. That&#8217;s when I stumbled upon this post by Doug Kennard about using a UDL file to test connections. Open up Notepad and create an empty text file, then click File -&#62; click Save -&#62; and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=60&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Was going crazy trying to figure out why my database connections weren&#8217;t working despite all the different approaches I had made.</p>
<p>That&#8217;s when I stumbled upon this post by <a title="How to Test a Database Connection String using NotePad" href="http://www.gotknowhow.com/articles/test-a-database-connection-string-using-notepad" target="_blank">Doug Kennard</a> about using a UDL file to test connections.</p>
<ol>
<li>Open up Notepad and create an empty text file, then click <strong>File</strong> -&gt; click <strong>Save</strong> -&gt; and  save it with the File name: <strong>TestConnection.udl</strong> to your desktop.</li>
<li>Go to your desktop and double-click on the <strong>TestConnection.udl</strong> file you just created and the Data Link Properties box will popup.</li>
<li>Select the <strong>Provider</strong> tab and Find the provider that you want to connect with and click <strong>Next &gt;&gt;</strong>.</li>
<li>Now from the Connection tab, select or enter your source/ server name -&gt; then enter information to log on to server -&gt; and select the database on the server.</li>
<li>Click <strong>Test Connection</strong> and click <strong>OK</strong> to save the file.</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=60&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2011/06/06/testing-a-database-connection-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>CruiseControl.Net &#8211; Client Side Installation</title>
		<link>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-client-side-installation/</link>
		<comments>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-client-side-installation/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 01:40:07 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[CruiseControl.Net]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=47</guid>
		<description><![CDATA[CCTray Installation Locate the CCTray installer on the build server. Default location is C:\Program Files\CruiseControl.NET\webdashboard\cctray\CruiseControl.NET-CCTray-1.4.4-Setup.exe Copy it to a location on the client machine and execute with admin permissions Simply install as per default settings. Configure CCTray Open CCTray and select File/Settings Under the Build Projects tab select Add Project window should show with a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=47&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>CCTray Installation</h2>
<ol>
<li>Locate the CCTray installer on the build server. Default location is C:\Program Files\CruiseControl.NET\webdashboard\cctray\CruiseControl.NET-CCTray-1.4.4-Setup.exe</li>
<li>Copy it to a location on the client machine and execute with admin permissions</li>
<li>Simply install as per default settings.</li>
</ol>
<h2>Configure CCTray</h2>
<ol>
<li>Open CCTray and select File/Settings</li>
<li>Under the Build Projects tab select Add</li>
<li>Project window should show with a list of Build Servers on the left and Projects on the right. Select Add Server to bring up the server selection window</li>
<li>The easiest option is to choose the Via the CruiseControl.Net Dashboard configuration. Enter the location of the CCNet server. Eg <a href="http://bris03vpn1/ccnet">http://Server/ccnet</a> would be the default location. If another version of CCnet was installed under a different port simply add that to the line ie. <a href="http://bris03vpn1:8085/ccnet">http://Server:8085/ccnet</a></li>
<li>If the server is valid pressing OK will take you back to the Project screen and the server and any available projects listed in the CCNet.config file will show up. Simply select the project you want to connect to.</li>
<li>The project should now show up under the Build Projects tab. You can also adjust the priority of builds by moving them up or down on the list.</li>
<li>The selected projects should now appear in the CCTray main panel. When the system performs an auto run or you select a Force Build, the icon will change to yellow to show it is being executed. If it passes then a pop-up balloon will show it has succeeded and the icon will turn green. If it fails the icon will turn red.</li>
<li>To read results of the build simply right click the project you want to check on and select Display Web Page. This will take you to the CCNet webpanel on the server and allows you to check the results of the build and any details on errors that may have been encountered.</li>
</ol>
<h2>Using Xunit with VS</h2>
<ol>
<li>Ensure that Xunit has admin permissions active and included in the System path.</li>
<li>To use Xunit within Visual Studio, Unload the &lt;project&gt;.Tests from the Solution and Edit the csproj file. Xunit will automatically run tests when requested but to get an output of the results include the following line within the file.</li>
</ol>
<p>&lt;Target Name=&#8221;AfterBuild&#8221;&gt;</p>
<p>&lt;Exec Command =&#8221;xunit.console</p>
<p>[Project location]\bin\Debug\[Project].Tests.dll /xml</p>
<p>[Project location]\[Project].Tests\bin\Debug\[Output Filename].xml&#8221;&gt;</p>
<p>&lt;/Exec&gt;</p>
<p>&lt;/Target&gt;</p>
<p><span style="color:#ff0000;">Note:- Xunit doesn&#8217;t always work with virtual paths. Most of the time you will need to hard code the paths for Xunit to work.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=47&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-client-side-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>CruiseControl.Net &#8211; Server Config for Builds</title>
		<link>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-config-for-builds/</link>
		<comments>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-config-for-builds/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 01:37:19 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[CruiseControl.Net]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=45</guid>
		<description><![CDATA[The following is a basic configuration to access SVN and build a VS project. This is located in the CCNet.config file which is found in the CruiseControl.Net/server directory. &#60;cruisecontrol xmlns:cb=&#8221;urn:ccnet.config.builder&#8221;&#62; &#60;!&#8211; This is your CruiseControl.NET Server Configuration file. Add your projects below! &#8211;&#62; &#60;project&#62; &#60;name&#62;[Project Name Goes Here – This will show on the CCTray]&#60;/name&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=45&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following is a basic configuration to access SVN and build a VS project. This is located in the CCNet.config file which is found in the CruiseControl.Net/server directory.</p>
<p><span style="color:#888888;">&lt;cruisecontrol xmlns:cb=&#8221;urn:ccnet.config.builder&#8221;&gt;</span></p>
<p><span style="color:#888888;">&lt;!&#8211; This is your CruiseControl.NET Server Configuration file. Add your projects below! &#8211;&gt;</span></p>
<p><span style="color:#888888;">&lt;project&gt;</span></p>
<p><span style="color:#888888;">&lt;name&gt;<strong>[Project Name Goes Here – This will show on the CCTray]</strong>&lt;/name&gt;</span></p>
<p><span style="color:#888888;">&lt;sourcecontrol type=&#8221;svn&#8221;&gt;</span></p>
<p><span style="color:#888888;">&lt;trunkUrl&gt;svn://<strong>[location of the trunk source files are committed to]</strong>&lt;/trunkUrl&gt;</span></p>
<p><span style="color:#888888;">&lt;workingDirectory&gt;<strong>[Location on server files are to be downloaded to]</strong>&lt;/workingDirectory&gt;</span></p>
<p><span style="color:#888888;">&lt;username&gt;<strong>[User Name to Access SVN]</strong>&lt;/username&gt;</span></p>
<p><span style="color:#888888;">&lt;password&gt;<strong>[Password to Access SVN]</strong>&lt;/password&gt;</span></p>
<p><span style="color:#888888;">&lt;/sourcecontrol&gt;</span></p>
<p><span style="color:#888888;">&lt;tasks&gt;</span></p>
<p><span style="color:#888888;">&lt;msbuild&gt;</span></p>
<p><span style="color:#888888;">&lt;executable&gt;C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe</span></p>
<p><span style="color:#888888;">&lt;/executable&gt;</span></p>
<p><span style="color:#888888;">&lt;workingDirectory&gt;<strong>[Location on the server where SVN deposited the files]</strong></span></p>
<p><span style="color:#888888;">&lt;/workingDirectory&gt;</span></p>
<p><span style="color:#888888;">&lt;projectFile&gt;<strong>[Name of the solution to be executed]</strong>&lt;/projectFile&gt;</span></p>
<p><span style="color:#888888;">&lt;buildArgs&gt;/noconsolelogger /p:Configuration=Debug /v:m</span></p>
<p><span style="color:#888888;">&lt;/buildArgs&gt;</span></p>
<p><span style="color:#888888;">&lt;targets&gt;Clean;Build&lt;/targets&gt;</span></p>
<p><span style="color:#888888;">&lt;timeout&gt;600&lt;/timeout&gt;</span></p>
<p><span style="color:#888888;">&lt;logger&gt;ThoughtWorks.CruiseControl.MsBuild.XMLLogger,</span></p>
<p><span style="color:#888888;">C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</span></p>
<p><span style="color:#888888;">&lt;/logger&gt;</span></p>
<p><span style="color:#888888;">&lt;/msbuild&gt;</span></p>
<p><span style="color:#888888;">&lt;/tasks&gt;</span></p>
<p><span style="color:#888888;">&lt;publishers&gt;</span></p>
<p><span style="color:#888888;">&lt;merge&gt;</span></p>
<p><span style="color:#888888;">&lt;files&gt;</span></p>
<p><span style="color:#888888;">&lt;file&gt;<strong>[Location of the Xunit result file that MSBuild creates when processing the build. Usually located in the BIN folder of the Test solution]</strong>&lt;/file&gt;</span></p>
<p><span style="color:#888888;">&lt;/files&gt;</span></p>
<p><span style="color:#888888;">&lt;/merge&gt;</span></p>
<p><span style="color:#888888;">&lt;xmllogger /&gt;</span></p>
<p><span style="color:#888888;">&lt;statistics /&gt;</span></p>
<p><span style="color:#888888;">&lt;/publishers&gt;</span></p>
<p><span style="color:#888888;">&lt;/project&gt;</span></p>
<p><span style="color:#888888;">&lt;/cruisecontrol&gt;</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=45&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-config-for-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>CruiseControl.Net &#8211; Server Installation</title>
		<link>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-installation/</link>
		<comments>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-installation/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 01:36:26 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[CruiseControl.Net]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=40</guid>
		<description><![CDATA[This is a very basic installation of CruiseControl.Net in a server and client configuration. CC.Net Installation Go to http://sourceforge.net/projects/ccnet/files/CruiseControl.NET%20Releases/ to get the latest version. At the time of writing this we used version 1.4.4 Once downloaded simply run the program as an administrator. Follow the default options. Installing the CC.NET Server is required. The Web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=40&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a very basic installation of CruiseControl.Net in a server and client configuration.</p>
<h2>CC.Net Installation</h2>
<ol>
<li>Go to <a href="http://sourceforge.net/projects/ccnet/files/CruiseControl.NET%20Releases/%20">http://sourceforge.net/projects/ccnet/files/CruiseControl.NET%20Releases/</a> to get the latest version. At the time of writing this we used version 1.4.4</li>
<li>Once downloaded simply run the program as an administrator. Follow the default options. Installing the CC.NET Server is required. The Web Dashboard gives a web interface for the server function.</li>
<li>Ensure to install CC.NET as a windows service and create the virtual directory for IIS</li>
<li>Choose the default options for installation directory and the application path and complete installation</li>
<li>Once CC.Net has installed check to ensure that the virtual site has been set up in the default section of IIS. If it has not been set up, simply create a virtual site within the Default Web Site directory. Ensure that the site is listed as CCNET as this will ensure the web dashboard can be accessed by the CCTray</li>
<li>Go into the Services settings and locate the Cruise Control service. In the properties change the Log On section to the account to the local master account. This is to help reduce conflicts that may arise later when the services attempts to access certain functions.</li>
</ol>
<p><strong><span style="color:#ff0000;">Important Note – Before the service can run you need to ensure that the current .NET frameworks are installed.</span></strong></p>
<h2>Xunit Installation</h2>
<ol>
<li>Download the latest version of Xunit from <a href="http://xunit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31606">http://xunit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31606</a></li>
<li>Unzip the Xunit file and save it to an appropriate location on the hard drive. Common installation is in the Program Files folder.</li>
<li>Run the xunit.installer.exe file with admin permissions. A list of available integration options will display. Simply select the options you wish to integrate and Enable.        <strong><span style="color:#ff0000;">NOTE:-</span></strong> If there are no available options to choose from then simply exit the installer.</li>
<li>Once Xunit is installed, right click on My Computer and select Properties. Navigate to Advanced and choose Environment Variables. Ensure that the path to the Xunit directory is included in both User Variables and System Variables.</li>
<li><em> </em>To include Xunit results in the output of the WebDashboard open the dashboard.config file in a text editor and add <em>&lt;xslFile&gt;xsl\xUnitSummary.xsl&lt;/xslFile&gt; </em>to the list of options under the section <em>&lt;xslFileNames&gt;</em> within the <em>&lt;buildReportBuildPlugin&gt;</em><em> </em></li>
</ol>
<h2>Special Considerations</h2>
<p>To enable CruiseControl to execute builds the following things need to be considered.</p>
<ol>
<li>Subversion – SVN needs to be installed to allow checking out of code that has been submitted from the clients.</li>
<li>Structure – Xunit has difficulty using virtual paths when executing tests. This means that paths need to be hard coded instead. This causes a problem when CCNet retrieves the code from SVN and attempts a build. If the path being used on CCNet doesn’t match the paths within the project files then compilation errors will occur. To avoid this, the paths on the client and server have to match. For example source files are located in C:\TestProjects\Example1\ on the client machine. The same structure will need to be replicated on the server by CCNet to avoid errors.</li>
<li>Without Visual Studio being installed on the server, certain files needed for compilation may be missing. One particular file is the <em>Microsoft.WebApplication.targets</em> required to build web applications. To resolve this error simply copy the file from a client machine and place it on the server. The standard location it can be found at and is required in is C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\</li>
<li>Ensure that the .NET 3.5 frame work has been installed on the server.</li>
<li>A blog detailing a real world set up of CCNet &#8211; <a href="http://richardsbraindump.blogspot.com/2007/06/real-world-cruisecontrolnet-setup.html">http://richardsbraindump.blogspot.com/2007/06/real-world-cruisecontrolnet-setup.html</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=40&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/10/13/cruisecontrol-net-server-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>Cruise Control.Net and MVC Solutions</title>
		<link>http://bladeoz.wordpress.com/2009/09/22/cruise-control-net-and-mvc-solutions/</link>
		<comments>http://bladeoz.wordpress.com/2009/09/22/cruise-control-net-and-mvc-solutions/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 23:09:32 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=30</guid>
		<description><![CDATA[Setting up the ccnet config file to run a MSBuild to test. Many examples use the following for the configuration &#60;msbuild&#62; &#60;executable&#62;C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727\MSBuild.exe&#60;/executable&#62; &#60;workingDirectory&#62;"Working directory goes here" &#60;/workingDirectory&#62; &#60;projectFile&#62;"Name of solution.sln"&#60;/projectFile&#62; &#60;buildArgs&#62;/noconsolelogger /p:Configuration=Debug /v:diag &#60;/buildArgs&#62; &#60;logger&#62;ThoughtWorks.CruiseControl.MsBuild.XMLLogger, C:\Program Files\CruiseControl.NET\server\ ThoughtWorks.CruiseControl.MsBuild.dll&#60;/logger&#62; &#60;/msbuild&#62; With the above example you&#8217;ll get the following message when building against an MVC solution [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=30&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Setting up the ccnet config file to run a MSBuild to test.</p>
<p>Many examples use the following for the configuration</p>
<pre><span style="color:#0000ff;">      &lt;</span><span style="color:#a31515;">msbuild</span><span style="color:#0000ff;">&gt;
        &lt;</span><span style="color:#a31515;">executable</span><span style="color:#0000ff;">&gt;</span>C:\WINDOWS\Microsoft.NET\Framework\
          v2.0.50727\MSBuild.exe<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">executable</span><span style="color:#0000ff;">&gt;
        &lt;</span><span style="color:#a31515;">workingDirectory</span><span style="color:#0000ff;">&gt;</span><span style="color:#0000ff;">"Working directory goes here"</span>
<span style="color:#0000ff;">          &lt;/</span><span style="color:#a31515;">workingDirectory</span><span style="color:#0000ff;">&gt;
        &lt;</span><span style="color:#a31515;">projectFile</span><span style="color:#0000ff;">&gt;"Name of solution.sln"</span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">projectFile</span><span style="color:#0000ff;">&gt;
        &lt;</span><span style="color:#a31515;">buildArgs</span><span style="color:#0000ff;">&gt;</span>/noconsolelogger /p:Configuration=Debug /v:diag
<span style="color:#0000ff;">          &lt;/</span><span style="color:#a31515;">buildArgs</span><span style="color:#0000ff;">&gt;
</span><span style="color:#0000ff;">        &lt;</span><span style="color:#a31515;">logger</span><span style="color:#0000ff;">&gt;</span>ThoughtWorks.CruiseControl.MsBuild.XMLLogger,
          C:\Program Files\CruiseControl.NET\server\
          ThoughtWorks.CruiseControl.MsBuild.dll<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">logger</span><span style="color:#0000ff;">&gt;
      &lt;/</span><span style="color:#a31515;">msbuild</span><span style="color:#0000ff;">&gt;

</span></pre>
<p>With the above example you&#8217;ll get the following message when building against an MVC solution</p>
<p><span style="color:#ff6600;">errorMSB5014: File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive.</span></p>
<p><span style="color:#ff6600;"><br />
</span></p>
<p><span style="color:#999999;">To resolve this simply change the executable to the following</span><span style="color:#0000ff;"> </span></p>
<pre><span style="color:#0000ff;">        &lt;</span><span style="color:#a31515;">executable</span><span style="color:#0000ff;">&gt;</span>C:\WINDOWS\Microsoft.NET\Framework\
          v3.5\MSBuild.exe<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">executable</span><span style="color:#0000ff;">&gt;

</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=30&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/09/22/cruise-control-net-and-mvc-solutions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>Unexpected node under &#8216;component&#8217; – Castle Windsor Error</title>
		<link>http://bladeoz.wordpress.com/2009/09/03/unexpected-node-under-component-%e2%80%93-castle-windsor-error/</link>
		<comments>http://bladeoz.wordpress.com/2009/09/03/unexpected-node-under-component-%e2%80%93-castle-windsor-error/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 01:24:59 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=26</guid>
		<description><![CDATA[While experimenting and following some Windsor Castle Examples I encountered the following error = &#8220;Unexpected node under &#8216;component&#8217;: Expected &#8216;component&#8217; but found &#8216;components&#8217;&#8221; The error occurred while I was implementing configuration parameters to make it easier to identify config files that were being used. In the WebConfig file I was implementing the castle functions as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=26&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While experimenting and following some Windsor Castle Examples I encountered the following error =<span style="color:#ff0000;"><span style="text-decoration:underline;"> </span><strong><em>&#8220;Unexpected node under &#8216;component&#8217;: Expected &#8216;component&#8217; but found &#8216;components&#8217;&#8221;</em></strong></span></p>
<p>The error occurred while I was implementing configuration parameters to make it easier to identify config files that were being used. In the WebConfig file I was implementing the castle functions as follows to switch between config files</p>
<p><span style="color:#00ffff;">&lt;castle&gt;</span></p>
<p><span style="color:#00ffff;">&lt;include uri=&#8221;file://Config\sample.config&#8221; /&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\debug.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\live.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!—- rest of config components go in here &#8211;&gt;&#8211;</span></p>
<p><span style="color:#00ffff;">&lt;/castle&gt;</span></p>
<p>The debug and live config files were empty and simply displayed the name of the file. To make the config cleaner I moved the components of the Web.config file and put them into the sample.config file. While doing this I also used the properties function to set the value of the file as follows</p>
<p><span style="color:#00ffff;">&lt;configuration&gt;</span></p>
<p><span style="color:#00ffff;">&lt;properties&gt;</span></p>
<p><span style="color:#00ffff;">&lt;configName&gt;Sample&lt;/configName&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/properties&gt;</span></p>
<p><span style="color:#00ffff;">&lt;components&gt;</span></p>
<p><span style="color:#00ffff;">&lt;component id=&#8221;taxcalc.service&#8221; type=&#8221;IOCSample1.Components.Sample2.TaxCalculator, IOCSample1&#8243;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;parameters&gt;</span></p>
<p><span style="color:#00ffff;">&lt;Rate&gt;0.125&lt;/Rate&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/parameters&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/component&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!—- rest of components in here à</span></p>
<p><span style="color:#00ffff;">&lt;/components&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/configuration&gt;</span></p>
<p>Then in the Web.config it was set up as follows</p>
<p><span style="color:#00ffff;">&lt;castle&gt;</span></p>
<p><span style="color:#00ffff;">&lt;components&gt;</span></p>
<p><span style="color:#00ffff;">&lt;include uri=&#8221;file://Config\sample.config&#8221; /&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\debug.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\live.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;component id=&#8221;whatConfig.service&#8221; type=&#8221;IOCSample1.Components.Sample5.WhatConfigurationService, IOCSample1&#8243;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;parameters&gt;</span></p>
<p><span style="color:#00ffff;">&lt;Configuration&gt;#{configName}&lt;/Configuration&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/parameters&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/component&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/components&gt;</span></p>
<p><span style="color:#00ffff;">&lt;/castle&gt;</span></p>
<p>When the page was run it failed with the following error</p>
<p><span style="text-decoration:underline;"><strong><em>Unexpected node under &#8216;component&#8217;: Expected &#8216;component&#8217; but found &#8216;components&#8217;</em></strong></span><strong> </strong></p>
<p><strong>Description: </strong>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
<p><strong>Exception Details: </strong>System.Configuration.ConfigurationErrorsException: Unexpected node under &#8216;component&#8217;: Expected &#8216;component&#8217; but found &#8216;components&#8217;</p>
<p>The cause for this error was a simple line placement mistake. The include files need to go before the components and not within the components section</p>
<p><span style="color:#00ffff;">&lt;castle&gt;</span></p>
<p><span style="color:#00ffff;">&lt;include uri=&#8221;file://Config\sample.config&#8221; /&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\debug.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;!&#8211;&lt;include uri=&#8221;file://Config\live.config&#8221; /&gt;&#8211;&gt;</span></p>
<p><span style="color:#00ffff;">&lt;components&gt; <span style="color:#ff0000;">Place the opening components tag after the include files</span><br />
</span></p>
<p><span style="color:#00ffff;">&lt;component id=&#8221;whatConfig.service&#8221;</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=26&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/09/03/unexpected-node-under-component-%e2%80%93-castle-windsor-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>DropDownList &#8211; MVC Helper</title>
		<link>http://bladeoz.wordpress.com/2009/08/13/dropdownlist-mvc-helper/</link>
		<comments>http://bladeoz.wordpress.com/2009/08/13/dropdownlist-mvc-helper/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 01:43:39 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=20</guid>
		<description><![CDATA[MVC has a dynamic way to fill content and values in a drop down list in the form of HTML.DropDownList. The following is a basic example of how to use the helper function DATABASE For this example the database has the following tables CREATE TABLE dbo.ListA ( ListVal   uniqueidentifier    NOT NULL CONSTRAINT PK_ListVal PRIMARY KEY [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=20&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MVC has a dynamic way to fill content and values in a drop down list in the form of <strong><em>HTML.DropDownList</em></strong>.</p>
<p>The following is a basic example of how to use the helper function</p>
<h3>DATABASE</h3>
<p>For this example the database has the following tables</p>
<p style="padding-left:30px;"><em>CREATE TABLE dbo.ListA (<br />
ListVal   uniqueidentifier    NOT NULL<br />
CONSTRAINT PK_ListVal PRIMARY KEY CLUSTERED<br />
CONSTRAINT DK_ListVal DEFAULT NewSequentialID(),<br />
ListName  nvarchar(15)        NOT NULL<br />
);</em></p>
<p style="padding-left:30px;"><em>CREATE TABLE dbo.ListB(<br />
ListName nvarchar(15) NOT NULL<br />
CONSTRAINT U_ListB_ListName UNIQUE<br />
);</em></p>
<h3>CONTROLLER</h3>
<p>Create an entitiy connection to the database model to generate the reference to the data.</p>
<p style="padding-left:30px;"><em>public Design_Entities _entities = new Design_Entities();</em></p>
<p>Within the function you are wanting to use the drop down list in enter the following</p>
<p style="padding-left:30px;"><span style="text-decoration:underline;"><em>ViewData[Label] = new SelectList(entity, value, name)</em></span></p>
<p style="padding-left:30px;"><em>public ActionResult Create() {<br />
var _list1 = from c in _entities.ListA select c;<br />
ViewData["ListA"] = new SelectList(_list1, &#8220;ListVal&#8221;, &#8220;ListName&#8221;);</em></p>
<p style="padding-left:30px;"><em> var _list2 = from c in _entities.ListB select c;<br />
ViewData["ListB"] = new SelectList(_list2, &#8220;ListName&#8221;);</em></p>
<p style="padding-left:30px;"><em> return View();<br />
}</em></p>
<h3>VIEW</h3>
<p>To use the bound data you use the following code in the view</p>
<p style="padding-left:30px;"><em>&lt;%= Html.DropDownList(&#8220;ListA&#8221;) %&gt;</em></p>
<p style="padding-left:30px;"><em>&lt;%= Html.DropDownList(&#8220;ListB&#8221;) %&gt;</em></p>
<p>The rendered view source code will look like this</p>
<p style="padding-left:30px;"><em>&lt;select id=&#8221;ListA&#8221; name=&#8221;ListA&#8221;&gt;&lt;option value=&#8221;"&gt;&lt;/option&gt;<br />
&lt;option value=&#8221;1&#8243;&gt;One&lt;/option&gt;<br />
&lt;option value=&#8221;2&#8243;&gt;Two&lt;/option&gt;<br />
&lt;option value=&#8221;3&#8243;&gt;Three&lt;/option&gt;<br />
&lt;option value=&#8221;4&#8243;&gt;Four&lt;/option&gt;<br />
&lt;/select&gt;</em></p>
<p style="padding-left:30px;"><em>&lt;select id=&#8221;ListB&#8221; name=&#8221;ListB&#8221;&gt;&lt;option value=&#8221;"&gt;&lt;/option&gt;<br />
&lt;option&gt;One&lt;/option&gt;<br />
&lt;option&gt;Two&lt;/option&gt;<br />
&lt;option&gt;Three&lt;/option&gt;<br />
&lt;option&gt;Four&lt;/option&gt;<br />
&lt;/select&gt;</em></p>
<h3>THINGS TO WATCH FOR</h3>
<p>With the above example the source code shows no values for ListB. Most would consider that since ListB has only one column that the helper would use this as both the selection value and the selection name. However the helper simply sees the column as an object and not a value. To get around this use the same option as List A</p>
<p style="padding-left:30px;"><em>var _list2 = from c in _entities.ListB select c;<br />
ViewData["ListB"] = new SelectList(_list2, &#8220;ListName&#8221;, &#8220;ListName&#8221;);</em></p>
<p>By assigning the column to both the value and the text it will give you the following source code</p>
<p style="padding-left:30px;"><em>&lt;select id=&#8221;ListB&#8221; name=&#8221;ListB&#8221;&gt;&lt;option value=&#8221;"&gt;&lt;/option&gt;<br />
&lt;option value=&#8221;One&#8221;&gt;One&lt;/option&gt;<br />
&lt;option value=&#8221;Two&#8221;&gt;Two&lt;/option&gt;<br />
&lt;option value=&#8221;Three&#8221;&gt;Three&lt;/option&gt;<br />
&lt;option value=&#8221;Four&#8221;&gt;Four&lt;/option&gt;<br />
&lt;/select&gt;</em></p>
<p>Also you can include a default option by putting the option label after the Data reference in the helper.</p>
<p style="padding-left:30px;"><em>&lt;%= Html.DropDownList(&#8220;ListA&#8221;, &#8220;On the count of&#8230;&#8221;) %&gt;</em></p>
<p style="padding-left:30px;"><em>&lt;select id=&#8221;ListA&#8221; name=&#8221;ListA&#8221;&gt;&lt;option value=&#8221;"&gt;On the count of&#8230;&lt;/option&gt;<br />
&lt;option value=&#8221;1&#8243;&gt;One&lt;/option&gt;<br />
&lt;option value=&#8221;2&#8243;&gt;Two&lt;/option&gt;<br />
&lt;option value=&#8221;3&#8243;&gt;Three&lt;/option&gt;<br />
&lt;option value=&#8221;4&#8243;&gt;Four&lt;/option&gt;<br />
&lt;/select&gt;</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=20&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/08/13/dropdownlist-mvc-helper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>Reporting Services User Permissions</title>
		<link>http://bladeoz.wordpress.com/2009/06/26/reporting-services-user-permissions/</link>
		<comments>http://bladeoz.wordpress.com/2009/06/26/reporting-services-user-permissions/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 02:00:02 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=15</guid>
		<description><![CDATA[Setting up a new Windows Server 2003 R2 Standard x64 edition there was some difficulty in configuring the Reporting Services. Despite following the standard setup, Reporting Services would always ask for the user name and password to access the Report Manager. Report Manager was not using the default user account information to start the service. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=15&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Setting up a new Windows Server 2003 R2 Standard x64 edition there was some difficulty in configuring the Reporting Services. Despite following the standard setup, Reporting Services would always ask for the user name and password to access the Report Manager.</p>
<p>Report Manager was not using the default user account information to start the service. After several changes to the user account settings in IIS, Report Manager and the computer User accounts there was no change. The solution to this problem turned out to be very easy to rectify.</p>
<p>During a new server installation, Internet Explorer V6.0 SP1 is installed and  is set to an Enhanced Security Configuration. This results in IE performing in abnormal ways when looking at websites. This includes impersonation of user accounts.</p>
<p>By default the <em>https:\\localhost</em> address is included in the Local Intranet Trusted list. You also need to include the <em>http:\\localhost</em> address in this section as well. If the localhost address is included in the Trusted Sites list it will not work.</p>
<p>http://jwwishart.wordpress.com/2009/06/25/installing-sql-server-2005-reporting-services-on-vista/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=15&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/06/26/reporting-services-user-permissions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu Black Screen</title>
		<link>http://bladeoz.wordpress.com/2009/06/26/ubuntu-black-screen/</link>
		<comments>http://bladeoz.wordpress.com/2009/06/26/ubuntu-black-screen/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 01:43:54 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=7</guid>
		<description><![CDATA[Ubuntu installation went ok until after loging in on the reboot. The screen would go black and only the mouse cursor would move. The solution is to reboot the machine and press ESC to enter the boot options. Choose the recovery mode and then select the command root option. Enter the command sudo apt-get remove [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=7&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ubuntu installation went ok until after loging in on the reboot. The screen would go black and only the mouse cursor would move.</p>
<p>The solution is to reboot the machine and press ESC to enter the boot options. Choose the recovery mode and then select the command root option. Enter the command <em><strong>sudo apt-get remove compiz compiz-core</strong></em> and press enter.</p>
<p>Once this has completed removing the packages simply reboot the machine and the GUI functions should be disabled and using default graphics drivers</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=7&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/06/26/ubuntu-black-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
		<item>
		<title>Reporting Services Print Error</title>
		<link>http://bladeoz.wordpress.com/2009/05/29/reporting-services-print-error/</link>
		<comments>http://bladeoz.wordpress.com/2009/05/29/reporting-services-print-error/#comments</comments>
		<pubDate>Fri, 29 May 2009 02:24:02 +0000</pubDate>
		<dc:creator>Neal Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bladeoz.wordpress.com/?p=3</guid>
		<description><![CDATA[While printing a report in Reporting Services an error regarding being “unable to load client print control” can occur. Researched various sites regarding RS printing errors. In particular there is a error regrading a Microsoft Hot Fix that interferes with the Active X functions. http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx Microsoft Update 956391 has a kill bit function that disables [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=3&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } --></p>
<p style="margin-bottom:0;">While printing a report in Reporting Services an error regarding being “unable to load client print control” can occur.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Researched various sites regarding RS printing errors. In particular there is a error regrading a Microsoft Hot Fix that interferes with the Active X functions.</p>
<p style="margin-bottom:0;"><a href="http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx">http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx</a></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Microsoft Update 956391 has a kill bit function that disables the print functions attached to Reporting Services within IE. Most people have found removing the update fixes the error however it does leave the system open to security issues that were resolved by the update.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Installing the latest updates should resolve the issue in most cases without needing to remove the affected patch.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">However  the error may keep recurring or a new error relating to the library resource files may become apparent. It&#8217;s recommended to remove the RSClientPrint active X control and rerun the print job to install the Active X control again. If this doesn&#8217;t resolve the problem the best approach is to clear all affected RSClientPrint files and try again.</p>
<p style="margin-bottom:0;"><a href="http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/792cc550-304d-4326-a0a5-0dd430092f7f">http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/792cc550-304d-4326-a0a5-0dd430092f7f</a></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">The above article has a section relating to the repairing of this error. Steps followed were</p>
<ul>
<li>
<p style="margin-bottom:0;">Unregistered the RSClientPrint.dll 	from System32</p>
</li>
<li>
<p style="margin-bottom:0;">Deleted all of the RSClientPrint* 	files from System32</p>
</li>
<li>Removed (Right-click &gt; Remove) the currently registered 	RSClientPrint control the Downloaded Program Files directory</li>
</ul>
<p style="margin-bottom:0;">This seemed to correct any issues and the Active X functions installed without any errors.</p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bladeoz.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bladeoz.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bladeoz.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bladeoz.wordpress.com&amp;blog=7885249&amp;post=3&amp;subd=bladeoz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bladeoz.wordpress.com/2009/05/29/reporting-services-print-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5fde09df0d1ff42a17d80cb49464be8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bladeoz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
