.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

VS2008 SP1 crash when opening XAML designer

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :WPF
 
Dear Sir,

I repeatedly encounter a hard crash each time I open a specific XAML file in the VS2008 designer (C# project). This repeats every time (frustrating). I use Windows 7 ultimate, VS2008 SP1 TFS (SP1 installed after TFS). Please find the attached entries from my Application event log below.

I understand that there is no SP2 yet and that there is some confusion with respect to the hot fixes in the forums. I would be happy if I could get a pointer to a relevant hotfix, since I cannot find anything that seems to fix my problem. It would also be interesting to know if/when a SP2 will be released, since there seems to be quite a few people out there with quite serious stability issues.

Yours sincerely,
G.

PS As for other threads on this forum: 1) Having the toolbox pane open does not fix my problem. 2) And the fix in KB963035 does not work for me although I (in addition to the problem described here) also get the "busy waiting for an internal operation" message a few times a day.


First entry:

Faulting application name: devenv.exe, version: 9.0.30729.1, time stamp: 0x488f2b50

Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000

Exception code: 0xc00000fd

Fault offset: 0x0e


View Complete Post


More Related Resource Links

No xaml designer in vs2008

  

 

I create WPf application, but i can not see the xaml designer, that means only xaml code exists, no interface.

 

The application can run and display xaml page

 

when I try to view the xaml designer, the error messeage is:

 

There is no editor available for "~~~/××.xaml" . Make sure the application for file type(.xaml) is installed.

 

 

I have try many times to install framework 3.5, vs2008 express edition, vs2008 beta2 professional, vs2008 trial edition, but still no work

 

please:

 

   how to install xaml editor? or how to install application for .xaml? or what should i install?

 

 

Thanks


Visual Studio closes itself by opening aspx-Page designer after Windows Update

  

Hey Guys,

I've a problem with my Visual Studio.

On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important. I hope you could help me out of this disaster.


Thanks

Nik


[VS2008] Designer's display problem

  
Hello, I created a solution with multi-project and i've recently added some resources files to lacalized my application and of course my XAML files too. I used the "How To:" http://msdn.microsoft.com/en-gb/library/dd882554(v=VS.95).asp I inserted the class LocalizedString in one off my project that I use as library for common actions. But since, my designer is not loading properly because it can't find this class while I precised the good assembly and that the application is running properly with resources applied. It's then not handy to develop an HMI... If anybody has an idea about this trouble... Of course I tried dozens of times to clear the projects and regenerate without success. Thank you for your help !

