Home Dashboard Directory Help

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) in VS2010 Express , Blend 4 and VS 2010 Ultimate by Chaitrax


 as External Help for as External

Sign in
to vote
Type: Bug
ID: 557132
Opened: 5/5/2010 9:10:33 AM
Access Restriction: Public
User(s) can reproduce this bug


When we create new Windows Phone Application project , the IDE will open , but the Design Part is not visible, still the project is able to run when compile.

This error i get when the designer opens in Blend 4, VS2010, VS Web Developer 2010.

VS2010 Designer part....

An unhandled exception was encountered while trying to render the current silverlight project on the design surface. To diagnose this failure, please try to run the project in a regular browser using the silverlight developer runtime.
at Microsoft.Windows.Design.Platform.SilverlightViewProducer.OnUnhandledException(Object sender, ViewUnhandledExceptionEventArgs e)
at Microsoft.Expression.Platform.Silverlight.SilverlightPlatformSpecificView.OnUnhandledException(Object sender, ViewUnhandledExceptionEventArgs args)
at Microsoft.Expression.Platform.Silverlight.Host.SilverlightImageHost.<>c__DisplayClass1.<Application_UnhandledException>b__0(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)

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)

Sign in to post a comment.
Posted by Chaitrax on 7/14/2010 at 10:35 AM
Yes, the Issue is Resolved. thanks for the response.
Posted by Microsoft on 6/23/2010 at 5:42 AM

We are internally unable to reproduce your problem. Have you seen the error immediately after you installed the Blend 4 RC ? If yes, then that is expected and Blend Add-in and SDK for windows phone should be installed to get the necessary support for windows phone in blend.

I have seen that reinstalling the tools solved your problem - so can we consider the issue is resolved ?
Posted by Chaitrax on 5/7/2010 at 3:01 PM
Hi @Mark,

Thanks for the reply, Appreciate the hard work you guys have been putting to make the tools easy to use for developers.

There is no-error, when i create silverlight Apps in VS2010 Ultimate, Blend 4, and VS2010 web developer.

If i create "Windows Phone Application" project in all of them, the designer part will throw up the error as mentioned in title, and does not show the designer, the code part works good. In fact i can compile it and execute it, the emulator will display. but the designer part is missing , as i can not drag and drop the items on it.

Last week it worked perfectly, i downloaded the latest tools, intsalled new version of win mobile developer tools, from then on i'm getting this error.

Please find the details for the queries,

1 . Sliverlight project works fine in VS2010 Ultimate, Blend 4 and VS 2010 VWD. shows the designer part where
    i can drag and drop items.
2 . Yes, your correct. If i create Windows phone project in any tool , the designer part throws the error as mentioned.
3 . Details are below,

Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel

Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Ultimate

Microsoft Office Developer Tools 01019-532-2002102-70967
Microsoft Visual Basic 2010 01019-532-2002102-70967
Microsoft Visual C# 2010 01019-532-2002102-70967
Microsoft Visual C++ 2010 01019-532-2002102-70967
Microsoft Visual F# 2010 01019-532-2002102-70967
Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70967
Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70967
Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70967
Microsoft Visual Web Developer 2010 01019-532-2002102-70967
Microsoft Visual Web Developer 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB976272) KB976272
Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.30319
Microsoft XNA Game Studio 4.0
Build 4.0.20410.0

I have Installed latest SL4, from this link.

B. Visual Web Developer 2010 Details :

Microsoft Visual Studio 2010
Version WM7ToolsRel - 30319.31

Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: PD Express

Microsoft Visual C# 2010 02053-315-4422943-70211
Microsoft XNA Game Studio 4.0

Chaitra B S

Posted by Microsoft on 5/7/2010 at 11:18 AM
Hi @Chaitrax

Sorry to hear you are hitting this issue.

I need to confirm a few further details to investigate further.

1. Do you see this error in Visual Studio 2010 (or Blend 4) when creating a new regular Silverlight project
2. Do you see this error for any brand new Windows Phone project you create (from your screenshots it appears you do - can you confirm)?
3. Please can you confirm what versions of the following you have installed:

Visual Studio 2010 (Ultimate or another SKU? RTM or a different version)
Visual Web Developer 2010 (RTM or a different version)
Visual Studio 2010 Tools for Silverlight 4

Mark Wilson-Thomas
Program Manager, WPF & Silverlight Designer, Visual Studio
Posted by Microsoft on 5/5/2010 at 7:17 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Posted by Microsoft on 5/5/2010 at 5:05 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Chaitrax on 5/12/2010 at 9:15 AM
Reinstall Windows Mobile tools again. It solved the error.
File Name Submitted By Submitted On File Size  
blend4-error.jpg 5/5/2010 240 KB
vs2010-error.jpg 5/5/2010 471 KB