Answered by:
When I click on toolbox, the whole IDE crashes

Question
-
I am using both Visual C# 2008 Express Edition SP1 and Visual Basic 2008 Express Edition SP1 under Win XP .Net SP3 fwk 3.5. I am trying design a Windows Application. When I click on toolbox, the whole IDE crashes. I also have VStudio 2005 on the same PC. (Fine in Vista Ultimate on a diff PC)
Help!
ThanksTuesday, February 24, 2009 6:35 AM
Answers
-
It is clear that your case is not common, since we cannot find to much about this on the web. My advice would be to report this as a Visual Studio bug on Connect: https://connect.microsoft.com/dashboard/?wa=wsignin1.0 and to also put here a link to that.
Lucian Baciu, http://studentclub.ro/lucians_weblog- Marked as answer by Michael Sun [MSFT]Microsoft employee, Moderator Tuesday, March 3, 2009 12:46 AM
Wednesday, February 25, 2009 8:55 PM
All replies
-
Hi!
Can you provide the error message that the system shows when crashing?
Lucian Baciu, http://studentclub.ro/lucians_weblogTuesday, February 24, 2009 11:15 AM -
There is no error message that comes up. However, I have looked in the Application Event Viewer Log of the Computer Management Console and here is what it says...
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1023
Date: 25/02/2009
Time: 9:01:20 a.m.
User: N/A
Computer: MyPC
Description:
.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A2E1132) (0)For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
...I have the following folders in the C:/Windows/Microsoft.Net/Framework folder...
v1.0.3705
v1.1.4322
v2.0.50727
v3.0
v3.5
VJSharpThanks
Tuesday, February 24, 2009 8:18 PM -
Hi!
I looked for your error on the web. Here's what I found:
Brian said on December 23, 2008 5:50 PM:Seem to have a pathological case that leads to the IDE crash and the following entries in the event log (after trying to attach to w3wp.exe)
The repro is to use a solution file from a directory two levels up from a web application project that it includes. (You only need one project in the sln file.) Then try to attach to the w3wp process manually for debugging. In my case after about 5-8 seconds this crashes the IDE, logs events and ultimately crashes the w3wp process as well.
I initially ran into the problem after installing vs2008 sp1. However, rolling the SP back did not resolve the issue. If anybody can shed some light on this or has a better work-around I'd love to hear about it.
The work-around is to use a solution file in the same folder with the web-application project.
Don't have any real idea why - but this was driving me nuts - hope it helps someone...
Event Type: Error
Event Source: Microsoft Visual Studio
Event Category: None
Event ID: 1000
Date: 12/23/2008
Time: 5:38:34 PM
User: N/A
Computer: DENSRV
Description:
Faulting application devenv.exe, version 9.0.21022.8, stamp 47317b3d, faulting module cpde.dll, version 9.0.21022.8, stamp 47317da4, debug? 0, fault address 0x00048245.
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1023
Date: 12/23/2008
Time: 5:38:37 PM
User: N/A
Computer: DENSRV
Description:
.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A2E1132) (0)
- # Brian said on December 30, 2008 10:29 AM:
Just a follow-up. The issue described in my previous post was in fact not solution path related. It was finally cleared up by deleting the .suo file of the solution with the debugging issue and the logged error messages.
http://blogs.msdn.com/tom/archive/2008/09/03/any-other-net-3-5-sp1-issues.aspx
-------------------
See if it works for you, too.
Regards,
Lucian Baciu, http://studentclub.ro/lucians_weblogTuesday, February 24, 2009 9:15 PM -
Hi there
Thanks for your help so far. I saw that there were a couple of other users that had my problem. I couldn't see any answers in that post.
ThanksTuesday, February 24, 2009 10:27 PM -
Please read what I wrote:
- # Brian said on December 30, 2008 10:29 AM:
Just a follow-up. The issue described in my previous post was in fact not solution path related. It was finally cleared up by deleting the .suo file of the solution with the debugging issue and the logged error messages.
Why don't you read everything?
Lucian Baciu, http://studentclub.ro/lucians_weblogWednesday, February 25, 2009 7:43 AM -
Hi Lucian
Thanks a lot for your help so far. I have followed the steps that Brian has said. Please note that he is talking about web applications and my problem is with windows applications. I haven’t had any problems with “Microsoft Visual Web Developer 2008 Express Edition”.
In “Visual C# 2008 Express Edition SP1” I have selected the option “Always show solution” from Tools/Options/Projects and Solutions/General. I have then deleted the solution file but kept the .csproj file. Clicking on the Toolbox pane or trying to use the Toolbox icon at the top of the IDE still causes the IDE to crash. I briefly see the message “initializing toolbox” appear at the bottom strip of the IDE, and then the IDE crashes.
I have also tried adding another .csproj to the overall solution. Again, the same problem. I have tried debugging a fresh overall solution, again the same problem. I have tried creating a fresh overall solution, deleting that overall solution, keeping the .csproj, adding another solution to that overall solution, building the overall solution, restarting the IDE, selecting the default Form, adding another Form, then trying to use the toolbox from that new Form. Again, the same problem. And the same .Net runtime error message that appears in the Computer Management Event Viewer.
I’d appreciate it if there any other suggestions.
Thanks
Wednesday, February 25, 2009 8:46 PM -
It is clear that your case is not common, since we cannot find to much about this on the web. My advice would be to report this as a Visual Studio bug on Connect: https://connect.microsoft.com/dashboard/?wa=wsignin1.0 and to also put here a link to that.
Lucian Baciu, http://studentclub.ro/lucians_weblog- Marked as answer by Michael Sun [MSFT]Microsoft employee, Moderator Tuesday, March 3, 2009 12:46 AM
Wednesday, February 25, 2009 8:55 PM -
Having the same issue. Any solutions reported?Monday, March 29, 2010 3:57 AM
-
I had the same problem, try this:
- Open Visual Studio
- Go to Tools -> Options
- Select 'Windows Forms Designer'
- Set option 'AutoToolboxPopulate' to FALSE
- Open your project again and check if it works
Regards,
Diego
- Proposed as answer by Diegomhi Thursday, July 21, 2011 10:16 PM
Thursday, July 21, 2011 10:15 PM