Hosted Designer fails to load workflow xaml that has InArguments with default values (xaml saved by

  
I have hosted the designer in our app. Using the hosted designer, workflows are saved as xaml to a database. When an end user wishes to edit a workflow the xaml is downloaded to a file and loaded into the designer via the .xaml file. The user can also associate assemblies with the workflow and there is a mechanism which makes sure that these assemblies are loaded into the appdomain and available. The problem we are hitting occurs when the top level activity (Sequence) has InArgument with default value. I create a simple Sequence, add InArguments (type of Int32 and String)  and set some default values. I save the workflow xaml to the database and close down the designer. When I wish to edit the workflow and try to load I get the following errors Could not find member '{clr-namespace:}_e905.argument3'. Could not find member '{clr-namespace:}_e905.argument1'. suggesting that some assembly/namespace missing. Here is the xaml I try to load: <Activity mc:Ignorable="sap" x:Class="{x:Null}" this:_e905.argument3="99" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorl

WPF Designer not displaying controls in the toolbox VS2008 Prof Edn running on Windows 7

  
My Version Microsoft Visual Studio 2008 Version 9.0.30729.4462 QFE Microsoft .NET Framework Version 3.5 SP1 I have windows 7 home premium running on my machine I installed Visual C# 2008 Express Edn with SP1 first I got that running I then installed rest of the Express components including SQL. I then installed Visual Studio 2008 Prof Edn with .Net 3.5 SP1 I then installed .Net 4.0 I run two instance of  C# IDEs. The Pro End and the Express Edn. Both Express/Prof C# versions display controls in toolbox for Windows Forms correctly. I only have problems with controls in toolbox for WPF in VS 2008 Prof Edn. My Scenario : When I use Express Edition the design view of the WPF Designer, it displays the toolbox with controls populated for WPF that I can use. When I use Pro Edition the design view of the WPF Designer, it displays the toolbox with  NO controls visible for WPF  that I can use.  The toolbox has only  "general" tab with the words "not usable controls....". If I do a show all it does show controls but they are disabled/read only. When I look at the Tools -> Choose Toolbox Item , I get the tools dialog box. Inside the box within the WPF Components TAB all controls are not ticked/selected. If I tick the Button Control and select OK, the control does not appear on the toolbox. I have done reset Toolbox no change. I

Opening vs2008 solution file in vs2010 - Framework targeting issue

  

Hey guys,

I am opening a vs2008 .sln file inside vs2010 - the conversion wizard shows up, and it goes through with no errors other than a pop up warning me that this solution needs .Net Framework 3.5 and that it is "not installed on this machine" - I chose to target it to .Net Framework 4.0 and to try to switch it later as an option.

I then bring up Properties - >Application -> Target Framework and in the dropdown, .Net Framework 3.5 is not listed - which is strange since in "Add or Remove Programs" I can see .Net Framework 3.5 is installed on my machine.

How can I get Framework 3.5 to show up in the dropdown so I can target this project to that framework?

Can't say I've ever done this, so I'm pretty sure I'm doing something wrong.

 

Update: I tried Method #1 here (http://blogs.msdn.com/b/robvi/archive/2004/02/17/75272.aspx) and I cannot see v3.5 - so where did it go? I'm confused why it is not in my registry but shows up in "Add or Remove Programs" list...

Thanks


Generated MainWindow.xaml crashes VS2010 when you open the designer

  

In my system which is running Windows 7 Enterprise X64 I have a problem viewing some XAML files. At least one of my project XAML files sometimes crashes VS2010 if I open it in the designer or try to view it with Internet Exlorer 8 or Windows Presentation Foundation host. It also happens if i try to display the MainWindow.xaml that is generated by VS 2010.

The contents of MainWindow.xaml are

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
       
    </Grid>
</Window>

 

If I open the debugger when IE8 crashes, the failing stack frame is iefdm2.dll!03992071()

I assume it is some sort installatioin snafu or something but I would hate to have to re-install everything.

Can anybody suggest what the issue might be?


Generated MainWindow.xaml crashes VS2010 when you open the designer

  

In my system which is running Windows 7 Enterprise X64 I have a problem viewing some XAML files. At least one of my project XAML files sometimes crashes VS2010 if I open it in the designer or try to view it with Internet Exlorer 8 or Windows Presentation Foundation host. It also happens if i try to display the MainWindow.xaml that is generated by VS 2010.

The contents of MainWindow.xaml are

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
       
    </Grid>
</Window>

 

If I open the debugger when IE8 crashes, the failing stack frame is iefdm2.dll!03992071()

I assume it is some sort installatioin snafu or something but I would hate to have to re-install everything.

Can anybody suggest what the issue might be?


SharePoint Designer Crash when trying to add a New Item Form

  

Hi,

I am running WSS 3.0 on a Windows 2008 Server 64bit.  This runs our intranet which has been going for about 6 months.  I have used SharePoint Designer 2007 to make basic edits to pages.

SPD2007 has been crashing when I do the following:

I created a links list called 'Tester Links'.  I created a new .aspx page in SharePoint Designer 2007, linked it to the default master page then inserted a 'Data View'.  I chose 'Tester Links' from Data Source details then clicked Show Data.  I selected a couple of fields, went to 'Insert Selected Fields As' and chose 'New Item Form'.

SharePoint Designer 2007 then crashes with the error 'Microsoft SharePoint Designer has stopped working'

I tried creating a new Web Application and site collection, then created a new links list however still the same crashing.

I tried using SPD2007 on both the server that WSS is on and my own client machine.  I have also logged in as myself (domain admin) and the administrator however I still can't create a new item form! 

Any ideas?

Thanks in advance for your help.


VS2008 WPF Xaml: Is there a path length limit when loading an assembly?

  

Hello,

It seems that there is a path lenght limit for VS2008 when loading XAML assemblies.

Using the Microsoft sample Southridge, if the project is stored on "C:\Projects\C# samples\Southridge_Labs\1.Southridge_Fundamentals\Start" the designer does not load the assemblies.

But if I copy my files the project to the root (C:\Southridge_Labs\1.Southridge_Fundamentals\Start) then it works fine.

Basically I have solved my problem, but I want to know if there is an EXPLICIT limit and I cannot find any information related.

Thanks for your help.


Designer does not remember my settings, for ex., I want to always load xaml into xaml (code) view, n

  

I am using VS 2010 Ultimate.  It is not remembering my setup when opening .xaml files.  It is very annonying.  I  am pretty sure VS remembers things like that.

I prefer to load my .xaml file to see the code only.  So I usually minimize the design tab.  However, I have to do this every time I open a .xaml file.

I am getting the feeling this setting is stored at the .sln level, which is even more annonying, it should be global setting for all VS sessions.

Any advice?


VS2008 SP1 + WPF XAML editor breaks IntelliSense (Bug)

  
Hallo.

The scenario is:
1) open just 3 primitive template based XAML files in XAML editor (without showing WPF designer even)
2) close two of opened xaml files
3) Check intelliSense - it wouldn't work untill you restart VS.

