2
Vote

Urgent -- Productivity Hub Bookshelf Source Code Help

description

I have downloaded the sourcecode for the bookshelf and getting some compilation issues. I am very new to Silverlight so not sure what is the issue.
Here are the details:
  1. if I compile the code the .xam file gets created but I see issues as:
    i. Error 1 Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Expression.Blend.SampleData.BooksSampleDataSource' that is not included in the assembly.
    ii. Error 2 Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Expression.Blend.SampleData.FileSampleDataSource1' that is not included in the assembly.
    iii. Error 3 Cannot create an instance of "Bookshelf".
     
  2. Also if I upload the XAP file in Sharepoint, the web part shows fine but I see a browser error as :
    i. Webpage error details
    Message: Unhandled Error in Silverlight Application Set property 'System.Windows.FrameworkElement.Style' threw an exception. [Line: 0 Position: 0]
     
    ii. Message: Unhandled Error in Silverlight Application Failed to Invoke: hub2010_FetchFavoritesXmlForSilverlight. at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
    at Microsoft.ProductivityHub.SilverlightBookshelf.SharePointData.SharePointData_UserLoadedEvent(User currentUser)
    Line: 1
    Char: 1
    Code: 0
    URI: http://nyvmspwebdevtsa/sites/Office2010/SitePages/TestBookshelf.aspx
     
    I am attaching a word document for your reference. I really appreciate your help. It is really critical as I need to make some changes.

file attachments

comments

Burdesr wrote Jul 31, 2012 at 9:29 PM

Hi did you get a fix for this? I got similar issues, rebuilt the VM with only silverlight 3 & 4 and was able to build with no errors, but then got your same error for Unhandled Error in Silverlight Application Failed to Invoke: hub2010_FetchFavoritesXmlForSilverlight. which prevents the user favourites being picked up..

wrote Feb 14, 2013 at 6:15 PM