XPS Viewer not working

G

Guest

I am using Windows RC2 that has IE 7 built in. I cannot get the XPS viewer
to work. When I print a document to the XPS document writer, it seems to
save the document correctly. But I am unable to view the document. When I
click on the document, I get an error message that says XPS viewer stopped
working. I tried opening the XPS viewer directly but it would not open. I
am thinking I might need to reinstall the XPS viewer. How do I do
that?
 
B

Bill Frisbee

cpawiz,

I just saved the MSN front page to an XPS document and I didn't have any
issues opening it after the fact.

To reinstall, you need to go into your Control Panel and select Turn Windows
Features on or off. Under Microsoft .NET Framework 3.0 you will see the
option for XPS viewer. Remove it, let it uninstall, and then reinstall it.

Are there any errors in your event log that can provide some help?

Bill F.
 
G

Guest

I tried removing and reinstalling the XPS viewer. Still same problem. When
I get the error message and click on more information, this rather lengthy
text appears:

Startup URI: C:\Users\Mark\Documents\Online Statements\Charter\msn home
page.xps
Application Identity:

System.Windows.Markup.XamlParseException: Cannot add content of type
'System.Windows.Shapes.Path' to an object of type
'System.Windows.Documents.FixedPage'. Error at object
'System.Windows.Shapes.Path', Line 2 Position 3.
at System.Windows.Markup.XamlParseException.ThrowException(String
message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri
baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds
contextXamlObjectIds, Type objectType)
at System.Windows.Markup.XamlParseException.ThrowException(ParserContext
parserContext, Int32 lineNumber, Int32 linePosition, String message,
Exception innerException)
at System.Windows.Markup.BamlRecordReader.ThrowException(SRID id, String
parameter1, String parameter2)
at
System.Windows.Markup.BamlRecordReader.SetPropertyValueToParent(Boolean
fromStartTag, Boolean& isMarkupExtension)
at
System.Windows.Markup.BamlRecordReader.SetPropertyValueToParent(Boolean
fromStartTag)
at
System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
at
System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
at
System.Windows.Markup.XamlTreeBuilder.BamlRecordWriterSyncUpdate(BamlRecord
bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.XamlTreeBuilderBamlRecordWriter.WriteBamlRecord(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.BamlRecordWriter.WriteElementStart(XamlElementStartNode
xamlElementNode)
at
System.Windows.Markup.TreeBuilderXamlTranslator.WriteElementStart(XamlElementStartNode xamlElementStartNode)
at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode,
Boolean& cleanup, Boolean& done)
at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc,
XmlReader reader, XamlParseMode parseMode, Boolean etwTracingEnabled)
at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext
context, XamlParseMode parseMode)
at System.Windows.Documents.XpsValidatingLoader.Load(Stream stream, Uri
parentUri, ParserContext pc, ContentType mimeType, String rootElement)
at System.Windows.Documents.PageContent._LoadPage()
at System.Windows.Documents.PageContent.GetPageRoot(Boolean forceReload)
at System.Windows.Documents.FixedDocument.SyncGetPage(Int32 index,
Boolean forceReload)
at System.Windows.Documents.FixedDocument.GetPage(Int32 pageNumber)
at System.Windows.Documents.FixedDocument.OnInitialized(Object sender,
EventArgs e)
at
System.Windows.FrameworkContentElement.RaiseInitialized(EventPrivateKey key,
EventArgs e)
at System.Windows.FrameworkContentElement.OnInitialized(EventArgs e)
at System.Windows.FrameworkContentElement.TryFireInitialized()
at System.Windows.FrameworkContentElement.EndInit()
at System.Windows.Markup.BamlRecordReader.ElementEndInit(Object& element)
at System.Windows.Markup.BamlRecordReader.ReadElementEndRecord(Boolean
fromNestedBamlRecordReader)
at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
at
System.Windows.Markup.XamlTreeBuilder.BamlRecordWriterSyncUpdate(BamlRecord
bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.XamlTreeBuilderBamlRecordWriter.WriteBamlRecord(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.BamlRecordWriter.WriteAndReleaseRecord(BamlRecord
bamlRecord, XamlNode xamlNode)
at
System.Windows.Markup.BamlRecordWriter.WriteElementEnd(XamlElementEndNode
xamlElementEndNode)
at System.Windows.Markup.XamlParser.WriteElementEnd(XamlElementEndNode
xamlElementEndNode)
at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode,
Boolean& cleanup, Boolean& done)
at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc,
XmlReader reader, XamlParseMode parseMode, Boolean etwTracingEnabled)
at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext
context, XamlParseMode parseMode)
at System.Windows.Documents.XpsValidatingLoader.Load(Stream stream, Uri
parentUri, ParserContext pc, ContentType mimeType, String rootElement)
at System.Windows.Documents.DocumentReference._LoadDocument()
at System.Windows.Documents.DocumentReference.GetDocument(Boolean
forceReload)
at
System.Windows.Documents.FixedDocumentSequence.GetPaginator(DocumentReference
docRef)
at System.Windows.Documents.FixedDocumentSequence.get_PageCount()
at
System.Windows.Documents.FixedDocumentSequence._OnCollectionChanged(Object
sender, NotifyCollectionChangedEventArgs args)
at
System.Windows.Documents.DocumentReferenceCollection.OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)
at
System.Windows.Documents.FixedDocumentSequence._OnDocumentReferenceInitialized(Object sender, EventArgs e)
at System.Windows.FrameworkElement.RaiseInitialized(EventPrivateKey key,
EventArgs e)
at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
at System.Windows.FrameworkElement.TryFireInitialized()
at System.Windows.FrameworkElement.EndInit()
at System.Windows.Markup.BamlRecordReader.ElementEndInit(Object& element)
at System.Windows.Markup.BamlRecordReader.ReadElementEndRecord(Boolean
fromNestedBamlRecordReader)
at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
at
System.Windows.Markup.XamlTreeBuilder.BamlRecordWriterSyncUpdate(BamlRecord
bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.XamlTreeBuilderBamlRecordWriter.WriteBamlRecord(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
at
System.Windows.Markup.BamlRecordWriter.WriteAndReleaseRecord(BamlRecord
bamlRecord, XamlNode xamlNode)
at
System.Windows.Markup.BamlRecordWriter.WriteElementEnd(XamlElementEndNode
xamlElementEndNode)
at System.Windows.Markup.XamlParser.WriteElementEnd(XamlElementEndNode
xamlElementEndNode)
at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode,
Boolean& cleanup, Boolean& done)
at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc,
XmlReader reader, XamlParseMode parseMode, Boolean etwTracingEnabled)
at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext
context, XamlParseMode parseMode)
at System.Windows.Documents.XpsValidatingLoader.Load(Stream stream, Uri
parentUri, ParserContext pc, ContentType mimeType, String rootElement)
at MS.Internal.Documents.DocumentApplication.S0ConverterDoc(Stream
stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean
sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation,
XamlReader& asyncObjectConverter)
at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream
s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser,
Boolean sandboxExternalContent, Boolean allowAsync, Boolean
isJournalNavigation, XamlReader& asyncObjectConverter)
at
System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest
request, WebResponse response, Uri destinationUri, Object navState)
at System.Windows.Navigation.NavigationService.DoNavigate(Uri source,
NavigationMode f, Object navState)
at System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at
System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object
state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32
msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,
IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority
priority, TimeSpan timeout, Delegate method, Object args, Boolean
isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority
priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.StartDispatcherInBrowser(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at
System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object
state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32
msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,
IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source,
Delegate callback, Object args, Boolean isSingleParameter, Delegate
catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority
priority, TimeSpan timeout, Delegate method, Object args, Boolean
isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority
priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam)


