JimmyT53

I created and deployed a WPF application. Last week, users were able to install and run the app on their Vista machines. Some users, then did an uninstall of the app. Now, when they try to install and run the app, they get this problem:

Product

Quota_Setting_Tool_WPF

Problem

Stopped working

Date

7/6/2007 10:07 AM

Status

Report Sent

Description

Stopped working

Problem signature

Problem Event Name: CLR20r3

Problem Signature 01: quota setting tool wpf.exe

Problem Signature 02: 1.0.2743.12396

Problem Signature 03: 468e5759

Problem Signature 04: PresentationFramework

Problem Signature 05: 3.0.0.0

Problem Signature 06: 453054bb

Problem Signature 07: 6496

Problem Signature 08: be

Problem Signature 09: System.Windows.Markup.XamlParse

OS Version: 6.0.6000.2.0.0.256.4

Locale ID: 1033

Extra information about the problem

Bucket ID: 54745543

I understand the CLR20r3 is a Common Language Runtime 2 error, but the items in Signature 2, 3, 6, 7, and 8 as well as the Bucket ID are a mystery. Any one understand this stuff


Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

neo2006

Hi

I'm having the same problem. Any luck on your side





Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

Chango V. - MSFT

You are apparently getting a XamlParseException. It could be a problem with locating loose XAML resource files or another exception wrapped in a XamlParseException (this is common occurrence due to the way the XAML parser works). The easiest way is to install a debugger on the affected computer and see what happens. If you don't want to install Visual Studio, you can easily get a managed callstack using the Debugging Tools For Windows with the SOS extension.






Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

neo2006

I've tried debugging it and got:

The program has exited with code -532459699 (0xe0434f4d).

Looking into it now.





Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

klunk7

I solved very similar problem when trying to deploy my application:

EventType : clr20r3

P1 : wkretmet.exe

P2 : 1.0.2771.25262
P3 : 46b3274d

P4 : presentationframework

P5 : 3.0.0.0

P6 : 4666d4ff
P7 : 65b0

P8 : e1

P9 : system.windows.markup.xamlparse

I use a WindowsFormsHost component, and it hosts a .net20 form which uses directx. So it took me a three days to understand that there is something in directx. I have done a separate form and it crashed but the end of error was another than previous

P9 : system.io.filenotfound....,

so,

I tried to see at all of my references (in vs2008 express edition (beta)) and find all dlls related to directx at System32 folder. And that was the point why this application has worked only on "some" computers. When I copied all needed dlls into another system it started to work...

Have to change to intermediate at c#, and add .net 3.0 wpf after this problem Smile

Regards MichalGudowski

programist c#, .net 2.0, 3.0 (wpf), little java, asp, mysql






Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

J. Henkel

Could you clarify a bit on what exactly you did to fix this error I'm running into the same problem, and not making much headway.

-Thanks

-J.Henkel





Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

-JM-

This post helped me yesterday.

If you are publishing your application, go into the project's properties, then to the 'Publish' tab, then click the 'Application Files...' button. From that dialog change the 'Publish Status' to 'include' for directx components. This will copy the appropriate .dlls, such as 'Microsoft.DirectX.dll' to your project's output directory.

For me, it was only the DirectX compnents and nothing else, your project may be different.

If you are not publishing, then I'm not sure how to do it, you may need to manually copy these .dlls to your deployment directory. I am not sure where they live though. Hope it helps.

-Jeff





Re: Windows Presentation Foundation (WPF) Installation and Run issues with deployed WPF App

neo2006

-JM- wrote:

This post helped me yesterday.

If you are publishing your application, go into the project's properties, then to the 'Publish' tab, then click the 'Application Files...' button. From that dialog change the 'Publish Status' to 'include' for directx components. This will copy the appropriate .dlls, such as 'Microsoft.DirectX.dll' to your project's output directory.

For me, it was only the DirectX compnents and nothing else, your project may be different.

If you are not publishing, then I'm not sure how to do it, you may need to manually copy these .dlls to your deployment directory. I am not sure where they live though. Hope it helps.

-Jeff

Thanks Jeff.

However, I can only see my own dlls there which are included (Auto) already.

How could you make dlls like PresentationCore appear