14 votes
Class Designer Powertoys Crashes VS 2005 w/ sp1

Description

 
After installing the add-in, opening a solution then opening the .cd file crashes VS 2005 IDE with no errors. Tried a repair but still does the same thing.

File Attachments


Comments

most recent at top (show oldest at top)
DuncanP wrote Nov 12 2007 at 2:35 PM
FYI putting the three installed assemblies in the GAC fixed this issue for me (i.e. ClassDesignerEnhancements.dll, DesignToolEnhancements.dll, ModelingAddIns.dll).

I don't have .Net Framework 3.5 installed.

holzert wrote Nov 2 2007 at 4:38 PM
Installing .net framework 3.5 beta2 fixed this issue for me

krenshau wrote Oct 19 2007 at 10:14 PM
Another update. I tried unchecking just the power toys, but everything else checked, and it would still crash. I had to uninstall it to stop the crashing.

krenshau wrote Oct 19 2007 at 5:26 PM
I installed the power toys on my work computer, too. It has basically the same setup. It crashes Visual Studio the same as what happens on my home PC. I unchecked all of the add-ins except the powertoys. I restarted Visual Studio, and it still crashed.

I hope that helps.

yeqing07 wrote Oct 18 2007 at 10:14 AM
Hi Kren

What happens if you disabled all the other add-ins?

krenshau wrote Oct 17 2007 at 7:52 PM
My Visual Studio 2005 is crashing, too. I just installed it for the first time, and when I tried to open the class designer VS would just go away, no errors at all.

I looked at the picture here, and I do not have any of the add-ins that were listed.

I am running Windows XP Pro SP2. I have .NET 1.1 to 3.0 installed.

Here is the about infor for Visual Studio, if it helps.

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-2238643-41901
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-2238643-41901
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-2238643-41901
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-2238643-41901
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-2238643-41901
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-2238643-41901
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


DXCore for Visual Studio 2.5
DXCore for Visual Studio

EventToaster 1.0
PowerToy demonstrating how to respond to IDE events from a package.

Extensions for Windows WF
Windows Workflow Foundation Tools for Visual Studio

IndexedFind 1.0
Finds strings in files using Microsoft Indexing Service.

Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

Orcas Technology Preview - .NET Framework 3.0 Development Tools 1.0
Microsoft Visual Studio Code Name Orcas Community Technology Preview - Development Tools for WinFX

Refactor! for Visual Studio 2.5
Refactor! for Visual Studio

Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061

SourceOutliner 1.0
Creates a tool window that provides an outline view of a source code file.

SuperDiff 1.0
Implements the WinDiff engine in a Visual Studio tool window.

VcCodeSnippets 1.0
Provides basic code snippet functionality while editing C++ code.

VistaDB 3 DDEX Provider Package 3.2.1.40
VistaDB 3 Designer for Visual Studio 2005

VisualSVN 1.2.4
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at http://www.visualsvn.com
Copyright (c) 2005-2007 VisualSVN Team.

Code Project Browser
Code Quick | Think Slick
http://www.slickedit.com
Copyright (c) 2007 SlickEdit Inc.


DevExpress Tools
DXCore extensibility layer for Visual Studio .NET, from Developer Express, Inc. (www.devexpress.com).

I have not tried any of the fixes listed because they didn't seem to work for the others.

I hope this can get fixed soon. I am really looking forward to using this.

Thank you.

darinclark wrote Oct 15 2007 at 11:02 PM
Class designer doesn't work for me either. I get the same crash as the other guys. Tried the Ngen fix and uninstalling and reinstalling the powertoys.

My OS drive is C: Visual Studio is on H:
3 1600 x 1200 monitors.
2GB of Memory

yeqing07 wrote Sep 7 2007 at 7:12 AM
To Qwertie:
I think the issue on your setup is different from this issue. I would like to know the version of your visual studio. Is is a vsts english version? As some APIs are not available on some other versions, PowerToys might cause exceptions during the loading process.
We will try to find these add-ins and see what will happen in our setup. Also, can you send us a screen shoot or some dump files to help us inverstigating? Here is my email address:
yeqing07@hotmail.com

