Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Strange error... possible Mindfusion? (Read 3204 times)
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Strange error... possible Mindfusion?
Jun 22nd, 2010 at 7:14am
Print Post  
Hi

On one laptop we experience a very strange behavior... it happens when we try to dock back a specific toolwindow by dropping it over any of the docking "icons". If we do it using the "Dock" option in the menu it works fine, no problems. We are using Actipro Docking components and the only control inside the ToolWindow is the WPF Diagram.
Actipro said they don't use COM so the error is not coming from them... therefore I ask you too... maybe you have an idea..

The error thrown is:

Code
Select All
Exception from HRESULT: 0x88980406

System.Runtime.InteropServices.COMException (0x88980406): Exception from HRESULT: 0x88980406 at System.Windows.Media.Composition.DUCE.Channel.SyncFlush() at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet) at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam) at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Source: Presentation.Core

at System.Windows.Media.Composition.DUCE.Channel.SyncFlush() at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet) at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam) at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
 



It is a Win7 Terra laptop with .NET 4 installed.

Do you have any idea why is this happening?
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Strange error... possible Mindfusion?
Reply #1 - Jun 22nd, 2010 at 8:43am
Print Post  
Hi,

This comes from the WPF rendering thread. Try enabling software rendering as shown in this post (6. New Software rendering API ):
http://blogs.msdn.com/b/jgoldb/archive/2007/10/10/performance-improvements-in-wp...

If the error disappears, this usually means there's something wrong with the video driver.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Strange error... possible Mindfusion?
Reply #2 - Jun 22nd, 2010 at 10:25am
Print Post  
That was first thing we tried, as described here (we target .NET 4): http://blogs.msdn.com/b/jgoldb/archive/2010/04/12/what-s-new-for-performance-in-...

Now we can reproduce it on another laptop too (XP this time)
  
Back to top
WWW  
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Strange error... possible Mindfusion?
Reply #3 - Jun 22nd, 2010 at 2:24pm
Print Post  
It seems the problem disappears if we remove the diagram from the toolwindow...
  
Back to top
WWW  
IP Logged
 
radu
YaBB Newbies
*
Offline


AMADEE

Posts: 10
Joined: Mar 23rd, 2010
Re: Strange error... possible Mindfusion?
Reply #4 - Jun 23rd, 2010 at 10:28am
Print Post  
We could reproduce the problem with toolwindows without Mindfusion components inside.

That means case is closed here  Roll Eyes

Thx for support. Topic can be closed.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint