6

Resolved

App crashes when clicked on Photo & Stories

description

When opening up the Windsor.family file and selecting Prince Charles then click on Photos & Stories the app crashes. The same thing will occur with various people. I've been able to reproduce on 2 different machines.

file attachments

comments

timsneath wrote Jul 18, 2007 at 8:25 PM

Thanks for the feedback. I can't actually repro this - could you give us some more information about the machine? What version of Windows? What are the exact steps you took to hit this crash? Did you have a previous version of Family.Show installed prior to this? If you run it in debug mode from within Visual Studio, do you hit an exception? Thanks for your help.

pstatho wrote Jul 19, 2007 at 2:28 AM

Both machines are Windows XP, obviously with .NET 3.0. One machine previously had Family.Show 1.0 which was unintalled. The other machine never had any version of Family.Show on it. The steps to reproduce are described in my original post:1) opening up the Windsor.family file2) selecting Prince Charles 3) click on Photos & Stories 4) app crashes

I can't debug it because I don't have Orcas, so I can't debug the project. It appears to be a VS2008 project.

rosssaunders wrote Jul 19, 2007 at 11:19 AM

Hi, I get the exact same problem on my computers (one running Vista Ultimate, and another XP SP2).

I've run the app from VS 2005 with 3.0 designers installed and the exact error message that occurs is:

System.Windows.Markup.XamlParseException was unhandled Message="Cannot find resource named '{PrimaryAvatarConverter}'. Resource names are case sensitive. Error at object 'System.Windows.Data.Binding' in markup file 'FamilyShow;component/Skins/Black/Resources/DataTemplates.xaml' Line 12 Position 18."

rosssaunders wrote Jul 19, 2007 at 11:22 AM

This problem only occurs when using the Black skin. When using the Silver skin everything works fine. Looks like a resource file was missing from the build.

posburn wrote Jul 20, 2007 at 6:23 PM

I'm unable to reproduce this error as well. We're looking in to it.

In the meantime, there may be a workaround. Before going into the photos and stories window, try saving the Windsor file. Then try to reproduce the error.

PatrickCBrown wrote Apr 29, 2008 at 9:52 PM

Hi

It is interesting, I saw this issue also. I started to begin the debug process and was able to reproduce it a time or two but after switching between the Silver and Black Skin it is no longer reproducable. I plan to get back to looking for this after I finish looking at the display issue with the CollapseDetailsEdit StoryBoard. I can say that it does not appear to be a missing resource, I looked at this for a bit before I lost reproducability.

Thanks
Patrick

PatrickCBrown wrote Apr 29, 2008 at 10:07 PM

Hello

It is actually pretty easy on my machines to make it re-reproducable. If I locate and delete the Application Data folder for Family Show ( located under Documents and Settings\Username\Local Settings\Microsoft\FamilyShow.exe_StrongName..., the issue is reproducable. I'll dig around in the source a bit tomorrow and see if I can find the bug.

Thanks
Patrick

PatrickCBrown wrote Apr 29, 2008 at 10:53 PM

Hello Sorry, I am really spamming you all today. I am still studying why it is the fix, but this does take care of the issue. Change App.xaml to this: <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.FamilyShow.App" StartupUri="MainWindow.xaml" > <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Skins\Black\Resources\SimpleStyles.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\BrushResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\ControlResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\ConverterResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\DataTemplates.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\DiagramResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\GlobalResources.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> From this: <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.FamilyShow.App" StartupUri="MainWindow.xaml" > <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Skins\Black\BlackResources.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> Sorry, I am quite new to WPF, I have to research a bit to see exactly what was the issue with the previous implementation. Thanks Patrick

PatrickCBrown wrote Apr 29, 2008 at 10:54 PM

Hello Sorry, I am really spamming you all today. I am still studying why it is the fix, but this does take care of the issue. Change App.xaml to this: <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.FamilyShow.App" StartupUri="MainWindow.xaml" > <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Skins\Black\Resources\SimpleStyles.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\BrushResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\ControlResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\ConverterResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\DataTemplates.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\DiagramResources.xaml"/> <ResourceDictionary Source="Skins\Black\Resources\GlobalResources.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> From this: <Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.FamilyShow.App" StartupUri="MainWindow.xaml" > <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Skins\Black\BlackResources.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application> Sorry, I am quite new to WPF, I have to research a bit to see exactly what was the issue with the previous implementation. Thanks Patrick