我正在使用Syncfusion Report设计器工具,当我运行应用程序时,抛出此异常: 消息:
设置属性'System.Windows.ResourceDictionary.Source'扔了一个 例外
内部异常:
在类型上调用构造函数 与之匹配的'Syncfusion.Windows.Reports.Designer.ReportDesigner' 指定的绑定约束引发了异常。行号'112' 和行位置'14'。“}
堆栈跟踪:
在MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember属性,对象值)at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(对象 obj,XamlMember属性,对象值)at System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx,XamlMember prop,Object value,Boolean onParent)at System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)at System.Xaml.XamlObjectWriter.WriteEndMember()at System.Xaml.XamlWriter.WriteNode(XamlReader reader)at System.Xaml.XamlServices.Transform(XamlReader xamlReader,XamlWriter) xamlWriter,Boolean closeWriter)at System.Xaml.XamlServices.Transform(XamlReader xamlReader,XamlWriter) xamlWriter)at System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(大会 assembly,String assemblyName,String resourceName,Boolean isTraceEnabled)at System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary(布尔 isTraceEnabled)at System.Windows.SystemResources.FindDictionaryResource(Object key,Type typeKey,ResourceKey resourceKey,Boolean isTraceEnabled,Boolean allowDeferredResourceReference,Boolean mustReturnDeferredResourceReference,Boolean& canCache)在 System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference,Boolean mustReturnDeferredResourceReference)at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)at System.Windows.FrameworkElement.UpdateThemeStyleProperty()at System.Windows.FrameworkElement.OnThemeStyleKeyChanged(DependencyObject的 d,DependencyPropertyChangedEventArgs e)at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs 吃 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs 吃 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,DependencyProperty dp,PropertyMetadata元数据, EffectiveValueEntry oldEntry,EffectiveValueEntry& newEntry,布尔值 coerceWithDeferredReference,Boolean coerceWithCurrentValue, OperationType operationType)at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, 对象值,PropertyMetadata元数据,布尔值 coerceWithDeferredReference,Boolean coerceWithCurrentValue, OperationType operationType,Boolean isInternal)at System.Windows.DependencyObject.SetValue(DependencyProperty dp,Object 价值) System.Windows.FrameworkElement.set_DefaultStyleKey(Object value)
在Syncfusion.Windows.Reports.Designer.ReportDesigner..ctor()
这是我所能得到的,我无法弄清楚究竟是什么问题!
答案 0 :(得分:0)
基于堆栈跟踪,可能由于框架版本或由于与报表设计器的内部绑定而发生。您可以使用Syncfusion支持检查此查询, https://www.syncfusion.com/forums/wpf/reportdesigner