To Chupaul:
As you removed PowerToys, the two add-ins will not show up in the add-in manager.

The cause of the crashing might be the one we are discussing.
Please reinstall PowerToys, and also fix the defact of CLR by installing the latest ".NET Framework 3.5" or stop the NGEN service. The detailed steps are available in former discuss. There are already succesful cases that the issue is solved by installing the latest ".NET Framework 3.5".
Would you try one of these and tell us the result?


chupaul wrote Sep 7 2007 at 3:57 AM
Hi everyone,

Yep, my VS.Net 2005 sp1 was crashing on View Class Diagram and uninstalling PowerToys for Class Designer in Add/Remove Programs on Win XP sp2 worked for me.
The PowerToys did NOT show up in the VS list of addins though ?

So, what is the fix for this ? I want my PowerToys :)

Peace, Paul

Qwertie wrote Sep 7 2007 at 12:23 AM
I'm having this problem too, except that I may get errors. When starting to load up VS I may get the error "The Add-in 'Class Designer Enhancements' failed to load or caused an exception" blah blah. . . Unspecified error blah blah. And, when VS 2005 disappears, I may get a message about "visual studio object test bench package" failing, asking me whether I want to disable it (I choose no because I suspect it's a core VS feature). I'd try installing .NET Framework 3.5 as suggested, except that it's 142 MB :O.

Other add-ins I have: CopySourceAsHtml, Smart Paster 2005 Add-in, TestDriven.NET 2.7.2111 Beta Personal.

