﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - XPSDocumentViewer crashes on document load (WPF 4)</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XPSDocumentViewer-crashes-on-document-load-WPF-4/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>XPSDocumentViewer crashes on document load (WPF 4)</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XPSDocumentViewer-crashes-on-document-load-WPF-4/</link><pubDate>Sat, 09 Jul 2011 00:48:25 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>XPSDocumentViewer</category><category>XPSDocumentViewer crash</category><description>Hello Ujwal,&lt;br /&gt;&lt;br /&gt;This issue should have been resolved in ClientUI 5 SP1. Have you installed SP1?&lt;br /&gt;&lt;br /&gt;Please let me know if the issue persists.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Jimmy&lt;br /&gt;</description></item><item><title>XPSDocumentViewer crashes on document load (WPF 4)</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XPSDocumentViewer-crashes-on-document-load-WPF-4/</link><pubDate>Mon, 04 Jul 2011 02:19:14 GMT</pubDate><dc:creator>MarTin</dc:creator><category>XPSDocumentViewer</category><category>XPSDocumentViewer crash</category><description>&lt;p&gt;Hello Ujwal,&lt;/p&gt;
&lt;p&gt;From the error statement, it seems that the Document path wasn't recognize by the URI property.&lt;/p&gt;
&lt;p&gt;Have you tried our sample on XPSDocumentViewer?&lt;/p&gt;
&lt;p&gt;If you open our ClientUI sample on "&lt;strong&gt;[Installation Folder]\Intersoft Solutions\Intersoft WebUI Studio 2011 R1\Samples\SL4\cs\ClientUI Samples\ClientUI.Samples.sln&lt;/strong&gt;", you can access to Intersoft.ClientUI.Samples.DocumentViewers project.&lt;/p&gt;
&lt;p&gt;In this project, XPSDocumentViewer binds the data to &lt;strong&gt;ReportViewModel&lt;/strong&gt; which you can see in &lt;strong&gt;ViewModels&lt;/strong&gt; folder.&lt;/p&gt;
&lt;p&gt;Then, in ReportViewModel, it sets the URI to "&lt;strong&gt;Assets/Documents&lt;/strong&gt;" folder that is located in &lt;strong&gt;Intersoft.ClientUI.Samples.Web&lt;/strong&gt; under &lt;strong&gt;ClientBin&lt;/strong&gt; folder. This directory is used to place all the necessary documents that you want to load with XPSDocumentViewer.&lt;/p&gt;
&lt;p&gt;If possible, could you provide me with the simple working sample that replicates your issue?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>XPSDocumentViewer crashes on document load (WPF 4)</title><link>http://www.intersoftsolutions.com/Community/ClientUI/XPSDocumentViewer-crashes-on-document-load-WPF-4/</link><pubDate>Fri, 01 Jul 2011 01:28:33 GMT</pubDate><dc:creator>iyerujwal@gmail.com</dc:creator><category>XPSDocumentViewer</category><category>XPSDocumentViewer crash</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My company is evaluating your suite of controls. &lt;/p&gt;
&lt;p&gt;The XPSDocumentViewer seems to crash on document load itself.&lt;/p&gt;
&lt;p&gt;2 Errors are appearing everytime:&lt;/p&gt;
&lt;p&gt;1) Error: Part URI is empty&lt;/p&gt;
&lt;p&gt;    StackTrace: &lt;/p&gt;
&lt;p&gt;------------------------&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.Packaging.PackUriHelper.CreatePartUri(Uri partUri)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.Documents.XPSParser.get_Value()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlWriter.WriteNode(XmlReader reader, Boolean defattr)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlReader.ReadOuterXml()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.Documents.XPSDocument.GenerateElementStringPage(Uri pageSource)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.Documents.XPSDocument.GenerateRenderedPageItems(Uri pageSource)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.UI.DocumentViewers.XPSDocumentViewer.&amp;nbsp; (Int32 pageIndex)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.UI.DocumentViewers.DocumentViewerGenericBase`1. ()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.InvokeImpl()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.runTryCode(Object userData)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.Invoke()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.ProcessQueue()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp;amp; msg)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.Run()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.RunDispatcher(Object ignore)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.RunInternal(Window window)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.Run(Window window)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.Run()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at ClientUIWPFApp1.App.Main() in D:\Projects\misc\ClientUIWPFApp1\ClientUIWPFApp1\ClientUIWPFApp1\obj\x86\Debug\App.WPF.g.cs:line 0&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;------------------------&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;2) Error: Missing key value on 'LinearGradientBrush' object.' Line number '6' and line position '3'&lt;/p&gt;
&lt;p&gt;    StackTrace: &lt;/p&gt;
&lt;p&gt;------------------------&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.Load(Stream stream)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.Documents.XPSDocument.&amp;nbsp;&amp;nbsp; (String rawXaml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.Documents.XPSDocument.GenerateRenderedPageItems(Uri pageSource)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.UI.DocumentViewers.XPSDocumentViewer. (PageContent pageContent)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Intersoft.Client.UI.DocumentViewers.XPSDocumentViewer. ()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.InvokeImpl()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.runTryCode(Object userData)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.DispatcherOperation.Invoke()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.ProcessQueue()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp;amp; msg)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Threading.Dispatcher.Run()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.RunDispatcher(Object ignore)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.RunInternal(Window window)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.Run(Window window)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.Run()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at ClientUIWPFApp1.App.Main() in D:\Projects\misc\ClientUIWPFApp1\ClientUIWPFApp1\ClientUIWPFApp1\obj\x86\Debug\App.WPF.g.cs:line 0&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;------------------------&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Can somebody pls help?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ujwal&lt;/p&gt;</description></item></channel></rss>