<?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>Nick Armstrong: Colorado&#039;s Storytelling Small Business Marketing Expert and Funny Public Speaker &#187; MVC</title>
	<atom:link href="http://www.iamnickarmstrong.com/tag/mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iamnickarmstrong.com</link>
	<description>Nick Armstrong is Colorado&#039;s storytelling small business marketing expert and funny public speaker. He specializes in creating funny speeches, revamping failing social media campaigns, community building, and creative problem solving for small businesses.</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:21:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Silverlight and MVC: Thunderstorm in Paradise</title>
		<link>http://www.iamnickarmstrong.com/2009/03/silverlight-and-mvc-thunderstorm-in-paradise/</link>
		<comments>http://www.iamnickarmstrong.com/2009/03/silverlight-and-mvc-thunderstorm-in-paradise/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 19:05:01 +0000</pubDate>
		<dc:creator>Nick Armstrong</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WIN]]></category>

		<guid isPermaLink="false">http://www.iamnickarmstrong.com/?p=466</guid>
		<description><![CDATA[New developers tend to get frustrated when confronted with random, weird errors.  Enough to start uninstalling anything and everything like they're paid by the byte.  I take a more pragmatic approach: why perform an appendectomy with a sledgehammer when a scalple is indicated?]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.flickr.com/photos/slack12/956561478/" target="_blank"><img class="alignright size-full wp-image-467" style="border: 2px solid black; margin: 2px;" title="Thunderstorm in Paradise" src="http://www.iamnickarmstrong.com/wp-content/uploads/2009/03/thunderstorminparadise.jpg" alt="Thunderstorm in Paradise" width="240" height="159" /></a>The wind was howling, random raindrops spattered anything unsheltered like tiny shotgun pellets&#8230; and <em>inside the office, Visual Studio 2008 would not create a Silverlight application with an <a title="MVC 1.0" href="http://haacked.com/archive/2009/03/18/aspnet-mvc-rtw.aspx" target="_blank">MVC </a>site to host it.</em></strong></p>
<p>These sorts of things happen a lot.  Some miscellaneous installation or setting or patch gets installed and somehow breaks an otherwise well-tuned system.  As a developer, you just come to expect that working with new technology, one or two days out of each month will be lost to technical difficulties.</p>
<p><strong>New developers tend to get frustrated</strong> when confronted with random, weird errors.  Enough to start uninstalling anything and everything like they&#8217;re paid by the byte.  <strong>I take a more pragmatic approach</strong>: why perform an appendectomy with a sledgehammer when a scalpel is indicated?</p>
<p>A brief aside here: my best friend, at the slightest hint of computer rebellion/slowing/impending gnome invasion by any of his computers, instigates what I like to call the &#8220;<strong>scorched rogaine</strong>&#8221; policy (<em>he doesn&#8217;t have a lot of hair</em>) and re-formats his computer.  It&#8217;s something that has always bugged me and at least once every 6 months reminds me of difference between a sledgehammer and a scalpel.</p>
<p>It didn&#8217;t help that my <a title="Silverlight SDK" href="http://silverlight.net/GetStarted/" target="_blank">Silverlight SDK </a>installation was so rocky; I was surprised Visual Studio allowed me to create any Silverlight applications <em>at all</em>.</p>
<p>I went through at least 5 installation cycles, each one having removed a separate component that I suspected was causing the problem&#8230; each time getting &#8220;FATAL ERROR DURING INSTALLATION&#8221; errors&#8230; with no description.</p>
<p>As it turns out, if you&#8217;re having problems installing the Silverlight Tools for Visual Studio, you have to go to Add/Remove Programs, and remove anything that references Silverlight &#8211; <em>even the plug-in</em>.</p>
<p><strong><a href="http://www.flickr.com/photos/coolmel/144582345/" target="_blank"><img class="alignleft size-full wp-image-470" style="border: 2px solid black; margin: 2px;" title="Dumb Happens" src="http://www.iamnickarmstrong.com/wp-content/uploads/2009/03/dumbhappens.jpg" alt="Dumb Happens" width="157" height="240" /></a>The installer is just not smart enough</strong> to uninstall everything on its own or patch the necessary components on top of an existing installation (even if that installation was just the browser components).</p>
<p>That was problem one, solved as of Friday.  Then began problem two &#8211; this morning.  While attempting to create a new Silverlight app (using <a title="Silverlight.net" href="http://www.silverlight.net">the latest SDK from Silverlight.net</a>) with an <a title="MVC 1.0" href="http://geekswithblogs.net/ranganh/archive/2009/03/18/download-asp.net-mvc-1.0.aspx" target="_blank">MVC</a> shell, I received an error:</p>
<p><em><strong>&#8220;could not be found. (Exception from HRESULT: 0&#215;80030002 (STG_E_FILENOTFOUND))&#8221;</strong></em></p>
<p>Followed by:</p>
<p><em><strong>&#8220;Project Unavailable.&#8221;</strong></em></p>
<p>Nice error, right? <a title="Google Search" href="http://www.google.com/search?client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;channel=s&amp;hl=en&amp;q=could+not+be+found.+(Exception+from+HRESULT%3A+0x80030002+(STG_E_FILENOTFOUND))&amp;btnG=Google+Search" target="_blank">A Google search</a> revealed&#8230; nothing.</p>
<p>After contemplating a complete re-install of Visual Studio and a re-install of each component in line to test functionality&#8230; I decided to be stubbornly pragmatic.  The whole VS2008 re-install would take up about <a title="43 Folders" href="http://www.43folders.com/" target="_blank">4 hours of productivity</a> that I didn&#8217;t want to waste.</p>
<p>First I uninstalled and re-installed anything Silverlight, rebooted, and started again.</p>
<p><strong>No luck.</strong></p>
<p>Sticking with the stubborn, I decided that maybe MVC 1.0 RC2 (the version I was using) might be the culprit &#8211; even if RC1 and BETA were both working with Silverlight just fine.  It was off to <a title="Microsoft MVC 1.0 site" href="http://www.asp.net/mvc/" target="_blank">the Microsoft MVC site</a> to download the 1.0 release.  I guess I shouldn&#8217;t have been surprised when it refused to install because I already had the MVC 1.0 RC2 installed&#8230;</p>
<p><a href="http://www.flickr.com/photos/slack12/1087014722/" target="_blank"><img class="size-full wp-image-468 alignright" style="border: 2px solid black; margin: 2px;" title="Edge of Storm" src="http://www.iamnickarmstrong.com/wp-content/uploads/2009/03/edgeofstorm.jpg" alt="Edge of Storm" width="240" height="161" /></a>A quick trip back to Add/Remove programs fixed that &#8211; MVC 1.0 installed right on top.</p>
<p>Right about then, the clouds started to clear, and I was greeted with a surprising, but somewhat rare friend: <strong>success</strong>.</p>
<p>Pragmatism won out again, my best friend still didn&#8217;t have much hair, and the scalpel made some quick work and allowed me to skip over the massive patching of holes that a total uninstall of VS2008 would have led me to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamnickarmstrong.com/2009/03/silverlight-and-mvc-thunderstorm-in-paradise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

