Hi
I have a WPF project that uses the Q3 2013 SP1 telerik reporting and Telerik UI for WPF v2013.3.1316.45 binaries and am getting a XamlParseException when the ReportViewer control is initialised.
The exception message and stack trace are as follows
"'The invocation of the constructor on type 'Telerik.ReportViewer.Wpf.ReportViewer' that matches the specified binding constraints threw an exception.' Line number '8' and line position '10'."
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ReportViewerTest.MainWindow.InitializeComponent() in c:\Users\PeterGleeson\Documents\VisualStudio2013\Projects\ReportViewerTest\ReportViewerTest\MainWindow.xaml:line 1
at ReportViewerTest.MainWindow..ctor() in
c:\Users\Peter Gleeson\Documents\Visual Studio 2013\Projects\ReportViewerTest\ReportViewerTest\MainWindow.xaml.cs:line 25
I have created a simple sample project that replicates the issue on my computer. In creating this project I took the following steps
1. included Telerik.Windows.Controls.dll, Telerik.Windows.Controls.Data.dll, Telerik.Windows.Controls.Input.dll, Telerik.Windows.Controls.Navigation.dll
2. In the MainWindow.xaml file I located the ReportViewer in the toolbox and dragged it onto the UI. This step automatically added Telerik.Reporting.dll and Telerik.ReportViewer.Wpf.dll.
3. Ran the project.
The project can be downloaded from (removed).
A quick response would be much appreciated as we have an upcoming release
Pete
I have a WPF project that uses the Q3 2013 SP1 telerik reporting and Telerik UI for WPF v2013.3.1316.45 binaries and am getting a XamlParseException when the ReportViewer control is initialised.
The exception message and stack trace are as follows
"'The invocation of the constructor on type 'Telerik.ReportViewer.Wpf.ReportViewer' that matches the specified binding constraints threw an exception.' Line number '8' and line position '10'."
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ReportViewerTest.MainWindow.InitializeComponent() in c:\Users\PeterGleeson\Documents\VisualStudio2013\Projects\ReportViewerTest\ReportViewerTest\MainWindow.xaml:line 1
at ReportViewerTest.MainWindow..ctor() in
c:\Users\Peter Gleeson\Documents\Visual Studio 2013\Projects\ReportViewerTest\ReportViewerTest\MainWindow.xaml.cs:line 25
I have created a simple sample project that replicates the issue on my computer. In creating this project I took the following steps
1. included Telerik.Windows.Controls.dll, Telerik.Windows.Controls.Data.dll, Telerik.Windows.Controls.Input.dll, Telerik.Windows.Controls.Navigation.dll
2. In the MainWindow.xaml file I located the ReportViewer in the toolbox and dragged it onto the UI. This step automatically added Telerik.Reporting.dll and Telerik.ReportViewer.Wpf.dll.
3. Ran the project.
The project can be downloaded from (removed).
A quick response would be much appreciated as we have an upcoming release
Pete