I had problems with SQL Server and i uninstalled/reinstalled a lot of things and tools of it. Now, SQL Server works, but the Management studio doesnt.
When i execute it i have the follow error: "Object reference not set to an instance of an object". And i cant do any query...
I tried to remove it and reinstall, but in the installation center i cant check management tools to remove it... it appear disabled. I cant uninstall it and also i cant reinstall it.
What can i do?
Quick and dirty solution: if you use SQL Server 2008, install SQL Server 2008 R2 side-by-side and use ssms from it.
Related
I have a student who installed SQL Server 2014 with tools, but the Management Studio part did not install. There is no SSMMS.EXE on the machine.
So I tried to reinstall it, and the Management Studio tools come up checked but grayed out, so the SQL Installer will not let me make any changes.
So I tried to uninstall SSMS from the control panel-->uninstall programs. However, it was not there.
So I uninstalled all SQL Server programs, then I killed all running instances, then I deleted all the MSSQLServer files under both program files and program files (x64). Then I updated Visual Studio 2010. Then I tried to reinstall SQL Server.
Again, the tools appeared, but they were checked and grayed out.
Soooo. SQL server thinks the SSMS tools are installed and thus will not let me reinstall them. However, they are not installed, so I cannot remove them.
Any idea how to convince SQL server that the tools are in fact absent?
Caution incomplete answer but several more things to try:
1) Could you provide the link to the download you're using - potentially SQL Server management studio (SSMS) is not included so thus can't be installed? From reading the FAQ's this looks to be the case (http://msdn.microsoft.com/en-us/data/hh322942)
Try this link for installing http://www.microsoft.com/en-us/download/details.aspx?id=29062
2) Another thread covers a potentially related instance where express was also installed and caused a block to install SSMS.
(Can't install SQL Server 2008 R2 management tool (complete))
3) A long shot would be if anything is left over in the registry which is causing the block. See if there is still and entry in [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server] and if so rename to "_bkp"
The last two suggests are long shots but you could try:
4) Try repairing the installation: http://msdn.microsoft.com/en-us/library/cc646006.aspx
5) Try installing as logged in as another user.
I have tried everythig. I checked if it is enabled, I installed the hotfix (I already had it), and I just did a repair. I still don't have any intellisence.
What else can I check? This is driving me crazy!!
Check the following reasons why it might not work:
1 The query window is connected to a downlevel server (e.g. SQL Server 2005), where IntelliSense does not function
2 Maybe you need to install SQL 2008 R2 Service Pack 1 according to here
I did a full reinstall (not repair) and it is working now. It was probably a corrupted install. Hope this saves someone time!!
You can try and refresh the local IntelliSense cache in the Edit->IntelliSense menu.
I have a problem with SQL Server 2005.
I have a Computer with Windows 7 x64 bits installed and I want to run SQL Server 2005 correctly. The first time I try it, i did the follow:
1) Install SQL Server 2005
2) Install SQL Server 2005 Service Pack 3 x64
And it works!
But now (for reasons that are irrellevant) I need to uninstall all and re-install again to check the steps.
So I went to Add/remove programs of Windows and uninstall all the SQL Server things that I found. After, I did the same steps that I said before, but... it didnt work! What's going on?
I saw that the uninstall of SQL Server 2005 seems that it didnt go well because i can find the instance of SQLExpress... and i read that Service Pack of SQL Server cant uninstall.
But... how can remove ALL SQL Server 2005 things, to start again the installation like i did the first time?
Thanks
If you want to know how to remove the instance you can see here how to do it manually. Another resources is here and here.
I am facing the problem of finding SQL Server Profiler in SQL Server 2005. Is there are any options to enable it or to reinstall it?
Two possibilities.
First, you're running Sql Server Express. That doesn't come with Profiler. In that case, you can use this tool, which is an open source version that is pretty good. I've used it a few times myself (not associated with the project, spamflaggers).
Else, you need to rerun the installer and add Profiler. If it didn't get installed, it has to be installed. That's the general state of things in the software world.
You can select SQL Server Profiler from the Tools menu in SQL Server Management Studio.
The file is located on my computer under:
"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\PROFILER90.EXE"
If its not there you may have to select the client tools from the SQL Server installer.
Simply navigate to add/remove programs, and click 'change' on the SQL Server 2005.
I had the same problem and it was because I had installed Management Studio Express before I installed the full version. You can't have more than one instance of Management Studio, therefore, it won't install the full version over the express version. I found that I had to remove the express SSMS and then install the full SSMS:-
Go to Control Panel/Programs and Features (in Windows 7)
At "Select an instance", choose "Remove Shared Features Only"
Choose "Management Tools - Basic"
You can then run the installer again and install the FULL SSMS. Dunno if this was the problem you were having, but hopefully someone finds it useful.
Is it possible to install Management Studio by itself, and if so, is there a separate download/install exe for it?
Yes, use custom install and chose not to install the database engine.
Microsoft SQL Server 2005 Management Studio Express
and 2008 added:
Microsoft SQL Server 2008 Management Studio Express
I believe that there is one installation, but you can pick the management tools (and not install a server).
BTW - the 2008 installer takes forever and is way more complicated than the 2005 installer.
You can get Microsoft SQL Server 2008 R2 RTM - Management Studio Express here.
I believe that if you install SQL Server Management Express, you can't manage all the objects you can in the version you get from installing from the media. For example, you can't manage integration services or analysis services with management express.
The only way I've ever been able to install it is from the media; but like a previous post mentions, you don't have to install the database engine.
It's confusing for new DBAs that's for sure. I spent a significant amount of time trying to find a "SSMS.msi" on microsoft's website before I figured out it was on the media, and could be installed without installing the database engine; though you have to go to "install SQL Server Stand-alone" to get to it.
Fortunately, I'm still having a hard time trying to keep the server version and all the developers that need SSMS on the same version. If anyone knows of a way to make an .MSI (or download) one that contains all the correct versions of A.S./S.S.I.S/Database Engine I would love to hear it.
+1 for RQDQ. For 2008 I think you need 3.5 .Net Framework also. And yes it takes forever doing all kinds of validations.
you can download management studio by itself, but when you install Microsoft SQL Server 2008 R2, management studio is also installed