We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Diagram Control Exception

Thread ID:





106210 Dec 17,2012 12:24 PM UTC Jan 2,2013 12:19 PM UTC WinRT 4
Tags: SfDiagram
Lucas Moffitt
Asked On December 17, 2012 12:24 PM UTC

I understand it's still in beta, but i'm not sure if this has been logged as a bug (might not even be a bug?) or fixed in the next version already.

If i attempt to create a diagram control by duplicating the code from the Sample Browser "NodeContent" I end up with the error listed below. This includes when I drag a new one from the Toolbox after I create DiagramControl.View tags. This includes if i make ANY changes to the sample browser example code.

Any ideas on what's up with this or how to fix it?

---- Error ----

COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.

  at Windows.UI.Xaml.DependencyObject.get_Dispatcher()
   at Syncfusion.UI.Xaml.Diagram.DiagramPage.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
   at Syncfusion.UI.Xaml.Diagram.OverviewContentHolder.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
   at Syncfusion.UI.Xaml.Diagram.ScrollViewer.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.UIElement.UpdateLayout()
   at Microsoft.Expression.WindowsXamlPlatform.Host.WindowsUIXamlImageHost.Render(BitmapWrapper bitmapWrapper, Boolean isNewBitmapWrapper, Boolean timerTick)
   at Microsoft.Expression.Platform.Surface.ImageHost.ImageHostBitmapContentPresenter.Redraw(Boolean force, Boolean timerTick)
   at Microsoft.Expression.Platform.Surface.ImageHost.ImageHostBitmapContentPresenter.<InvalidateDrawing>b__3()
   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)

InnerException: None

Parthiban A [Syncfusion]
Replied On December 19, 2012 09:38 AM UTC

Hi Lucas,

We have analyzed your regarding “Designer gets crashed while using diagram control”. We are able to reproduce the issue on our side.

There seems to be some issue in WinRT framework, while accessing the Dispatch, which crashes only in designer but not at runtime. However, we consider this as defect and logged a defect report. The fix for this defect will be available on upcoming refresh release.


Parthiban A.


Lucas Moffitt
Replied On December 20, 2012 02:31 AM UTC

Thanks for the reply! 

Much appreciated.


Ramya Thirugnanam [Syncfusion]
Replied On December 21, 2012 09:50 AM UTC

Hi Lucas,

Thanks for the update.

Please let us know if you have any concerns,



Parthiban A [Syncfusion]
Replied On January 2, 2013 12:19 PM UTC

Hi Lucas,

The problem reported with Designer gets crashed while using diagram control has been resolved and the fix is available in our current beta refresh, which can be downloaded from the below link


Please let us know in case of any queries.


Parthiban A.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon