Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Application using XamRibbonWindow does not start with Desktop Window Manager enabled
posted

We have Vista users who cannot run our application -- it crashes on startup. I have isolated the problem to the XamRibbonWindow. I have a sample application that is nothing but a Window which contains a RibbonWindowContentHost, which contains a ribbon with a few empty tabs. This sample application functions correctly. When I change the Window to a XamRibbonWindow, the application will not start up and I receive the following message: Exception has been thrown by the target of the invocation. Nothing of value to me is logged to the event viewer.

To make this more difficult to troubleshoot, it works on some Vista machines and not others, and I'm not able to create a VM that reproduces the problem. I suspect it has to do with the custom window chrome of the XamRibbonWindow, but I don't have clue one for how to fix it.

So, what's broken and how can I fix it?