none
При указании Даты в созданных формах "Управление инцидентами " , вылетает Консоль RRS feed

  • Вопрос

  • На сервере в консоли все работает нормально , выбирается дата и выставляется нормально 

    На консоли клиента , при нажатии на элемента "выбора даты" консоль вылетает  вылетает с ошибкой 

    В Журнале событий на компьютере клиента 

    Operations Manager

    код ошибки: 34502

    System.Windows.Markup.XamlParseException: Свойству "SetVisualStateGroups" объекта "System.Windows.Controls.Grid" нельзя назначить значение "System.Windows.VisualStateGroup". Невозможно преобразовать объект типа "System.Windows.VisualStateGroup" к типу "System.Collections.ObjectModel.Collection`1[System.Windows.VisualStateGroup]".  Ошибка в объекте "CommonStates" из файла разметки "WPFToolkit;component/Calendar/Themes/generic.xaml". ---> System.ArgumentException: Невозможно преобразовать объект типа "System.Windows.VisualStateGroup" к типу "System.Collections.ObjectModel.Collection`1[System.Windows.VisualStateGroup]".
       в System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
       в System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
       в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       в System.Windows.Markup.BamlRecordReader.SetClrComplexPropertyCore(Object parentObject, Object value, MemberInfo memberInfo)
       в System.Windows.Markup.BamlRecordReader.SetClrComplexProperty(Object parentObject, MemberInfo memberInfo, Object o)
       --- Конец трассировки внутреннего стека исключений ---
       в 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.SetClrComplexProperty(Object parentObject, MemberInfo memberInfo, Object o)
       в System.Windows.Markup.BamlRecordReader.SetPropertyValueToParent(Boolean fromStartTag, Boolean& isMarkupExtension)
       в System.Windows.Markup.BamlRecordReader.ReadElementEndRecord(Boolean fromNestedBamlRecordReader)
       в System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
       в System.Windows.StyleHelper.LoadOptimizedTemplateContent(DependencyObject container, ParserContext parserContext, OptimizedTemplateContent optimizedTemplateContent, FrameworkTemplate frameworkTemplate, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
       в System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
       в System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
       в System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
       в System.Windows.FrameworkElement.ApplyTemplate()
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       в System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       в System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
       в System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
       в System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Border.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Grid.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Control.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Control.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
       в System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)
       в System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       в System.Windows.UIElement.Measure(Size availableSize)
       в System.Windows.Interop.HwndSource.SetLayoutSize()
       в System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
       в System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
       в System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
       в System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       в 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.Controls.Primitives.Popup.set_IsOpen(Boolean value)
       в Microsoft.Windows.Controls.DatePicker.OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       в 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)
       в Microsoft.Windows.Controls.DatePicker.set_IsDropDownOpen(Boolean value)
       в Microsoft.Windows.Controls.DatePicker.TogglePopUp()
       в Microsoft.Windows.Controls.DatePicker.DropDownButton_Click(Object sender, RoutedEventArgs e)
       в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       в System.Windows.Controls.Button.OnClick()
       в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       в 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.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       в MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       в System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
       в System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       в System.Windows.Window.ShowHelper(Object booleanBox)
       в System.Windows.Window.Show()
       в System.Windows.Window.ShowDialog()
       в Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.GenericWpfWindowConstructor.BeginShow(ShowViewContext showViewContext, Object parent, Object view, AsyncCallback callback, Object state)
       в Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       в Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WpfWindowRecord.ShowWindow()
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Threading.ThreadHelper.ThreadStart()

Ответы

Все ответы