Note: this is for SQL Management Studio 2012 Only.
Yesterday, I built from scratch and installed:
Window 7 sp1 Ultimate x86
Visual Studio 2010 Premium
All Windows updates.
Visual Studio 2010 SP1 (required by SQL 2012)
SQL Server 2012 Developer Edition.
When I use Intellisense on a local DB, it works fine. That means Intellisense is enabled properly.
When I connect to a remote database (a copy of my local DB) and use Intellisense, it doesn't work most of the time. When it does work, I can't predict when. Sometimes the listbox of suggestions appears, but the members (suggestions) are not visible. I have refreshed the local cache many many times. I have re-connected, and refreshed the local cache. I have started a new window and refreshed the local cache. I have rebooted and tried it.
I thought at first the DB was taking a long time to cache, but then I realized it is not DB specific. Consider the following. This is the entire code block. Nothing before or after:
declare @EmployeeID int set @As a test I click new query, and connect to the local server.
When I am connected locally, after the last ampersand is typed, the suggested member listbox is displayed and "@Employeeid" is suggested.
Then I click New query, connecting to the Remote server.
When the last ampersand is typed, nothing appears, even if i sit and wait 15 seconds. Nothing Appears when I press CTL+J, nothing happens.
When I press CTL+Shift+R, then CTL+J, nothing happens.
When I press CTL+Shift+R, backup and retype everything, nothing happens.
If I try again later, I might get a prompt, I might not.
This behavior is consistent after re-starting SSMS, and also after re-booting. It is also consistent when trying Intellisense against DB objects instead of just local variables.
None of the hotfixes for SQL 2012 in the CU reference this problem, or anything about Intellisense
I have previously used Intellisense in the prior version of SSMS against the same remote DB with no problems from this machine. If I put my old hard drive in this laptop, connect to the DB using the prior version of SSMS, intellisense works like a charm.
I know others are experiencing similar problems. I am not receiving any errors or dialog boxes that would indicate a problem.
Does anyone know how to fix this?