180

I'm being driven to insanity trying to figure out why Intellisense just fails to work at all. The server I'm using is local and is 2008, the database is set to 2008 compatibility, Intellisense is on in every menu I can find, and yet no member list will pop up even with a CTRL-J.

Has anyone experienced something like this and found a way to fix it? I really can't bring myself to start work unless I have Intellisense working.

  • 3
    Microsoft® SQL Server® 2008 R2 Service Pack 1 - http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=26727 – Thomas Eyde Oct 05 '11 at 12:48
  • This looks like it's just for SQL Server 2012, but many of the fixes are relevant to earlier versions as well, and worth a look if you're already patched and still have symptoms: http://www.mssqltips.com/sqlservertip/2591/troubleshooting-intellisense-in-sql-server-management-studio-2012/ – Aaron Bertrand Aug 10 '12 at 13:53
  • Direct Link From MS Support Hot Fix http://hotfixv4.microsoft.com/SQL%20Server%202008%20R2/nosp/SQLServer2008R2_RTM_CU7_2507770_10_50_17/10.50.1777.0/free/431249_intl_i386_zip.exe – Mahmoude Elghandour Sep 26 '13 at 12:56
  • SQL prompt can also be an alternative http://www.red-gate.com/products/sql-development/sql-prompt/ – Zameer Ansari Jun 13 '14 at 10:25
  • 1
    I've been using SSMS without intellisense for several years at least, before finding out by accident that it supposed to have a working autocomplete feature. It never worked properly for me. Right now I'm on a brand new machine, with a fresh install of SQL Express 2014 and guess what, it still doesn't work. – gyozo kudor Feb 09 '16 at 11:15

17 Answers17

106

I understand this post is old but if anybody is still searching and has not found a solution to the intellisense issue even after re-installing, applying the cumulative updates, or other methods, then I hope I may be of assistance.

I have Applied SQL 2008 R2 Service Pack 1 which you can download here

http://www.microsoft.com/download/en/details.aspx?id=26727

32 Bit: SQLServer2008R2SP1-KB2528583-x86-ENU.exe

64 Bit: SQLServer2008R2SP1-KB2528583-x64-ENU.exe

I have applied this SP1 and now my intellisense works again.

starball
  • 20,030
  • 7
  • 43
  • 238
Bonez024
  • 1,365
  • 1
  • 13
  • 21
87

Visual Studio 2010 SP1 breaks SSMS 2008 R2's IntelliSense. There is a connect about that, and fortunately there is also a fix for that.

(In short, you will need to install Cumulative Update package 7 for SQL Server 2008 R2 by requesting SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86or

SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64

from this hotfix request page.)

EDIT: As @Paul Lemke noted, one might need to get the latest CU package. This blog contains the SQL server releases. (As of this writing, the latest is CU14)

jaraics
  • 4,239
  • 3
  • 30
  • 35
  • 4
    Just a note that you might need to install a later cumulative update. I had to use the Cumulative update 9. http://support.microsoft.com/kb/2567713 – Paul Lemke Sep 27 '11 at 14:37
  • I've tried downloading this one as well as subsequent packages but the self extracting zip fails asking for the last disk of the set?! Very frustrated! It's so annoying not having intellisense! – David Masters Oct 28 '11 at 14:47
  • 1
    they should spread cu with windows update mechanism, cuz sp1 updates for vs2010 I got through this updates. Damn. – Johnny_D Mar 29 '12 at 12:09
21

For SQL Server 2008 R2, installing Cumulative Update 7 will fix the problem. The file you need is

SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86
or
SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64

