| | | EventType clr20r3, P1 devenv.exe, P2 9.0.30729.1, P3 488f2b50, P4 system.drawing, P5 2.0.0.0, P6 4889dec2, P7 33d, P8 18, P9 system.outofmemoryexception, P10 NIL. | |
Hi, I am facing a strange issue in Visual Studio 2008 Standard SP1, when using WPF Designer (even without using the Designer tab, only XAML tab). Visual Studio crashes very often, without any apparent reason, and in various ways, for example: exits instantly,the IDEdisplays corrupted UI, when begining compiling it stops responding. There are two new Event Log entries after this:
EventType clr20r3, P1 devenv.exe, P2 9.0.30729.1, P3 488f2b50, P4 system.drawing, P5 2.0.0.0, P6 4889dec2, P7 33d, P8 18, P9 system.outofmemoryexception, P10 NIL.
.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0)
Worth mentioning: - computer has Windows XP SP3 with the latest updates installed - it crashes on other computertypes too - the project has quite a large number of UserControls - it appears that if opening a XAML file with the XML editor instead, it works ok - on other WPF projects it also works ok
Does anyone have an ideea why is this happening and solutions?
Thanks - Edited byCristi Catalan Wednesday, October 15, 2008 10:44 AM
-
| | Cristi Catalan Wednesday, October 15, 2008 10:01 AM | It happens to me when I try to open details for a build being processed. Looking at the EventViewer you can realize that the VS team is not handling their exceptions correctly. Someone should tell them that they must add a UnhandledExceptionHandler! | | HectorMeneses Friday, January 30, 2009 5:59 PM | I have the same error!No answers till from 15.10.08!? Does microsoft ever read this kind of posts anyway?? It's very ennoying to use WPF in applications with this bug. More over, at the same time IntelliSense is breaking. I read many posts from microsoft how to solve this bug but they were useless. The scenario is: 1) open just 3 primitive XAML files in XAML editor (not WPF designer) 2) closetwo of opened xamlfiles 3) Check intelliSense - it wouldn't work untill you restart VS. If you open 2 XAML files -it works fine, but3-XAML - is enought for VS2008SP1 to fall down. XAMLs are following: XAML1:
| <UserControlx:Class="AutoTrader.Quotes.CellLotsTemplateControl" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Height="21"HorizontalAlignment="Stretch" |
| > |
| <Grid> |
| <LabelHeight="21" |
| Name="label1" |
| VerticalAlignment="Stretch" |
| HorizontalAlignment="Stretch" |
| HorizontalContentAlignment="Right" |
| FontSize="9" |
| Content="{BindingPath=LotsCount}" |
| /> |
| </Grid> |
| </UserControl> | XAML2:
| <UserControlx:Class="AutoTrader.Quotes.CellOperationTemplateControl" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Height="21"HorizontalAlignment="Stretch" |
| > |
| <Grid> |
| <Button |
| Height="21" |
| Name="label1" |
| VerticalAlignment="Stretch"HorizontalAlignment="Stretch" |
| HorizontalContentAlignment="Right"FontSize="9"Content="Button"/> |
| </Grid> |
| </UserControl> |
XAML3:
| <UserControlx:Class="AutoTrader.Quotes.CellPriceTemplateControl" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Height="21"HorizontalAlignment="Stretch" |
| > |
| <Grid> |
| <LabelHeight="21" |
| Name="label1" |
| VerticalAlignment="Stretch" |
| HorizontalAlignment="Stretch" |
| HorizontalContentAlignment="Right" |
| FontSize="9" |
| Content="{BindingPath=Price}" |
| /> |
| </Grid> |
| </UserControl> | | | Philipp.Munin Monday, February 16, 2009 1:40 PM | By the way. I have VS 2008 SP1 x86 Windows XP SP1 and Windows Vista SP1 on notebook. No PowerCommands, no Visual Studio 2005 - just full VS2008 Team Suite SP1. | | Philipp.Munin Monday, February 16, 2009 2:08 PM | I'm having this exact same problem. I've been using XAML for about 2 months now without any problems until this morning. On top of my designer crashing the IDE, my app no longer shows when running in debug.
Event Type:Error Event Source:.NET Runtime Event Category:None Event ID:1023 Date:2/23/2009 Time:9:07:09 AM User:N/A Computer:C2JHAMILT Description: .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event Type:Error Event Source:.NET Runtime Event Category:None Event ID:1023 Date:2/23/2009 Time:9:07:09 AM User:N/A Computer:C2JHAMILT Description: .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
| | azcodemonkey Monday, February 23, 2009 3:13 PM | I have written an add-in that attempts to work around one common cause of VS crashes by preloading referenced assemblies for a project (and allowing the load order to be changed). You can read more (and download it) from http://www.huagati.com/ProjectLoader/If you try it out, please report back whether it fixes (or doesn't fix) the problem for you.
Kristofer - Huagati Systems Co., Ltd. - web: www.huagati.com - blog: blog.huagati.com - twitter: twitter.com/KristoferA | | KristoferA Wednesday, February 25, 2009 8:35 AM | Have you tried disabling VS2008 from opening in Design View. The design view is not good anyway for XAML which is why you should get blend or just do it manually. To do this I suggest going here : http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx . | | Nick McCready Wednesday, February 25, 2009 3:13 PM | Yep. I've done that and it still crashes. I've pretty much exhausted all the methods to resolve this issue I could find. | | azcodemonkey Wednesday, February 25, 2009 3:22 PM | Hi, everyone,
We now have a patch from CLR team that should help fix many VS crash issues when you are developing with WPF designer. The patches are making their ways to be published later. But if you would like to apply it now, please feel free to send me an email with thistitle "362944 Fix Request".
My email is: zhanbos AT microsoft DOT com.
We apologize for the trouble this issue has caused. And thanks for your patience. Zhanbo
This posting is provided "AS IS" with no warranties, and confers no rights. | | Zhanbo Sun - MSFT Thursday, February 26, 2009 6:39 AM | Dear all, I am desesperate, I hev try all what I found on this forums and other to try soling my issue and for me i get exactly the same thing after this I have done all procedure as others like : Also, this is an error I get in the output window when I try and view XAML: The Microsoft.VisualStudio.Xaml ({E58C2A8B-BCC4-4559-AD59-D62EB6D58A22}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt. If I try to go to Tools > Options > Text Editor > I can click on General and Tabs. However if I click on Formatting or Miscellaneous then I get the error: "An error occured loading this property page". To reiterate:
- When I run '%systemroot%\syswow64\regedit' the Default is 'C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll'. This file exists locally.
- I have tried to register (as an administrator with 'regsvr32 "%CommonProgramFiles(X86)%\Microsoft Shared\MSEnv\TextMgrP.dll"' to which I receive the prompt 'DllRegisterServer in C:\Program FIles (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll succeeded.'
- I have tried repairing Visual Studio.
- I have tried uninstalling and reinstalling visual studio.
Any fix ?
serge
Your experience is build from the one of others | | Serge Calderara Thursday, March 05, 2009 10:26 AM | +1 from my side. On a clean machine VS 2008 SP1 starts crashing after Microsoft Expression/Blend installation. After Expressions are removed VS starts behaving as expected. I think the problem is in the well-known Design assembly and versioning...
Kind regards, Denis
(GMT +02:00) | | Denis Vuyka Wednesday, March 11, 2009 7:55 AM | | | Serge Calderara Wednesday, March 11, 2009 8:02 PM | Hello everyone, I finally got rid of these errors I have initially posted. Unfortunatly nothing in these forums helped. The problem seems to bethat the project I was working on was too big and unstructured - I inherited it just like that :). On the machineI was working back in october 2008, it took approximately 1 min for the project to compile (there are hundreds of UserControl and Window popup classes in the project) Now I structured it in Class libraries, and VS does not crash anymore, not to mentionthe projectcompiles in a few secons. So the solution is indeed good design, but that does not excuse Microsoftto justthrow exceptions in Event Viewer without any additional info. Hereare thelast I spotted:
.NET Runtime version 2.0.50727.4016 - Fatal Execution Engine Error (6BFE1092) (0)
Faulting application devenv.exe, version 9.0.30729.1, time stamp 0x488f2b50, faulting module ole32.dll, version 6.0.6002.18005, time stamp 0x49e037d7, exception code 0xc0000005, fault offset 0x000a17b5, process id 0x15ac, application start time 0x01c9deacaf2536b5.
So I cannot post a miracle solution to this frustrating problem, just design your projects well.
| | Cristi Catalan Wednesday, May 27, 2009 10:09 AM | I was having the same issue after installing Blend 3 on one of our developers PCs. We were able to fix the issue by uninstalling the Silverlight 3 SDK. We are building a WPF app and don't really use Silverlight so we could do this with no impact to us. Don't know what to tell Silverlight developers though. Hope this helps some people. | | Brian Rod Friday, September 11, 2009 5:52 PM |
| |
You can use google to search for other answers |
|
|
|
| | More Threads | | | listbox databinding | | Unhandled exception in designer canvas of WPF project | | forcing uppercase in text | | How to close the XBAP screen from CANCEL button | | Design and XAML Code in different windows | | WPF Designer Crashing | | When Cider update beyond June CTP | | IVsToolbox::IsSupported for WPF controls in the Toolbox | | Missing Auto list member in VS XAML editor. | | WPF ships, but no decent tooling available | |
|