Парсер ДПС в реальном времени
Не запускается.
Виста ультимейт 32битная, дотнет 3.5 сп1
System.Windows.Markup.XamlParseException: Cannot convert string 'NearestNeighbor' in attribute 'BitmapScalingMode' to object of type 'System.Windows.Media.BitmapScalingMode'. NearestNeighbor is not a valid value for BitmapScalingMode. Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'CStats;component/windows/mainform.xaml'. ---> System.FormatException: NearestNeighbor is not a valid value for BitmapScalingMode. ---> System.ArgumentException: Requested value 'NearestNeighbor' was not found.
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at System.ComponentModel.EnumConverter.ConvertFrom(IT ypeDescriptorContext context, CultureInfo culture, Object value)
--- End of inner exception stack trace ---
at System.ComponentModel.EnumConverter.ConvertFrom(IT ypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertFromStr ing(ITypeDescriptorContext context, CultureInfo culture, String text)
at System.Windows.Markup.XamlTypeMapper.ParseProperty (Object targetObject, Type propType, String propName, Object dpOrPiOrFi, ITypeDescriptorContext typeContext, ParserContext parserContext, String value, Int16 converterTypeId)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlParseException.ThrowExce ption(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
at System.Windows.Markup.XamlParseException.ThrowExce ption(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
at System.Windows.Markup.XamlTypeMapper.ParseProperty (Object targetObject, Type propType, String propName, Object dpOrPiOrFi, ITypeDescriptorContext typeContext, ParserContext parserContext, String value, Int16 converterTypeId)
at System.Windows.Markup.OptimizedTemplateContent.Par seDependencyProperty(String attribValue, Int16 attributeId, Int16 converterTypeId, DependencyProperty& dp, Object& propertyValue)
at System.Windows.Markup.OptimizedTemplateContent.Loo kForShareableRecord(BamlRecord bamlRecord, DependencyProperty& dp, Object& dpValue)
at System.Windows.Markup.OptimizedTemplateContent.Rea dPotentiallyShareableRecord(BamlRecord bamlRecord)
at System.Windows.Markup.OptimizedTemplateContent.Rea dRecord(BamlRecord bamlRecord)
at System.Windows.Markup.OptimizedTemplateContent.Add ContentRecord(BamlRecord bamlRecord)
at System.Windows.Markup.TemplateBamlRecordReader.Add ContentRecord(BamlRecord bamlRecord)
at System.Windows.Markup.TemplateBamlRecordReader.Rea dRecord(BamlRecord bamlRecord)
at System.Windows.Markup.BamlRecordReader.Read(Boolea n singleRecord)
at System.Windows.Markup.TemplateTreeBuilderBamlTrans lator.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlTemplateSerializer.Conve rtBamlToObject(BamlRecordReader reader, BamlRecord bamlRecord, ParserContext context)
at System.Windows.Markup.BamlRecordReader.ReadElement StartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.StyleBamlRecordReader.ReadEl ementStartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.BamlRecordReader.ReadRecord( BamlRecord bamlRecord)
at System.Windows.Markup.StyleBamlRecordReader.ReadRe cord(BamlRecord bamlRecord)
at System.Windows.Markup.BamlRecordReader.Read(Boolea n singleRecord)
at System.Windows.Markup.StyleTreeBuilderBamlTranslat or.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlStyleSerializer.ConvertB amlToObject(BamlRecordReader reader, BamlRecord bamlRecord, ParserContext context)
at System.Windows.Markup.BamlRecordReader.ReadElement StartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.BamlRecordReader.ReadRecord( BamlRecord bamlRecord)
at System.Windows.Markup.BamlRecordReader.ReadElement (Int64 startPosition, XamlObjectIds contextXamlObjectIds, Object dictionaryKey)
at System.Windows.ResourceDictionary.CreateObject(Int 32 valuePosition, Object key)
at System.Windows.ResourceDictionary.RealizeDeferCont ent(Object key, Object& value, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValueWithoutL ock(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.get_Item(Object key)
at System.Windows.DeferredResourceReference.GetValue( BaseValueSourceInternal valueSource)
at System.Windows.DependencyPropertyChangedEventArgs. get_NewValue()
at System.Windows.FrameworkElement.OnStyleChanged(Dep endencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged( DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged( DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChan ge(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveVal ue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.StyleHelper.ApplyTemplatedParentVal ue(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList`1& childRecordFromChildIndex, DependencyProperty dp, FrameworkElementFactory templateRoot)
at System.Windows.StyleHelper.InvalidatePropertiesOnT emplateNode(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList`1& childRecordFromChildIndex, Boolean isDetach, FrameworkElementFactory templateRoot)
at System.Windows.StyleHelper.LoadOptimizedTemplateCo ntent(DependencyObject container, ParserContext parserContext, OptimizedTemplateContent optimizedTemplateContent, FrameworkTemplate frameworkTemplate, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
at System.Windows.FrameworkTemplate.LoadContent(Depen dencyObject container, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
at System.Windows.StyleHelper.ApplyTemplateContent(Un commonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
at System.Windows.FrameworkTemplate.ApplyTemplateCont ent(UncommonField`1 templateDataField, FrameworkElement container)
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int 32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int 32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride( Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(U IElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOv erride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Decorator.MeasureOverride( Size constraint)
at System.Windows.Documents.AdornerDecorator.MeasureO verride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Border.MeasureOverride(Siz e constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Window.MeasureOverrideHelper(Size constraint)
at System.Windows.Window.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Interop.HwndSource.SetLayoutSize()
at System.Windows.Interop.HwndSource.set_RootVisualIn ternal(Visual value)
at System.Windows.Interop.HwndSource.set_RootVisual(V isual value)
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindowImpl()
at System.Windows.Window.SafeCreateWindow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
|