Could not find file 'PlayerId.txt' when used in DataTemplate

Oct 5, 2010 at 8:14 AM
Edited Oct 5, 2010 at 10:17 AM

What is this exception about? I traced this facility at the src project and found that it is the isolated storage, but I cannot manage to understand why does this exception occurs in the context of my application:

Message=Could not find file 'PlayerId.txt'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

I am using this control inside in an itemtemplate. For example if I try to use it in combination with the a coverflow control (found here in codeplex, doesn't matter really), the following code produces this error upon initialization.



                    <neciControls:CoverFlowControl x:Name="cameraFlowControl" CacheMode="BitmapCache" ItemsSource="{Binding Cameras, Mode=OneWay}" >
                                <Border CornerRadius="10" BorderBrush="Black" BorderThickness="2" Background="Black" >
                                <!--<MediaElement x:Name="MediaPlayer" Source="{Binding StreamUrl}" AutoPlay="False" MouseLeftButtonDown="MediaPlayer_MouseLeftButtonDown"/>--> <smf:SMFPlayer> <smf:SMFPlayer.Playlist> <media:PlaylistItem DeliveryMethod="ProgressiveDownload" MediaSource="http://localhost/Test%20PC2.asx"/> </smf:SMFPlayer.Playlist> </smf:SMFPlayer> </Border> </DataTemplate> </neciControls:CoverFlowControl.ItemTemplate> </neciControls:CoverFlowControl>