IsolatedStorageException in DataCollector

Mar 25, 2011 at 3:10 PM

I created a small sample project to test this framework I got that working fine logging to the IE 9 console.  But, when I copy the same xaml, and reference the same assemblies, to my existing silverlight project nothing works.  My existing project uses SMF media player and is also a RIA services client project.  I suspect there is something going on with MEF but not sure.  I'm open to ideas on how to resolve this.... 

 

-- popup reset password screen 

<controls:ChildWindow x:Class="MediaPlayerTemplate.Forms.ResetPasswordWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:mwab="clr-namespace:Microsoft.WebAnalytics.Behaviors;assembly=Microsoft.WebAnalytics.Behaviors" xmlns:Controls="clr-namespace:MediaPlayerTemplate.Controls" Width="320" Height="259" 
           Title="Reset Password" >
    <Grid x:Name="LayoutRoot" Margin="2">
        <i:Interaction.Behaviors>
            <mwab:ConsoleAnalytics></mwab:ConsoleAnalytics>
        </i:Interaction.Behaviors>

        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" >
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Click">
                    <mwab:TrackAction/>
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Button>
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" >
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Click">
                    <mwab:TrackAction/>
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Button>
    </Grid>
</controls:ChildWindow>

-- references section from my silverlight project

  <ItemGroup>
    <Reference Include="GalaSoft.MvvmLight.Extras.SL4">
      <HintPath>..\packages\MvvmLight.3.0.0.29166\lib\SL4\GalaSoft.MvvmLight.Extras.SL4.dll</HintPath>
    </Reference>
    <Reference Include="GalaSoft.MvvmLight.SL4">
      <HintPath>..\packages\MvvmLight.3.0.0.29166\lib\SL4\GalaSoft.MvvmLight.SL4.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Expression.Drawing" />
    <Reference Include="Microsoft.Expression.Interactions" />
    <Reference Include="Microsoft.SilverlightMediaFramework.Core, Version=2.2011.111.3, Culture=neutral, PublicKeyToken=6687ff884a90c6a6, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.SilverlightMediaFramework.Diagnostics">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Diagnostics.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Logging">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Logging.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins, Version=2.2011.111.3, Culture=neutral, PublicKeyToken=3dd5df9571bfd1e7, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins.Heuristics">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Plugins.Heuristics.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins.Monitoring">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Plugins.Monitoring.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins.Progressive">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Plugins.Progressive.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming">
      <HintPath>..\..\..\..\..\SMF Player\bin2.4\Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Plugins.TimedText">
      <HintPath>..\..\..\..\..\SMF Player\bin\Microsoft.SilverlightMediaFramework.Plugins.TimedText.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.SilverlightMediaFramework.Utilities, Version=2.2011.111.3, Culture=neutral, PublicKeyToken=2018901a52f7a62c, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.Web.Media.SmoothStreaming, Version=1.5.938.90, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.WebAnalytics, Version=1.4.3.0, Culture=neutral, PublicKeyToken=7a32084d620a2a02, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.WebAnalytics.Behaviors, Version=1.4.6.0, Culture=neutral, PublicKeyToken=07697e7307d85d7b, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.WebAnalytics.SMF2, Version=1.4.10.0, Culture=neutral, PublicKeyToken=8dd5088b9ec5ca10, processorArchitecture=MSIL" />
    <Reference Include="System.ComponentModel.Composition" />
    <Reference Include="System.ComponentModel.Composition.Initialization" />
    <Reference Include="System.ComponentModel.DataAnnotations, Version=2.0.5.0, Culture=neutral, PublicKeyToken=ddd0da4d3e678217, processorArchitecture=MSIL" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.ServiceModel.DomainServices.Client, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.ServiceModel.DomainServices.Client.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.ServiceModel.Web.Extensions, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows" />
    <Reference Include="mscorlib" />
    <Reference Include="system" />
    <Reference Include="System.Core" />
    <Reference Include="System.Net" />
    <Reference Include="System.Windows.Controls, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows.Controls.Data.DataForm.Toolkit, Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows.Controls.Data.Input, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows.Controls.Navigation" />
    <Reference Include="System.Windows.Controls.Toolkit, Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows.Interactivity, Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <HintPath>..\packages\MvvmLight.3.0.0.29166\lib\SL4\System.Windows.Interactivity.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml" />
    <Reference Include="System.Windows.Browser" />
  </ItemGroup>


Mar 25, 2011 at 4:43 PM

After debugging code I found an exception caught in DataCollector

 

{System.IO.IsolatedStorage.IsolatedStorageException: There is not enough free space to perform the operation.   at System.IO.IsolatedStorage.IsolatedStorageFile.Reserve(UInt64 lReserve)   at System.IO.IsolatedStorage.IsolatedStorageFile.FetchOrCreateStore(String groupName, String storeName, IsolatedStorageFile isf)   at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStore(String group, String id)   at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForApplication()   at System.IO.IsolatedStorage.IsolatedStorageSettings.get_ApplicationSettings()   at Microsoft.WebAnalytics.DataCollector.get_IsEnabled()}

 

Now, I'm trying to figure out why this exception is being thrown.  

Mar 25, 2011 at 5:35 PM

my quota was full for http://localhost.  I deleted it and everything is good now.  Is it possible for the DataCollector to prompt the user to increase their isolated storage if it is full?