The IDE unexpectedly closes after about one minute when you load a Visual Studio .NET project (891405)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you load a Microsoft Visual Studio .NET project, the IDE unexpectedly closes after about one minute. You may receive an error message that is similar to the following:
Microsoft Development Environment has encountered a problem and needs to close. We are sorry for the inconvenience.
If McAfee VirusScan antivirus software is installed on your computer, you may receive an error message that is similar to the following:
An unhandled exception has been caught by the VSW exception filter.
You may also see an error signature that is similar to the following:
   Application name  Application version  Module name  Module version  Offset
   ----------------------------------------------------------------------------
   devenv.exe        7.0.9466.0           Ntdll.dll    5.0.2195.5400   0004b836

CAUSE

This issue occurs if a bug causes internal objects that represent the types to be incorrectly allocated. For example, this issue occurs when you add an #import directive of an external type library that has multiple exports to your project.

WORKAROUND

To work around this issue, change the attribute for the .ncb file of the project to Read-Only.

Note This change disables Microsoft IntelliSense in your project.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:2/28/2006
Keywords:kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbtshoot kberrmsg kbBug kbprb KB891405 kbAudDeveloper