Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


Keywords: KB911718, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 911718
Revision : 3
Created on : 2/24/2006
Published on : 2/24/2006
Exists online : False
Views : 515