I also had to uninstall and re-install SQL Server 2008 first (which didn't fix it, but the CU did).

Chris S
  • 64,770
  • 52
  • 221
  • 239
  • 3
    This is exactly the right answer, the hotfix list from Microsoft doesn't explain which download you need. I downloaded the file as advised here and it fixed the problem. You saved me lots of time, thank you! – AndyM Jul 22 '11 at 11:56
  • Direct Link From MS http://hotfixv4.microsoft.com/SQL%20Server%202008%20R2/nosp/SQLServer2008R2_RTM_CU7_2507770_10_50_17/10.50.1777.0/free/431249_intl_i386_zip.exe – Mahmoude Elghandour Sep 26 '13 at 12:57
14

No need to reinstall.

Click on the setup file. Then go to maintenance and click on Repair. This should correct the intellisense problem.

Jeff Atwood
  • 63,320
  • 48
  • 150
  • 153
  • 6
    This did not work for me. Even uninstall/Reinstall didnt fix. The Cumulative Update mentioned by jaraics was the fix. (In my case problem was caused by VS2010 SP1) – RonnBlack Aug 06 '11 at 03:58
12

I just the had same problem. I figured out that Intellisense stopped working after I took some databases offline and doing an Intellisense refresh (Ctrl-Shift-R). I brought the offline databases back online, did a refresh (Ctl-Shft-R) again and VOILA! Intellisense is working again.

What a crappy design. Maybe the population of Intellisense's lists chokes when a database exists but is offline. Thanks Microsoft.

Herb
  • 121
  • 1
  • 2
7

I don't want to suggest a product out of turn, since getting Intellisense running is probably the best option, but I've struggled with the accursed no intellisense on Management Studio for months. Reinstallation, CU7 update, refreshing caches, sacrificing chickens to pagan gods; nothing has helped.

I was about to pay for RedGate's SqlPrompt (pretty damned pricey, $195 US), when I found SqlComplete.

http://www.devart.com/dbforge/sql/sqlcomplete/?gclid=CN2xs_Lw7akCFcYZHAodpicXXw

There is a free version which does the basics, and the full version is only $50!

I'm a database architect, and while I can remember the commands, auto complete saves me heaps of time. If you're stuck and can't get Intellisense to work, try SqlComplete. It saved me hours of hassle.

Chris Smith
  • 71
  • 1
  • 1
  • Very practical and quick solution. Nice! Thank you! – Rui Craveiro Nov 24 '11 at 14:04
  • After upgrading to MSSQLMS 2012 and fighting with non-functional autocomplete for over an hour trying everything suggested on every web site I could find, I tried this. Works better than the built-in feature, and free is free! – richardtallent Jul 20 '16 at 22:39
5

I recently wrote a tip about troubleshooting IntelliSense. The title says SQL Server 2012 but most of the techniques can be applied to earlier versions of Management Studio as well.

Aaron Bertrand
  • 272,866
  • 37
  • 466
  • 490
2

I ended up fixing it by reinstalling SQL Server 2008. This wasn't at all optimal, but if someone comes across a similar problem be sure to know this route will probably work.

2

I tried all the fixes - taking databases offline and then bringing them online, installed Cumulative update 10, repaired SQL Server Installation, refreshed local cache, made changes to the required settings on SQL Server Management Studio but everything was in vain. Finally installing the correct service pack (SP1) did the trick for me !

Follow the link below, and download SQLServer2008R2SP1-KB2528583-x86-ENU.exe (or the x64 file for a x64 bit instance of SQL Server)

http://www.microsoft.com/download/en/details.aspx?id=26727

Finally i have Intellisense enabled !

Ragu
  • 21
  • 1
1

After finding this thread, I discovered that my Intellisense only broke after taking a database offline, and any offline database(s) on the instance would kill Intellisense.

In this thread, explaining that in order to restore Intellisense, you must

  • take the necessary databases offline, then
  • restart the server instance, and finally
  • refresh the Intellisense cache.

This procedure has worked for me and Intellisense is now working again.

Andy Hayden
  • 359,921
  • 101
  • 625
  • 535
1

I'm posting this here as I am sure more people will be comeing across this issue. I installed Security Update for microsoft Visual Studio 2010 Service Pack 1 (KB2565057) and lost Intellisense in SQL Server Management studio 2008 (not R2).

An uninstall of the SP restored Intellisense .. Don't you just love Microsoft????

MDB983
  • 11
  • 1
0

When trying the accepted answer, I was getting an installation error: A failure was detected for a previous installation, patch, or repair blah, blah, blah...

To fix this, in my registry, I changed all DWORD values to 1 in the following Keys: (As always be careful modifying the registry and create a backup of the key before changing anything)

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\100\ConfigurationState HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\ConfigurationState HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\ConfigurationState HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.SQLEXPRESS\ConfigurationState HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\ConfigurationState

See my full post about Fixing Intellisense issue in SSMS.

Community
  • 1
  • 1
VFein
  • 1,021
  • 2
  • 11
  • 23
0

Here is the official word on this from MS.

http://support.microsoft.com/kb/2531482

Their solution is the same as above, install the SQL Server 2008 R2 updates with the version 10.50.1777.0.

http://support.microsoft.com/kb/2507770

Andrew Barber
  • 39,603
  • 20
  • 94
  • 123
Anton Ochss
  • 29
  • 1
  • 1
  • 5
0

I did all of the above and ultimately gave up. Then one last resort was a third part SQL Intellisense add-on I found SQL Complete Express by devArt.

It's Intellisense plus more. Intellisense is back and all is well.

Supports SSMS 2005 - 2012 also includes Visual Studio Add-In.

SQL Complete

dynamiclynk
  • 2,275
  • 27
  • 31
0

For SQL Server 2008 R2, installing Cumulative Update 7 will fix the problem. The file you need is

SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x86 or SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64

I also had to uninstall and re-install SQL Server 2008 first (which didn't fix it, but the CU did).

this is Direct Link From MS that i was got it Hot Fix

Mahmoude Elghandour
  • 2,921
  • 1
  • 22
  • 27
  • Don't repeat the solution other people (Chris S) have submitted. Find your own solutions and post them. – Brian Feb 11 '14 at 08:05
  • in my answer i was put Hot Fix the Direct Link From MS support which solve this problem you can check it if you face this problem it's not just repeat the solution :) – Mahmoude Elghandour Feb 11 '14 at 08:11
  • My appologies ... looked like an exact duplicate of one posted above. I can't change my vote unless you make an edit change to your post ... – Brian Feb 12 '14 at 09:13
  • Thank you for your understanding :) so i will editing my answer – Mahmoude Elghandour Feb 12 '14 at 09:53
0

Same problem, but just re-installing SQL Management Studio 2008 R2 Service Pack 1 worked for me. I left my DB engine alone. The DB engine is not the problem, just SQL Management Studio getting hosed by Visual Studio SP1.

Installers here...

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=26727

I installed SQLManagementStudio_x86_ENU.exe (32 bit for my machine).

Carter Medlin
  • 11,857
  • 5
  • 62
  • 68
0

I've had the same problem too. Searched everywhere online and can't find a solution. I did install Redgate's SQL Prompt which functions similarly to Intellisense, so maybe there was a conflict. I've since stopped the Prompt from running, but now no intellisense at all. Using SQL Server 2008 will SQLCMD mode off, no luck at all. This has happened before, a reinstall of SQL Server was the only thing that I could get to work.