Visual Studio 2010 Crash Restart problem (source file compilation crashes) _ Practical Tips

Source: Internet
Author: User
Tags visual studio 2010
Visual Studio 2010 suddenly crashed 1 weeks ago. In the source file modification as soon as one compiles, immediately crashes, and does not eject any unusual window, seriously affects the software development work.

Google has countless solutions
The following Web site approach does not work:
1) http://blog.sina.com.cn/s/blog_68cb7e090101963d.html
For 32-bit operating systems, run the following command:
regsvr32 "C:\Program files\internet Explorer\ieproxy.dll"
For 64-bit operating systems, run the following command:
regsvr32 "C:\Program Files (x86) \internet Explorer\ieproxy.dll"
The above command must run with administrator privileges. If not, then:
regsvr32 c:\Windows\System32\ole32.dll
None of this is going to work.
He gives some reference links:
Http://support.microsoft.com/kb/983279/en-us
Http://connect.microsoft.com/VisualStudio/feedback/details/618802/visual-studio-andom-frequent-crash
http://social.msdn.microsoft.com/Forums/zh-SG/vssetup/thread/ac890e5c-2de6-4526-86fb-9a3cd77ec80e
The plugin ankhsvn is known to cause the same problem:
Http://blogs.msdn.com/b/visualstudio/archive/2010/05/11/if-you-are-seeing-intermittent-crashes-with-vs-2010.aspx
Thought is svn and visualassistx problem, after unloading still not.
Again, disable some plug-ins from Visual Studio 2010 to change the source control system to "none", still not.

2 After some toss, again this problem.
An error occurred while opening a project or solution in VS2010: "The operation could not be completed." ClassFactory cannot supply requested class ", the following URL has a solution.
Http://www.cnblogs.com/helloworldexcepition/archive/2012/01/13/2321171.html
But VS2010 still collapsed.

3 after nearly 1 days of tossing and going, has decided to reload Windows 7.
The next day to install Windows7, installation of commonly used software, New Year's atmosphere, the operating system every year do not reload are embarrassed to say that they are engaged in it.
Install Visual Studio 2010 and SP1, it's finally a normal

4) I didn't think that the problem of the falling apart came up again today.
Also suspected that some patches were installed
Google once again, found this site: http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/cea5e4b2-5b33-453c-bffb-8da9f1a1fa4a
It's a little bit of a discussion, and the symptoms seem like mine.
• Note the assemblyversion in the AssemblyInfo.cs file
• Close the window designer
• Delete suo
is useless.

5 also said that there is this patch, https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=36847 download the installation or not.

6 Read this post again, the original problem has existed for n years, Microsoft has not been fixed.
http://social.msdn.microsoft.com/Forums/en/msbuild/thread/6f76db9a-ea37-42b3-a016-571912c28032
The final feeling is that some of the debugger's exceptions are aborted when a file is locked, and visual Studio 2010 does not normally unlock the file, causing a crash.

So I run VS2010 with admin privileges, and there's no problem, so let's see when this problem repeats itself.
Maybe this problem is not really solved, let's record it here.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.