-----------------------

XPSViewer.exe v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\System32\XPSViewer\XPSViewer.exe
ntdll.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\ntdll.dll
kernel32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\kernel32.dll
ADVAPI32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\ADVAPI32.dll
RPCRT4.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\RPCRT4.dll
USER32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\USER32.dll
GDI32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\GDI32.dll
msvcrt.dll v7.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\msvcrt.dll
ole32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\ole32.dll
OLEAUT32.dll v6.0.5744.16384 - C:\Windows\system32\OLEAUT32.dll
SHELL32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\SHELL32.dll
SHLWAPI.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\SHLWAPI.dll
urlmon.dll v7.00.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\urlmon.dll
iertutil.dll v7.00.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\iertutil.dll
IMM32.DLL v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\IMM32.DLL
MSCTF.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\MSCTF.dll
LPK.DLL v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\LPK.DLL
USP10.dll v1.0626.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\USP10.dll
comctl32.dll v6.10 (vista_rtm_edw.061003-1945) -
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.5744.16384_none_a967332dea74b1ee\comctl32.dll
uxtheme.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\uxtheme.dll
CLBCatQ.DLL v2001.12.6674.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\CLBCatQ.DLL
rsaenh.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\rsaenh.dll
PresentationHostDLL.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\Microsoft.Net\Framework\v3.0\WPF\PresentationHostDLL.dll
mscoree.dll v2.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\system32\mscoree.dll
VERSION.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\VERSION.dll
mscorwks.dll v2.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
MSVCR80.dll v8.00.50727.308 -
C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.308_none_10b8f05b9bfa5a80\MSVCR80.dll
mscorlib.ni.dll v2.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\c66ce140abb448e5d7e329ea55d09f7e\mscorlib.ni.dll
System.ni.dll v2.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\System\f49482ee8f8414435f7134f4c966f8db\System.ni.dll
WindowsBase.ni.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\WindowsBase\32632d9d4dc2f1a27abc480c9462376d\WindowsBase.ni.dll
PresentationCore.ni.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationCore\575b6b850929c5a1c06bf332992b1ec3\PresentationCore.ni.dll
PresentationFramework.ni.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909)
-
C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\6372be8df70dd1f4b153321b0be65fea\PresentationFramework.ni.dll
actxprxy.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\actxprxy.dll
msiltcfg.dll v4.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\msiltcfg.dll
msi.dll v4.0.5744.16384 - C:\Windows\system32\msi.dll
SXS.DLL v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\SXS.DLL
Secur32.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\Secur32.dll
PresentationUI.ni.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationUI\a6448e62c051d2dc2a613c4c31604de8\PresentationUI.ni.dll
System.Xml.ni.dll v2.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\ac9a594980586da83eeaf635d08a7f0f\System.Xml.ni.dll
ReachFramework.ni.dll v3.0.6828.0 (vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\ReachFramework\707edd6f8c28c9c48d5119b841acc658\ReachFramework.ni.dll
PresentationFramework.Aero.ni.dll v3.0.6828.0
(vista_rtm_wcp(avdrt).060928-1909) -
C:\Windows\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\b511c5358097335743a9358cc3c3eca4\PresentationFramework.Aero.ni.dll
MilCore.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\MilCore.dll
PSAPI.DLL v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\PSAPI.DLL
DWMAPI.dll v6.0.5744.16384 (vista_rtm_edw.061003-1945) -
C:\Windows\system32\DWMAPI.dll
diasymreader.dll v8.0.50727.308 (rtmLHS.050727-3000) -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top