If you open 2 XAML files - it works fine, but 3 -XAML - is enought for VS2008SP1 to fall down.

My XAMLs are following:

XAML1:
<UserControl x:Class="AutoTrader.Quotes.CellLotsTemplateControl" 

XAML WPF assembly not loading into designer

  

Win 7, VS 2008 SP1, .NET 3.5 Sp1

I have an error on my machine only, but has no complaints on other similar machines. I have a separate xaml file in my local assembly, so I make the declaration in my main XAML file :
...
xmlns:local="clr-namespace:MyAppName"
...

A local type xaml is used (in a grid) and is in the body of the main xaml file :
...
<local:PLTButtonPanel x:Name="BtnPanel" HorizontalAlignment="Left" VerticalAlignment="Top" .....MORE STUFF..../>
...

This error is displayed when trying to load the designer :
Error 1 Assembly 'MyAppName' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. H:\usr\src\CS\MyAppName\MyAppName\MainFrameWindow.xaml 6
Error 2 The type 'local:PLTButtonPanel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. H:\usr\src\CS\MyAppName\MyAppName\MainFrameWindow.xaml 220

When I compile, the erros go away, the app runs fine, BUT the Designer never loads the UI into view. It has no problem on ther identically configured machines.

Any ideas what is not set properly ?


Why is the WPF/XAML Designer in VS2010 unable to resolve my StaticResource references?

  
I have a WPF 3.5 app that was rendering properly in both the VS2008 Designer and at runtime. Since upgrading to VS2010, the Designer is no longer able to resolve any of my StaticResource references. Everything still renders correctly at runtime.

Opening a site using Sharepoint designer 2010

  

We have an intranet sharepoint 2010 site. windows 2008 64 bit machine and the sharepoint version is 14.0.4763.1000. Configuration database version is 14.0.4762.1000.

My machine runs on windows XP and I installed 32-bit sharepoint designer 2010 on mine. version of designer is 14.0.4760.1000. I am not able to connect to the sharepoint 2010 site which is hosted on the above mentioned server. But It opens the site if I use designer from the server itself. Is it something as expected?

I checked and enabled sharepoint designer settings and client integration settings from Central administration. I am able to browse the sites from my XP machine without any problem. Any idea why is this happening?

 

 


VS 2010 RTM Crash when WPF designer loads a buggy control

  

One of my projects had custom control with a bug in it.  The bug was that OnApplyTemplate was calling itself instead of base.OnApplyTemplate().  Clearly a bug - stack overflow.

I don't expect VS to die hard when loaded into the designer though.  Both Blend 3 and VS just suddenly die.  I suspect Blend 4 would too.

To repro:

Create a custom control.  Create some other control/usercontrol where you'll use the custom control.

In the first control, add an override for OnApplyTemplate.  In that method, call OnApplyTemplate (*without* base.).  Now, in XAML mode, go add that to the user control. It'll compile fine, etc.  Now switch to design mode....boom.


Visual Studio 2010 crashes when opening XAML files

  

I'm having a problem opening XAML files in Visual Studio 2010.  When I open a XAML file, Visual Studio become very slow and the XAML file never produces an outline or a rendered version of the XAML.  When I click in the text of the XAML, it can take several minutes for the cursor to appear where I clicked.  The XAML file is rather small - just a grid with some basic controls on it (a grid, stack panel, radio buttons, date pickers, etc).  The problem occurs if I open any XAML file in the project, though.

When I watch devenv.exe in the task manager, as soon as I open a XAML file, the process is consuming 100% of one of the CPUs and begins eating chunks of memory at the rate of about 5MB/second and creating a new thread about every two seconds.    The memory use grows until it's about 700MB and the number of threads climbs to between 450-470 before it levels off.  Even after it stops producing new threads and consuming more memory, the XAML file is still unresponsive and it's still using 100% of one of the CPUs.  Even after a half hour, the CPU is still at 100% with 452 threads.

I have completely uninstalled and reinstalled Visual Studio but I'm still having the same problem.

I'm running XP sp3 32-bit with VS 2010 Ultimate on a dual core machine with 4GB RAM.  At this point I simply can't edit XAML

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend