BUG: IntelliSense may not work correctly when you type code in the code window for an application that was built by using ASP.NET 2.0 in Visual Studio 2005 (911718)



The information in this article applies to:

  • Microsoft ASP.NET 2.0
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Team System Architect Edition
  • Microsoft Visual Studio 2005 Team System Developer Edition
  • Microsoft Visual Studio 2005 Team System Team Foundation:

SYMPTOMS

When you type code in the code window for an application that was built by using Microsoft ASP.NET 2.0 in Microsoft Visual Studio 2005, Microsoft IntelliSense may not work correctly. You may also notice that CPU usage reaches 100 percent when IntelliSense is not responding. This problem occurs when the following conditions are true:
  • The application code that you work on resides in an .aspx file or in a code-beside file.
  • One or more of the configuration files that are required to compile the application contains a code error. Examples of configuration files include the Web.config file and the Machine.config file.

CAUSE

This problem occurs when a compilation error prevents IntelliSense from working correctly. When a required configuration file or a file in the App_Code directory is updated, IntelliSense recompiles the application. A code error in a required configuration file may cause a compilation error that interferes with IntelliSense.

WORKAROUND

To work around this problem, locate and resolve any code errors in the Web.config file and in any other required configuration file for the application.

STATUS

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

Modification Type:MajorLast Reviewed:2/24/2006
Keywords:kbtshoot kbprb KB911718 kbAudDeveloper kbAudITPRO