This is a migrated thread and some comments may be shown as answers.

FixedDocumentViewers Exception

1 Answer 178 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Gary Paul
Top achievements
Rank 1
Gary Paul asked on 07 Mar 2018, 06:05 PM

I have a Window that I have dropped a RadPdfViewer on, the system added Telerik.Windows.Controls, Telerik.Windows.Controls.FixedDocumentViewers, Telerik.Windows.Documents.Core, and Telerik.Windows.Documents.Fixed.

I have done nothing else, when I run the app I get an Exception:

 

System.Windows.Markup.XamlParseException
  HResult=0x80131501
  Message=Could not load file or assembly 'Telerik.Windows.Controls.FixedDocumentViewers, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
  Source=PresentationFramework
  StackTrace:
   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 Foundation.Windows.Controls.Pdf.PdfViewer.InitializeComponent() in D:\Mw\Insurance\Source\Alabama\Common\Foundation.Windows.Controls.Pdf\PdfViewer.xaml:line 1
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Controls.FixedDocumentViewers, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 12 Mar 2018, 04:47 PM
Hello Gary,

Could you please confirm that you are using the latest version of the control? Also, are you using RadPdfViewer with its default UI or it is only the control? What is the version of Visual Studio on the machine? Are the controls installed on the machine? As we are currently unable to reproduce a similar issue, it would be of a great help if you can provide the steps you performed to add the controls to the Toolbox of Visual Studio and how RadPdfViewer is added to the window. 

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
PDFViewer
Asked by
Gary Paul
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or