Why is SQL Server 2008 Management Studio Intellisense not working? - sql-server-2008

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.

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.

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)

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).

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

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.

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.

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.
Troubleshooting IntelliSense in SQL Server Management Studio

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.

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 !

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????

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.

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.

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).

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.

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

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

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

Related

SQL Server Intellisense not working on *some* servers

Intellisense works... On some of the servers. It's the same Server Management Studio (SQL Server 2008) I'm using to manage the servers but Intellisense doesn't work on one of the newer servers (not sure if other servers have the same issue, as of now I've only encountered this problem on one of the servers).
I checked all the settings etc, but as I said - it does work on some of the servers in SQL 2008 Server Management Studio so it seems like it's limited to this one specific server.
(I wasn't sure if this belonged here. If this post is in the wrong place please move it)
This question covers making sure it's enabled, which it sounds like it is (I'm linking it just in case). There also seems to be an installation issue with 2008 and Visual Studio 2010 (also mentioned in that link) sometimes, and this question covers that. We had the same issue on one of 2008 servers, and post an update, it finally worked (solution 2).
Apart from some very common reasons (which don't apply here, as you say it's not working only for some servers) listed here:
http://msdn.microsoft.com/en-us/library/ks1ka3t6%28v=vs.90%29.aspx
... did you happen to instal VS2010 lately? There's a bug that makes IntelliSense stop workingŁ
http://support.microsoft.com/kb/2531482
Also try to refresh IntelliSense cache after you connect to new server (SSMS): Edit>IntelliSense>RefreshLocalCache

Problem using SQLDMO/Vb6 against SQL Server 2008

I have a client, that uses SQLDMO for a portion of a custom application that was written against SQL Server 2000, and they recently upgraded to SQL Server 2008.
The majority of the app still runs fine (doesn't use SQLDMO), but the admin functions which rely on SQLDMO stopped working.
I installed the SQL2005 backward compatibility pack, and now SQLDMO partially works, i.e. I can run "select" type queries, but any "Update" queries fail with the error message:
to connect to the server you must use SQL Server management studio or sql server management objects (SMO)
Any thoughts? Should the backward compatibility pack give me ALL the functionality back, or is this a known issue?
BTW: I realize SQLDMO has been deprecated and will go away next release, none-the-less I need to do what I can to solve the problem at hand.
OK, I figured it out. Not only do you need to apply the "Backward compatibility pack" to the server, you also need to install (and register), the newest SQLDMO.DLL file on each of the client workstations.
Hopefully this save someone else a bit of time someday.

What are the REAL steps for installing SQL Server Express 2008 and Management Studio Express?

On a clean windows machine I installed Web Dev Express 2008. That also installs SQL Server Express 2008. I just wanted to add SQL Server Management Studio Express (SSMSE) 2008. I had problems, and I'm not the only one:
http://msdn.microsoft.com/en-us/library/ms365247.aspx
The msdn page has a lot of suggestions and a lot of people who say the suggestions don't work, but as Jeff and Joel would say, the forum format doesn't work well at pointing at the definitive answer, so I am hoping the StackOverflow wiki/voting format will be better at having the real solution bubble up to the top.
BTW, what I ended up doing was uninstalling all the 2008 stuff that Web Dev installed, and then I downloaded the 2005 file and that went easy. Possibly, after uninstalling what Web Dev installed I could have been successful with the 2008 stuff too, but i didn't try.
This was all on Windows 7 pro, but the way, but I had a similar traumatic experience on XP.
EDIT1 - Somebody DOWN voted this? But... why? This is a real programming issue that many of struggled with and there is no canonical answer. This is THE place for community vetted/voted canonical answers!
Some quotes from comments at the MSDN download page:
"Thoroghly confusing and no clear Final Answers? Someone needs to summarize the results of the previous postings on this page and put an authoritative stamp on some of the findings and declarations"
"Like everyone else posting here, I have gone through this entire cycle and it is hugely frustrating".
"you have taken something that was working well and had NO need to be this complex and managed to completely confuse everyone that is using it and make it a general PITA"
There are multiple SQL Server Express downloads.
This one is just the Management Studio Express and is what I've always installed when I needed access to a database.
Download the Management Studio tool only and install that.
You can find a download here
https://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displayLang=en

Why can't I install SQL Server SP1 (KB968369)?

I have a Windows Server 2008 x64 machine. I have the "Microsoft SQL Server 2008 Service Pack 1 (KB968368)" as an "optional" update available from Windows Update. I choose to install it, my computer installs it for a while, I restart, and that update is available again. Why doesn't my computer install it?
Thank you.
Not sure, but I had the same problem. Did you ever do an "Edition Upgrade" in the SQL Server 2008 installer? Many users who did such an upgrade are reporting problems with the update package. For me, it wasn't a mission-critical system, so I just uninstalled the whole shebang and then reinstalled.
Other workarounds at Microsoft Connect. These people have problems when it's installed on the same machine as Visual Studio.
FWIW, I find the entire setup experience for SQL Server 2008 to be absolutely miserable.
I think I got the same problem before. I googled around and found that's a known issue My solution is to check something like "don't notify this updates".
do you have any errors in your event log?
I found that I couldn't install it using windows update, I had to manually download it and it installed first time. I also has this problem for SQL 2005 sp2
I solved it. I deleted the PendingFileRenameOperation key in the registry (backed up that registry branch first), ran the install, restarted and it is now in my installed updates list.

Upgrade MSDE to SQL Server 2008

I am trying to upgrade an named instance of MSDE to SQL Server 2008 Express. When I get to the "Select Features" page of the 2008 installer there are no instances listed. The upgrade to SQL Server 2005 Express (on the same VM image) however works fine.
It seems to be a supported scenario (http://msdn.microsoft.com/en-us/library/ms143393.aspx), yet I am finding that it does not work. Has anyone successfully done this?
It looks to be supported: http://msdn.microsoft.com/en-us/library/ms143393.aspx
There are also comments you might find useful.
I just had the same problem, so I'll post my solution for anyone that happens upon this thread;
You are probably seeing your named instance on that screen but it is greyed out.
Check that you have SP4 for MSDE, which is version 8.0.2039.