Visual studio 2010 crashes every time when opening a solution

asp.netvisual studio 2010

i have a web application in visual studio 2010. visual studio is crash every time when i open the solution and go to design of a specific page in my web application. all the other pages are run smoothly ! problem signaturs are

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: devenv.exe
  Application Version:  10.0.30319.1
  Application Timestamp:    4ba1fab3
  Fault Module Name:    msenv.dll
  Fault Module Version: 10.0.30319.1
  Fault Module Timestamp:   4ba1fd94
  Exception Code:   c0000005
  Exception Offset: 00023169
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:    1033

Additional information about the problem:

LCID:   1033

i got this error message " Unhandled exception at 0x775e45bb in devenv.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one." when i debug the error…
can any one help me regarding this error i m stuck in it….

Best Answer

There are some steps that you can do and maybe gets out of this.

  1. on the directory of your project locate the hidden file that have the same name with your project but ends on .suo, eg ProjectName.suo and delete it.
  2. go to your tempo directory and clear it by deleting the files there. To find it type cd %temp%
  3. Clear the asp.net temporary files located in the subdirectories of c:\WINDOWS\Microsoft.NET\Framework\ called Temporary ASP.NET Files
  4. if all of the above not work, you can finally clear the class cache of vs. This is located on your personal data folder, under the Application data/microsoft/visualstudio and search there for the directories ReflectedSchemas and clear them. VS will be create them again.

From all that the first step will probably solve your issue.

Related Topic