<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Cocktail Lesson 4</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Cocktail Lesson 4</description>
  <pubDate>Sat, 11 Apr 2026 01:14:22 -700</pubDate>
  <lastBuildDate>Thu, 23 Feb 2012 09:21:34 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3278</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Cocktail Lesson 4 :   Ward,I found the problem....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12757#12757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1401" rel="nofollow">madcatrobert</a><br /><strong>Subject:</strong> 3278<br /><strong>Posted:</strong> 23-Feb-2012 at 9:21am<br /><br />Ward,<div>&nbsp;</div><div>I found the problem. Line 12 of MainPage.xaml was this: &lt;ResourceDictionary Source="<font color="#cc0000">H</font>appyHour;component/Views/DrinkOrderDataTemplate.xaml" /&gt; What was missing was the preceeding /Happy…</div><div>&nbsp;</div><div>Eyes missed it but WinMerge found it.</div>]]>
   </description>
   <pubDate>Thu, 23 Feb 2012 09:21:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12757#12757</guid>
  </item> 
  <item>
   <title>Cocktail Lesson 4 :    uploads/1401/HappyHour.zipHi...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12719#12719</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1401" rel="nofollow">madcatrobert</a><br /><strong>Subject:</strong> 3278<br /><strong>Posted:</strong> 21-Feb-2012 at 12:56pm<br /><br /><a href="uploads/1401/HappyHour.zip" target="_blank">uploads/1401/HappyHour.zip</a>Hi Ward,<div>&nbsp;</div><div>Actually I am using Silverlight 5 and you may call me Robert. I checked the spelling and all is correct and Build Action is Page. So, I am uploading to you HappyHour.zip for your persusal. I have removed all bineries; i.e., .dll and .pdb as well as files created by the compiler.</div><div>&nbsp;</div><div>Should you require anything else, please respond through the forum.</div><div>&nbsp;</div><div>Thanks,</div><div>MCR</div>]]>
   </description>
   <pubDate>Tue, 21 Feb 2012 12:56:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12719#12719</guid>
  </item> 
  <item>
   <title>Cocktail Lesson 4 :    Hi madcatrobert (may I call...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12715#12715</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 3278<br /><strong>Posted:</strong> 21-Feb-2012 at 12:16pm<br /><br />Hi madcatrobert (may I call you MadCat?).<div>&nbsp;</div><div>I just cleaned and rebuilt my copy of Lesson 4 (the Silverlight 4 version, right?) and it works fine on my machine. So my first question to you is "have you tried building and running the sample lesson 4 ... exactly as it was shipped?"</div><div>&nbsp;</div><div>If&nbsp;fails in this manner&nbsp;on the shipped sample, then we need to follow a different path to resolution. For the balance of THIS reply, I'll suppose that you are following the Lesson 4 instructions by hand. Perhaps there is a glitch in the instructions; it would be great if you helped me find it so I can get those instructions back on track.</div><div>&nbsp;</div><div>There are several ways to produce the exception you're reporting. I just did it on purpose to myself ... by changing the "Build Action" on my <em><strong>"/Views/DrinkOrderDataTemplate.xaml</strong></em>" from "<strong>Page</strong>" to "None". A misspelling of "DrinkOrderDataTemplate.xaml" would cause that exception as well.</div><div>&nbsp;</div><div>These are logical places to start looking. If you still have this problem after making sure that&nbsp;you don't have a&nbsp;transcription error, or a Build Action problem ... or if it doesn't work when you use the shipped lesson code, get back to us right away.</div><div>&nbsp;</div><div>It might be useful then to&nbsp;<strong>attach a zip of the</strong> <strong>code to your report</strong> (plrease exclude all binaries&nbsp;... and please don't paste the source code into your report).</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 21 Feb 2012 12:16:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12715#12715</guid>
  </item> 
  <item>
   <title>Cocktail Lesson 4 : When I ran the code after completion...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12710#12710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1401" rel="nofollow">madcatrobert</a><br /><strong>Subject:</strong> 3278<br /><strong>Posted:</strong> 21-Feb-2012 at 9:21am<br /><br />When I ran the code after completion of Lesson 4, the following error was thrown: <dir><font color="#ff0000" size="2"><font color="#ff0000" size="2"><p>SCRIPT5022: Unhandled Error in Silverlight Application <br>Code: 4004    <br>Category: ManagedRuntimeError       <br>Message: System.Windows.Markup.XamlParseException: Failed to assign to property 'System.Windows.ResourceDictionary.Source'. &#091;Line: 12 Position: 44&#093;<br>   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)<br>   at HappyHour.Views.MainPage.InitializeComponent()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p></font><p>&nbsp;</p></font><p><a href="http://www.ideablade.com/forum/0" target="_blank"><u><font color="#0066cc" size="2"><font color="#0066cc" size="2">HappyHourTestPage.html, line 54 character 13</font></font></u></a></p><div>The line of xaml code in MainPage.xaml&nbsp;is: &lt;ResourceDictionary Source="HappyHour;component/Views/DrinkOrderDataTemplate.xaml" &gt;</div><div>&nbsp;</div><div>After checking my code against, it seems that everything is the same, so what is causing thei error? How do I find the fix?</div><div>&nbsp;</div><div>Thanks</div><p><font size="1" face="MS Shell Dlg 2"><font size="1" face="MS Shell Dlg 2"></font></font></p></dir><font size="1" face="MS Shell Dlg 2"><font size="1" face="MS Shell Dlg 2"></font></font>]]>
   </description>
   <pubDate>Tue, 21 Feb 2012 09:21:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3278&amp;PID=12710#12710</guid>
  </item> 
 </channel>
</rss>