(Workaround: run the powertoy's installer to uninstall it. :P)

McGurk wrote Aug 28 2007 at 2:56 PM
Knowing that newest posts are at the top changes the context of my comment slightly...

The powertoy still does not work for me. I performed #2 listed below as a "fix" which did not work. Only removing the power toy completely was I able to get the class designer to work again.

McGurk wrote Aug 28 2007 at 2:54 PM
Same situ here. XP, VSTS SP1. Try to open a .CD and VS goes away. After uninstalling the power toy (via choice 2 listed above and by add/remove programs), the class designer works again. Please fix, kthxbye.

yeqing07 wrote Aug 20 2007 at 7:02 AM
Hi all,

We may found the cause of this issue.
We found a remote computer with this kind of issue, and we did some investgation.
According to the investgation, it's becuase of a defact of "NGEN". We also found two ways to fix it.

1.It could be fixed by installing the latest ".NET Framework 3.5".
Here is link to Microsoft .NET Framework 3.5 Beta 2:
http://www.microsoft.com/downloads/details.aspx?FamilyID=d2f74873-c796-4e60-91c8-f0ef809b09ee&DisplayLang=en

2. Delete the native image of the assembly "Microsoft.VisualStudio.EnterpriseTools.TypeSystem.dll" and Stop the NGEN service
2.1> open a cmd window, and go to directory "%WINDIR%\Microsoft.NET\Framework\v2.0.?????\".
2.2> issue command "ngen queue pause" to pause the NGEN service.
2.3> issue command "ngen uninstall Microsoft.VisualStudio.EnterpriseTools.TypeSystem" to delete the native image.

Could you please try one of thess method, and tell us how things are going then?

What we found was only the cause of a single case. We are not sure if this could be the reason for all of your issue. Even now, we don't have a setup at hand capable of repeating this crash. It's really hard for us to track this issue. Also it took too long. Sorry for the inconvenience.

Thanks for Guy, you really help us a lot. The information you provided was really valuable.

Thanks,

DannyAsher wrote Aug 17 2007 at 3:23 PM
Immediate crash on VS2005 SP1 under WindowXP with no other Addins.

>> Since normally the add-ins do not know one another, there are potention collisions.
>> There might be different collisions on different setups. So once there are collisions, we can try >>disabling some add-ins not in use and later enabling them.

Is this true? Do you have to test a developed Addin against all past, present and future Addins to avoid crashes? Hard to believe.

Best of luck fixing this - improving the Class Designer is a wonderful goal.

yeqing07 wrote Aug 17 2007 at 8:39 AM
Hi all,
If the PowerToys crashes the Visual Studio on your setup, would you do us a favor to check the file version of the file "mscorwks.dll"?
It's placed in the folder "%WINDIR%\Microsoft.NET\Framework\v2.0.?????\". Please tell us what file version(such as "2.0.50727.312") it is.

Thanks,

yeqing07 wrote Aug 6 2007 at 7:49 AM
gerstena,

You are correct. The two add-ins were not part of the issue.
Acctually, all those add-ins work well together on our setup as the screen shot attached.

Anyway, as you found the workaround for your setup, you can to take advantage of all the add-ins. Just a little inconvenieced.

Thanks,

gerstena wrote Aug 3 2007 at 3:02 PM
The "two other add-ins" are "Spell Checker for VS.NET 2005 Version 1" and "Line Counter 2005" I've had them disabled for quite some time so I didn't think it was part of the issue. I only enabled them to test if the modeling power toy would work with other add-ins. I don't have the downloads any more and I don't recall where I got them. Probably www.codeproject.com.

For the most part, my system should have the standard patches. The only manual update that I can think of is that we applied the VS80-KB928209-X86-ENU.exe, which was the VB.NET script hotfix.

yeqing07 wrote Aug 3 2007 at 4:54 AM
gerstena,

GhostDoc(2.1.1) works well together with PowerToys in our setup.
But in our setup there are no "two other add-ins" or other tools installed.

I think the crashes of Visual Studio are not simply because the collision between GhostDoc and PowerToys.
Factors are involved. But things between add-ins could be a clue.
I am happy to see that you have found a workaround for your setup.

Setups vary from one to another. Since normally the add-ins do not know one another, there are potention collisions.
There might be different collisions on different setups. So once there are collisions, we can try disabling some add-ins not in use and later enabling them.
Disabling and enabling can be achived by "Add-in Manager" from "Tools -> Add-in Manager" of the main menu.

We admit it's inconvinient. Again sorry for the inconvenience.
Any way, we will be keep improving. And thanks for your support.

By the way, gerstena, could you tell me about the "two other add-ins" and how we can get them.

Thanks,

yeqing07 wrote Aug 3 2007 at 3:11 AM
gerstena,

There are two add-ins from this project.
"Design Tools Enhancements" provides features for "Class Designer" and other designers as well. Thess features will work on other design diagrams, such as “Application Diagram” and “System Design Diagram”.
"Class Designer Enhancements" provides features only for "Class Designer".
You can find the detailed information in "Modeling Power Toys Help.mht" created on your desktop by the installer.

It seems that one of the add-ins collides with GhostDoc(2.1.1). And we will check it.

I'am sorry that PowerToys does not perform well with other tools.
Thanks for helping us address this issue. Your favor to PowerToys really push us forward.

We hope it could be the reason for the crashes on other people's setup. Then we could have a work round for the time being:
Disable add-ins from PowerToys when GhostDoc is needed.
Disable GhostDoc(or other tools have collision with PowerToys) when PowerToys is needed.

Sorry for the inconvenience.


Guy,
Since you told us that there is not much beyond VSTS on your setup and your colleague's. And We have installed FxCop 1.32 on our setup, it works well together with PowerToys on SP1.
This workaround may not work for you. We will go on tracking this issue.

Thanks,
Qing

gerstena wrote Aug 2 2007 at 4:21 PM
Sorry to muddy up this thread. It appears to not like GhostDoc on my system. I am able to run CDE + MDTE and two other add-ins if I disable GhostDoc (2.1.1).

I could have sworn that I tried this earlier but perhaps I didn't restart before testing or something.

gerstena wrote Aug 2 2007 at 3:48 PM
Update:
I guess both add-ins are from this project. You cannot run both at the the same time. I cannot reproduce this issue on fresh XP system with all patches under VirtualPC. My work around for now is to only run the "Class Designer Enhancements" since it appears to have everything but the scrolling map feature.

"When I have time (TM)" I'll load the code up and try to pin-point the issue.

gerstena wrote Aug 2 2007 at 3:35 PM
I have found the issue on my system. There is an add-in called "Class Designer Enhancements" that was causing the problems (maybe the old version?). Once I unchecked all the boxes for that item, the "Modeling Design Tools Enhancements" add-in started working.

gerstena wrote Aug 1 2007 at 9:17 PM
I had two projects with .cd files in it and both would crash. Both were created before the SP1 hotfix. I'll try to build a system to reproduce at home tonight.

jswanson wrote Aug 1 2007 at 5:58 PM
I'm getting the same behavior. It crashes when I open any .cd file in any of my solutions. VS2005 SP1 on Vista.

Details:
---------
Microsoft Visual Studio 2005
Version 8.0.50727.859 (vsvista.050727-8500)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Enterprise

Microsoft Visual C# 2005 77718-007-4000003-41262
Microsoft Visual C# 2005

Microsoft Visual Studio 2005 Tools for Applications 77718-007-4000003-41262
Microsoft Visual Studio 2005 Tools for Applications

Microsoft Visual Studio Tools for Office 77718-007-4000003-41262
Microsoft Visual Studio Tools for the Microsoft Office System

Microsoft Visual Web Developer 2005 77718-007-4000003-41262
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77718-007-4000003-41262
Microsoft Web Application Projects 2005
Version 8.0.50727.859

Microsoft Web Deployment Projects 2005 77718-007-4000003-41262
Microsoft Web Deployment Projects 2005

Visual Studio 2005 Team Edition for Architects 77718-007-4000003-41262
Microsoft Visual Studio 2005 Team Edition for Software Architects

Visual Studio 2005 Team Edition for Developers 77718-007-4000003-41262
Microsoft Visual Studio 2005 Team Edition for Software Developers

Visual Studio 2005 Team Edition for Testers 77718-007-4000003-41262
Microsoft Visual Studio 2005 Team Edition for Software Testers

Visual Studio 2005 Tools for Office Second Edition 77718-007-4000003-41262
Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System

Extensions for Windows WF
Windows Workflow Foundation Tools for Visual Studio

Hotfix for Microsoft Visual Studio 2005 Team Suite - ENU (KB929470)
This Hotfix is for Microsoft Visual Studio 2005 Team Suite - ENU.
If you later install a more recent service pack, this Hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/929470

Hotfix for Microsoft Visual Studio 2005 Team Suite - ENU (KB937523)
This Hotfix is for Microsoft Visual Studio 2005 Team Suite - ENU.
If you later install a more recent service pack, this Hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937523

Microsoft Recipe Framework Package 8.0
This package provides services to the guidance packages.

Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.3042.00

AnkhSVN
Please visit http://ankhsvn.tigris.org for more information

Below is the version information for the various AnkhSVN components
AnkhSVN 1.0.1.2736
OpenSSL 0.9.8a
Neon 0.25.5
ZLib 1.2.3
Berkeley DB 4.4.20
Subversion 1.4.2
Ankh 1.0.1Final
apr-iconv 0.9.7
apr-util 0.9.12
apr 0.9.12

gsmithferrier wrote Aug 1 2007 at 3:51 PM
Yeqing,

I cannot say for certain because I uninstalled it from both machines but I would say that it is all .cd files. On my Vista machine it happened whenever I opened a project where a .cd file was in the list of files to open in the IDE. On a Windows XP machine it happened when the developer tried to create a Class Diagram. We didn't try other variations as we believed that it was all .cd files.

Guy

yeqing07 wrote Aug 1 2007 at 5:04 AM
We would like to know if every .cd file in every solution crashes Visual Studio orjust a specific .cd file can do so.
We just cannot repeat this problem. Everything is just fine in our setup.

Thanks,

gerstena wrote Jul 31 2007 at 3:44 PM
This occurs under VSTS after installing VS2005 SP1. Uninstalling the class designer power toy will no longer crash the class designer.

Win XP SP2, C#.

Please, please, please fix this. I forgot how tedious the class designer is without this tool :)

Yaohai wrote Jul 27 2007 at 4:20 PM
Would you give the more information about the scenario, such as the language of VS, VS verstion(standard, professional, VSTS...) so I can try to track down the issue.
Another way is to remove the add-in in Menu Tools/Add-in Manage option.

Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187