FIX: The IntelliSense feature in SSMS 2008 R2 may stop working after you install Visual Studio 2010 SP1


Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.
SYMPTOMS
Assume that you install Microsoft Visual Studio 2010 Service Pack 1 (SP1) on a computer that has Microsoft SQL Server 2008 R2 RTM and Cumulative Update 1 through 6 for Microsoft SQL Server 2008 R2 installed. In this situation, the IntelliSense feature in Microsoft SQL Server 2008 R2 Management Studio (SSMS 2008 R2) may stop working.

Note The IntelliSense feature provides suggestions for how to complete SQL queries. Additionally, the feature provides query validation when you create SQL queries in a query window in SSMS. When this issue occurs, SSMS 2008 R2 does not provide suggestions for how to complete queries and does not highlight errors in SQL queries by using red wavy lines.
RESOLUTION
To resolve this issue, apply the following cumulative update. This cumulative update fixes the incompatibility between SSMS 2008 R2 and the Transact-SQL Language Service that is included in Visual Studio 2010 SP1.

Note If you install this cumulative update on the computer that has Visual Studio 2010 RTM installed, you may experience a loss of SQL IntelliSense features in Visual Studio. To resolve this issue, install Visual Studio 2010 SP1. To download this service pack, visit the following Microsoft website:

Cumulative update information

The fix for this issue was first released in Cumulative Update 7. For more information about how to obtain this cumulative update package for Microsoft SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
2507770 Cumulative Update package 7 for SQL Server 2008 R2
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981356 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

Service pack information for SQL Server 2008 R2

To resolve this problem, obtain the latest service pack for SQL Server 2008 R2. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2527041 How to obtain the latest service pack for SQL Server 2008 R2
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in SQL Server 2008 R2 Service Pack 1 for SQL Server 2008 R2.
MORE INFORMATION
For more information about Visual Studio 2010 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
983509 Description of Visual Studio 2010 Service Pack 1

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2531482 - Last Review: 07/12/2011 16:00:00 - Revision: 3.0

Microsoft SQL Server 2008 R2 Enterprise, Microsoft SQL Server 2008 R2 Developer, Microsoft SQL Server 2008 R2 Datacenter, Microsoft Visual Studio 2010 Service Pack 1

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB2531482
Feedback