Exception when persisting

7 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 02 Dec 2011 Link to this post

     

    Hi,

    I have a main application and when the user click on a button, I create a dialog to display some informations. When a display this dialog, I restore his persistence and whe the user close this dialog, I save his persistence. After 2 or 3 attempts of displaying this dialog, my main application throw me an exception.

    Environment:
    VS2008
    DotNet: 3.5
    Telerik: 2011.3.1116.35

    Here is my main application call:

    private void btnPhone_Click(object sender, RoutedEventArgs e)

    {

    ReferringInfos dialog = new ReferringInfos(mDataSource, mCurrentVisit.ReferringPhysician, mCurrentVisit.ReferringPhones, true);

    dialog.ShowDialog();

    }

    Here is my ReferringInfos class and xaml:

    using System;

    using System.Collections.Generic;

    using System.Linq;

    using System.Text;

    using System.Windows;

    using System.Windows.Controls;

    using System.Windows.Data;

    using System.Windows.Documents;

    using System.Windows.Input;

    using System.Windows.Media;

    using System.Windows.Media.Imaging;

    using System.Windows.Navigation;

    using System.Windows.Shapes;

    using com.ChristieGrp.Localisation;

    using com.christiegrp.Neuron.Client;

    using Telerik.Windows.Controls;

    namespace com.christiegrp.Neuron.ClientApplication

    {

    /// <summary>

    /// Interaction logic for ReferringInfos.xaml

    /// </summary>

    public partial class ReferringInfos : RadWindow

    {

    #region Constructors.

    static ReferringInfos()

    {

    StyleManager.ApplicationTheme = new Office_BlueTheme();

    LocalizationManager.Manager = new CustomLocalizationManager();

    }

    public ReferringInfos(NeuronDataSource pDataSource, string pReferringName, ShortPhoneNumber[] pPhoneList, Boolean pPersistence)

    {

    InitializeComponent();

    mDataSource = pDataSource;

    mPersistence = pPersistence;

    this.ReferringName = pReferringName;

    mPhoneNumbers = new List<PhoneNumber>();

    fillPhoneNumbers(pPhoneList);

    radGridView.ItemsSource = mPhoneNumbers;

    Header = mDataSource.BuildFormName(LocGeneral.GetControlText("ReferringInfos"));

    }

    #endregion

    #region Dependency properties.

    public static readonly DependencyProperty ReferringNameProperty = DependencyProperty.Register("ReferringName", typeof(string), typeof(ReferringInfos));

    #endregion

    #region Public properties.

    public string ReferringName

    {

    get

    {

    return (string)GetValue(ReferringNameProperty);

    }

    set

    {

    SetValue(ReferringNameProperty, value);

    }

    }

    #endregion

    #region Private methods.

    private void fillPhoneNumbers(ShortPhoneNumber[] pPhoneList)

    {

    foreach (ShortPhoneNumber item in pPhoneList)

    {

    PhoneNumber phone = new PhoneNumber();

    phone.Number = item.PhoneNumber;

    phone.TypeCode = item.TypeCode;

    mPhoneNumbers.Add(phone);

    }

    }

    #endregion

    #region Private events handler.

    /// <summary>

    /// Change dialog resources.

    /// </summary>

    /// <param name="sender"></param>

    /// <param name="e"></param>

    private void ReplaceLanguageResources(object sender, EventArgs e)

    {

    Localisation.SetUILanguage(this, "ReferringInfos", mDataSource);

    }

    /// <summary>

    /// Dialog is closing.

    /// </summary>

    /// <param name="sender"></param>

    /// <param name="e"></param>

    private void RadWindow_PreviewClosed(object sender, WindowPreviewClosedEventArgs e)

    {

    if (mPersistence)

    {

    string errMsg;

    PersistenceStorage.Persist(PersistenceStorage.PersistenceAction.Save, out errMsg);

    }

    }

    /// <summary>

    /// Dialog is loaded.

    /// </summary>

    /// <param name="sender"></param>

    /// <param name="e"></param>

    private void RadWindow_Loaded(object sender, RoutedEventArgs e)

    {

    if (mPersistence)

    {

    string errMsg;

    PersistenceStorage.Persist(PersistenceStorage.PersistenceAction.Load, out errMsg);

    }

    }

    /// <summary>

    /// Close request.

    /// </summary>

    /// <param name="sender"></param>

    /// <param name="e"></param>

    private void btnClose_Click(object sender, RoutedEventArgs e)

    {

    Close();

    }

    #endregion

    #region Private fields.

    private NeuronDataSource mDataSource;

    private Boolean mPersistence;

    private List<PhoneNumber> mPhoneNumbers;

    #endregion

    }

    /// <summary>

    /// Class to hold a list of phone numbers.

    /// </summary>

    public class PhoneNumber

    {

    public string Number { get; set; }

    public string TypeCode { get; set; }

    }

    }

     

    <telerik:RadWindow x:Class="com.christiegrp.Neuron.ClientApplication.ReferringInfos"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

    Height="300" Width="450" SizeToContent="False" Name="Me"

    WindowStartupLocation="CenterScreen" PreviewClosed="RadWindow_PreviewClosed" Loaded="RadWindow_Loaded" ResizeMode="NoResize"

    telerik:PersistenceManager.StorageId="ReferringInfos">

    <telerik:RadWindow.IconTemplate>

    <DataTemplate>

    <Image Source="Resources/Doctor_48x48.png" Height="24" Width="24" Stretch="Fill" Margin="0 0 3 0" />

    </DataTemplate>

    </telerik:RadWindow.IconTemplate>

    <telerik:RadWindow.Resources>

    <ResourceDictionary>

    <ResourceDictionary.MergedDictionaries>

    <ResourceDictionary Source="ReferringInfos-Fr-Res.xaml"/>

    <ResourceDictionary Source="/Telerik.Windows.Controls.Navigation;component/Themes/GenericOfficeBlack.xaml"/>

    </ResourceDictionary.MergedDictionaries>

    </ResourceDictionary>

    </telerik:RadWindow.Resources>

    <Grid Margin="5">

    <Grid.ColumnDefinitions>

    <ColumnDefinition Width="*"/>

    <ColumnDefinition Width="Auto"/>

    </Grid.ColumnDefinitions>

    <Grid.RowDefinitions>

    <RowDefinition Height="Auto"/>

    <RowDefinition Height="*"/>

    <RowDefinition Height="Auto"/>

    </Grid.RowDefinitions>

    <!-- The following element is used to trigger an event allowing to replace the language resources before they are used. -->

    <TextBlock Initialized="ReplaceLanguageResources"/>

    <StackPanel Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Orientation="Horizontal">

    <Image Source="Resources/Doctor_48x48.png" Height="32" Width="32" Stretch="Fill" />

    <Label Margin="5" FontSize="16" VerticalAlignment="Center" Content="{Binding ElementName=Me, Path=ReferringName}"/>

    </StackPanel>

    <telerik:RadGridView Name="radGridView" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" ShowGroupPanel="False" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" SelectionMode="Single" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" SelectionUnit="FullRow">

    <telerik:RadGridView.Columns>

    <telerik:GridViewDataColumn IsGroupable="False" IsFilterable="False" DataMemberBinding="{Binding Path=Number}" Header="{StaticResource Number}" />

    <telerik:GridViewDataColumn IsGroupable="False" IsFilterable="False" DataMemberBinding="{Binding Path=TypeCode}" Header="{StaticResource Type}" />

    </telerik:RadGridView.Columns>

    </telerik:RadGridView>

    <telerik:RadButton Grid.Column="1" Grid.Row="2" Margin="0 5 0 0" Name="btnClose" Click="btnClose_Click">

    <StackPanel Orientation="Horizontal">

    <Image Margin="5 0 0 0" Source="Resources/Close_32x32.png" Height="24" Width="24" />

    <TextBlock Margin="5" VerticalAlignment="Center" Text="{StaticResource Close}"/>

    </StackPanel>

    </telerik:RadButton>

    </Grid>

    </telerik:RadWindow>

    Here is my log:
    2011-12-01 23:41:29,660;[5852];ERROR;MNGUI016;System.Windows.Markup.XamlParseException: La valeur « ReferringInfos » ne peut pas être attribuée à la propriété « StorageId » de l’objet « com.christiegrp.Neuron.ClientApplication.ReferringInfos ». Un élément avec la même clé a déjà été ajouté.  Erreur à l’objet « Me » dans le fichier de balisage « ClientHelper;component/referringinfos.xaml » ligne 7 position 5. ---> System.ArgumentException: Un élément avec la même clé a déjà été ajouté.
       à System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       à System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       à System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
       à Telerik.Windows.PersistenceFramework.ObjectStorage.AddItemToStorage(String key, DependencyObject item)
       à Telerik.Windows.Persistence.PersistenceManager.OnStorageIdChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       à System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       à System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       à System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       à System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
       à System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
       à System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       à System.Windows.Markup.BamlRecordReader.SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dependencyProperty, Object value)
       à System.Windows.Markup.BamlRecordReader.SetDependencyValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty, Object value)
       à System.Windows.Markup.BamlRecordReader.SetPropertyValue(Object o, PropertyDefinition propertyDefinition, Object value)
       à System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId)
       --- Fin de la trace de la pile d'exception interne ---
       à System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
       à System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
       à System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)
       à System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(String attribValue, Int16 attributeId, Int16 converterTypeId)
       à System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(BamlPropertyWithConverterRecord bamlPropertyRecord)
       à System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
       à System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
       à System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
       à System.Windows.Markup.TreeBuilder.Parse()
       à System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       à System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       à com.christiegrp.Neuron.ClientApplication.ReferringInfos.InitializeComponent() dans d:\Developpement\GestX.Courant\RisGC\Client\ClientHelper\ReferringInfos.xaml:ligne 1
       à com.christiegrp.Neuron.ClientApplication.ReferringInfos..ctor(NeuronDataSource pDataSource, String pReferringName, ShortPhoneNumber[] pPhoneList, Boolean pPersistence) dans D:\Developpement\GestX.Courant\RisGC\Client\ClientHelper\ReferringInfos.xaml.cs:ligne 36
       à com.christiegrp.Neuron.ClientApplication.DictationForm.btnPhone_Click(Object sender, RoutedEventArgs e)
       à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       à System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       à System.Windows.Controls.Primitives.ButtonBase.OnClick()
       à System.Windows.Controls.Button.OnClick()
       à Telerik.Windows.Controls.RadButton.OnClick()
       à System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       à System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       à System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e)
       à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       à System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       à System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       à System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       à System.Windows.Input.InputManager.ProcessStagingArea()
       à System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       à System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       à System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       à System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       à System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       à System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
       à System.Windows.Forms.NativeWindow.WndProc(Message& m)
       à System.Windows.Forms.Integration.WindowsFormsHost.ActivateWindowListener.WndProc(Message& m)
       à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       à System.Windows.Window.ShowHelper(Object booleanBox)
       à System.Windows.Window.Show()
       à System.Windows.Window.ShowDialog()
       à Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Open(Boolean isModal)
       à Telerik.Windows.Controls.WindowBase.ShowWindow(Boolean isModal)
       à Telerik.Windows.Controls.RadWindow.ShowDialog()
       à com.christiegrp.Neuron.ClientApplication.DictationModuleWPF.StartFunction()
       à com.christiegrp.Neuron.ClientApplication.MainGui.listView_ItemActivate(Object sender, EventArgs e) dans D:\Developpement\GestX.Courant\RisGC\Client\Neuron\MainGui.cs:ligne 1031

     

     

     

  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 07 Dec 2011 Link to this post

    Hello Oliver,

    Thank you for reporting this. We have already resolved this issue (pits link) and the resolution should be available with the latest internal build (from 5th December). Please let us know when you have the chance to test this with that version and if the problem still exists.

    Best wishes,
    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 07 Dec 2011 Link to this post

    Hi,

    can you tell me if it's possible to have a link where I can get all release notes list?

    Thank's
  5. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 07 Dec 2011 Link to this post

    Hi,

    I just upgraded to Telerik V2011.3.1205.35 and now when I call the persistence it's look like my application fall in a loop and this is  what I have in my "Ouput" window in VS2008:

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Neuron.vshost.exe'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\PresentationCore\3.0.0.0__31bf3856ad364e35\PresentationCore.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\WindowsBase\3.0.0.0__31bf3856ad364e35\WindowsBase.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\PresentationFramework\3.0.0.0__31bf3856ad364e35\PresentationFramework.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Abstractions\3.5.0.0__31bf3856ad364e35\System.Web.Abstractions.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\UIAutomationProvider\3.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll'

    The thread 0x918 has exited with code 0 (0x0).

    The thread 0x13e4 has exited with code 0 (0x0).

    The thread 0xd10 has exited with code 0 (0x0).

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Neuron.exe', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLSessions.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLGeneral.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Infrastructure.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\log4net.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\ClientHelper.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLBLSessions.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Localisation.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLUsers.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLStaff.dll', Symbols loaded.

    The thread 0x1760 has exited with code 0 (0x0).

    The thread 0xe18 has exited with code 0 (0x0).

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\3.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration.resources\2.0.0.0_fr_b03f5f7f11d50a3a\System.Configuration.resources.dll'

    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll

    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization.resources\3.0.0.0_fr_b77a5c561934e089\System.Runtime.Serialization.resources.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLBLConfig.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLConfig.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Resources.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLBLGeneral.dll', Symbols loaded.

    The thread 0x1168 has exited with code 0 (0x0).

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.Navigation.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.GridView.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Data.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\fr\Telerik.Windows.Controls.resources.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.Input.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\PresentationFramework.Classic\3.0.0.0__31bf3856ad364e35\PresentationFramework.Classic.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms.resources\2.0.0.0_fr_b77a5c561934e089\System.Windows.Forms.resources.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\DictationModuleWPF.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\VRecorderAPI.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Documents.FormatProviders.Rtf.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Documents.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.Docking.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\WindowsFormsIntegration\3.0.0.0__31bf3856ad364e35\WindowsFormsIntegration.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.RibbonView.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\UIAutomationTypes\3.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.PersistenceFramework.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment.resources\2.0.0.0_fr_b03f5f7f11d50a3a\System.Deployment.resources.dll'

    A first chance exception of type 'System.Deployment.Application.InvalidDeploymentException' occurred in System.Deployment.dll

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\PresentationFramework.resources\3.0.0.0_fr_31bf3856ad364e35\PresentationFramework.resources.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Telerik.Windows.Controls.RichTextBoxUI.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLVisits.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Hologic.SecurView.AppSync.Adapters.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\DictationModule.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\SignatureModule.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\BillingModule.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\ExportModule.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\MonitorModule.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC\Microsoft.mshtml\7.0.3300.0__b03f5f7f11d50a3a\Microsoft.mshtml.dll'

    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=Me'. BindingExpression:Path=ControlBackground; DataItem=null; target element is 'RadPaneGroup' (Name='panGrpHost'); target property is 'Background' (type 'Brush')

    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=Me'. BindingExpression:Path=Visibility; DataItem=null; target element is 'RadPane' (Name='panWebDocuments'); target property is 'IsHidden' (type 'Boolean')

    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=Me'. BindingExpression:Path=IsDockable; DataItem=null; target element is 'RadPane' (Name='panWebDocuments'); target property is 'CanFloat' (type 'Boolean')

    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=Me'. BindingExpression:Path=IsDockable; DataItem=null; target element is 'RadPane' (Name='panWebDocuments'); target property is 'CanUserPin' (type 'Boolean')

    A first chance exception of type 'System.Deployment.Application.InvalidDeploymentException' occurred in System.Deployment.dll

    System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=(0); DataItem='DictationList' (Name=''); target element is 'WindowHostWindow' (Name=''); target property is 'Title' (type 'String')

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLBLVisit.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\CLPatients.dll', Symbols loaded.

    'Neuron.vshost.exe' (Managed): Loaded 'Anonymously Hosted DynamicMethods Assembly'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityConversions.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\MACTrackBarLib.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Owf.Controls.DigitalDisplayControl.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\VUMeter.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Interop.SMXRECLib.dll'

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml.resources\2.0.0.0_fr_b77a5c561934e089\System.Xml.resources.dll'

    A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

    A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

    A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

    A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

    A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

    A first chance exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfEmptyDocumentException' occurred in Telerik.Windows.Documents.FormatProviders.Rtf.dll

    A first chance exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfEmptyDocumentException' occurred in Telerik.Windows.Documents.FormatProviders.Rtf.dll

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityLang.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityLog.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityDB.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\ComponentFactory.Krypton.Toolkit.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityCrypto.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityREG.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityWS.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityXML.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll'

    A first chance exception of type 'System.NullReferenceException' occurred in UtilityXML.dll

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityHW.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll'

    The thread 0x1238 has exited with code 0 (0x0).

    A first chance exception of type 'System.NullReferenceException' occurred in UtilityHW.dll

    The thread 0x1688 has exited with code 0 (0x0).

    The thread 0x1030 has exited with code 0 (0x0).

    The thread 0x15b0 has exited with code 0 (0x0).

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityPack.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilityConfigAudio.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\WaveLibMixer.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\Interop.SMXAUDWIZLib.dll'

    A first chance exception of type 'System.ArgumentNullException' occurred in mscorlib.dll

    A first chance exception of type 'WaveLib.AudioMixer.MixerException' occurred in WaveLibMixer.dll

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\VToolsLib.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\UtilitySound.dll'

    A first chance exception of type 'System.NullReferenceException' occurred in VRecorderAPI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll

    The thread 0x1328 has exited with code 0 (0x0).

    System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=(0); DataItem='DictationForm' (Name='Me'); target element is 'WindowHostWindow' (Name=''); target property is 'Title' (type 'String')

    'Neuron.vshost.exe' (Managed): Loaded 'D:\Developpement\GestX.Courant\RisGC\bin\Debug\Neuron30\System.ComponentModel.Composition.dll'

    A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

    A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

    A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

    A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

    A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.CONTROLS.EXPRESSIONS.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.CONTROLS.RADRICHTEXTBOXRIBBONBARUI.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.FORMATPROVIDERS.HTML.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.FORMATPROVIDERS.MSRICHTEXTBOXXAML.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.FORMATPROVIDERS.OPENXML.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.FORMATPROVIDERS.PDF.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.FORMATPROVIDERS.XAML.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.PROOFING.DATAGRID.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.PROOFING.DICTIONARIES.EN-US.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.PROOFING.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.DOCUMENTS.PROOFING.RADGRIDVIEW.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'D:\DEVELOPPEMENT\GESTX.COURANT\RISGC\BIN\DEBUG\NEURON30\TELERIK.WINDOWS.CONTROLS.RIBBONBAR.dll'

    'Neuron.vshost.exe' (Managed): Loaded 'MetadataViewProxies_5325968e-9882-47f2-a2a9-3104c630c42a'

    'Neuron.vshost.exe' (Managed): Loaded 'MetadataViewProxiesModule'

    A first chance exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfEmptyDocumentException' occurred in Telerik.Windows.Documents.FormatProviders.Rtf.dll

    A first chance exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfEmptyDocumentException' occurred in Telerik.Windows.Documents.FormatProviders.Rtf.dll

    System.Windows.Data Warning: 4 : Cannot find source for binding with reference 'ElementName=DropDownButtonElement'. BindingExpression:Path=IsChecked; DataItem=null; target element is 'DropDownMenu' (Name='DropDownMenuElement'); target property is 'IsOpen' (type 'Boolean')

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.RichTextBoxUI.dll

    A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    A first chance exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll

    The program '[3680] Neuron.vshost.exe: Managed' has exited with code 0 (0x0).

  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Dec 2011 Link to this post

    Hi Oliver,

    Unfortunately I wasn't able to reproduce this issue. This is why I attached the sample solution that I created based on your code snippets. However, since I don't have all related class implementations, there might be something that I'm missing. Can you please check the sample solution and modify it to better illustrate your scenario and reproduce the issue? Thank you in advance for your cooperation.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 12 Dec 2011 Link to this post

    Hi Tina,

    I just open a ticket support because I can't send zip file through this forum... ticket #492108

    Note1: The problem seem's to exist when docking is present. I have Telrik V2011.3.1205.35
    Note2: In the sample project you sended to me, what the following line mean exactly:

    ServiceProvider.RegisterPersistenceProvider<ICustomPropertyProvider>(typeof(RadGridView), new GridViewCustomPropertyProvider());



    Thank's
  8. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 13 Dec 2011 Link to this post

    Hi Oliver,

    The RadGridView and RadDocking controls cannot be persisted out-of-the-box by the PersistenceFramework and this is why you need to register the custom property provider for both controls.
    The reason why you need this class, is that the RadGridView and the RadDocking controls are complex controls that need custom handling of serialization and deserialization. For example the RadGridView Filters, Sort and Group descriptors cannot be recreated without a hard reference to the Column objects.

    In the WPF demos you can find an example of how to create a custom provider in the PersistenceFramework examples - DockingCustomSerialization. And my sample demonstrates how to set up the RadGridView custom property provider.

    Can you please try registering custom providers for the both controls and let us know if it helps.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready