Confused about the currently installed version of SQL Server - sql-server

Someone has installed sql server on my machine, however i'm not sure what is the version currently installed. I tried running : Sql server installation center --> Installed Sql server features discovery report and the result was as follows:
I tried looking in the "Programs and features" section and I found this:
I also tried opening Sql server Services but its empty. Here's a screenshot:
The currently running the services are :
Currently I'm not sure what version is installed, I tried connecting to "." on Sql Management Studio but i got connection error and no instance was found.

Since you can't connect, probably the best thing to do is hunt it down on your file system. Go to your installation, it's probably located somewhere like this:
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQSERVER\MSSQL\Binn
and find the sqlserver.exe file. Right-click and select Properties on the file. The Details tab of the properties window will show a product version. The product version isn't going to be a name you're super familiar with, but you can look up on the web what version numbers correspond to what product names. Here's one place that has a nice chart. SqlServerBuilds at Blogspot
If you do get management studio to connect, you can get the version quite quickly, either from the connection properties in the Object Explorer, or with the ad hoc query
Select # #Version

I uninstalled 2008 and 2014 version and now the discovery report shows Sql Server 2012 installation correctly

The existing answer is OK, but here is a simpler tip:
Search the entire drive C: for sqlservr.exe. Use the properties dialog in Explorer to determine the file version and Google it.
You can find out what's running with Process Explorer. It can show you the path and version.

Related

How can I integrate SQL Server with MSSCCI provider for tfs 2013&2015?

I was trying to use Team Foundation Server 2012 with Sql Server Management Studio 2012. I installed the Microsoft Visual Studio Team Foundation Server 2013 & 2015 MSSCCI Provider 32-bit and choose it as Current source control plug-in under tools -> Source Control -> Plug-in Selection of SSMS.
The problem is when I create/open a solution, for the very first time, and try to add a solution to source control from file -> source control -> Add Solution to Source Control a dialog box appears asking to connect to tfs once connected and location of server is specified on server and ok button is pressed it shows a warning that my workspace is a local workspace and local workspaces do not work properly in MSSCCI. It asks if I want to change it to server workspace once I click on Yes
I get the following error
Unexpected error encountered. It is recommended that you restart the application as soon as possible.
Error: No such interface supported
File: Vsee\internal\inc\vscomptr.inl
Line number: 259
Trying again yield this error message as soon as I choose Add Solution to Source Control.
I have tried some of the hotfixes provided by Microsoft from the link :
https://support.microsoft.com/en-us/kb/2727824 but they do not install on my machine saying that my SSMS version is newer.
How can I get this problem resolved ?
As described in this article - Team Foundation Server 2012 brought up a change in the workspace options bringing a new type of workspace – a local workspace. A local workspace is an improvement in offline work and it allows performing a number of source control operations without the connection to Team Foundation Server.
For more information about server workspaces vs. local workspaces refer to the following article: http://blogs.msdn.com/b/phkelley/archive/2013/05/29/server-workspaces-vs-local-workspaces.aspx
The article states that Microsoft continues to fully support the older kind of workspaces (from VS/TFS 2005 - 2010), but they now call these “server” workspaces. In the VS/TFS 2005 - 2010 documentation there is no mention of these workspaces ever being called “server workspaces” – because before the existence of local workspaces, there was no need to have a special name for them - they were just “workspaces.”
Hope I helped.
I am using TFS Online (Visual Studio Online), SQL Server Management Studio 2012, Windows Server 2008 R2, and installed Microsoft Visual Studio Team Foundation Server 2013&2015 MSSCCI Provider 32 bit. I can add new solution in SSMS and add to source control with no issue. You might want to
1. go back and create the server workspace FIRST in Team Explorer 2012.
2. Then re-create the solution (Make sure you check the Add to Source Control),
3. then select the TFS with the correct server workspace.
4. from Solution Explorer, right click on the project and add existing items.
Hope it helps

Unable to install Microsoft SQL Server 2012 Developer

I have a problem with installing SQL Server 2012 (no matter which edition I choose).
Installation usually runs well, but near the end shows up an error:
The help link points to not-existing article on MSDN page.
After I click OK button, the installation reaches it's end and shows up another window:
After that I am able to start, for example SQL Management Studio, but cannot connect to database. Also services of SQL Server are stopped and I am not able to start them manually (any try throws an undefined error):
I tried complete reinstalling of SQL Server, cleaning registry entries, different editions of that software - none method helped. Also, I tried the .iso images of installation media on other computers - it worked well and installed without any errors.
My OS is Windows 8.1 x64.

How to get Enterprise Manager installed in SQL Server 2008 Express?

I've installed Microsoft SQL Server 2008 Express twice now, and all the services work and I can create databases from Visual Studio 2010, but I don't have the Enterprise Manager (I learned it is now called Management Studio) available in the SQL Server 2008 program menu-- I do have other menu items like configuration manager, etc. but nothing for Management Studio / Enterprise Manager.
Is there a checkbox I've missed during installation?
I ran a search for all exes in the SQL Server root folder and nothing jumped out as belonging to the Enterprise Manager, but I'm not 100% sure what the executable would be named.
Primary question:
What is the procedure required to install the Management Studio client [for/with SQL 2008 Express] ?
Secondary question:
What is the name of this client's executable file ?
SQL Server Express doesn't come with SQL Server Management Studio (what you are really looking for when you say Enterprise Manager). You have to download it separately:
http://www.microsoft.com/download/en/details.aspx?id=7593
or with tools already as part of the download
http://www.microsoft.com/en-us/download/details.aspx?id=22973
It's kind of tricky installing Management Studio. This article walks you through it.
Here is an explanation of the situation:
The 2008 version of the Management Studio is not a stand alone installation and can only be installed as part of the SQL Server 2008 Express with Tools or Advanced installation.
Like many others, I spent countless hours trying to figure out how to
install the Management Studio for SQL Server 2008 Express - Advanced
installation (same should apply to the w/ Tools version). What
happened in my case was that I installed Visual Studio 2008 Express
and during that process a stripped down "Instance" of SQL Server 2008
was installed that did not include the Management Studio. Through
much pain and torture I learned that the Management Studio can only be
installed during installation of the first instance. To delete that
first instance, you must go to "Add or Remove Programs" and remove
"Microsoft SQL Server 2008". The removal process will only remove one
instance at a time and if you have installed more than one instance
you need to keep going until all instances have been removed and the
application completely disappears from the Add or Remove Programs"
dialog. Note: You do not need to uninstall any of the other SQL
Server 2008 applications that also appear in the "Add or Remove
Programs" dialog. Then go back through the install process as
follows: Double click on SQLEXPRADV_x86_ENU.exe to load the SQL Server
Installation Center and then go to Installation > New SQL Server
stand-alone installation. Then proceed through all of the
installation steps until you get to “Feature Selection” and click on
“Select All” to toggle on all of the Shared Features, which should
include Management Tools - Basic.Continue the process from there and
you should be good to go. Hopefully this will help others to avoid
much of the pain that many of us have already experienced.
The Management Studio exe is named ssms.exe.
The OP is not alone in his puzzlement about the "missing" management client!!! ;-)
The answers by DOK and CD Jorgensen found here were -collectively- among the most helpful I found while searching the web on this particular issue! At the risk of being redundant, I'm adding this answer with the goal of being more explicit and of safeguarding the key screenshots from Andrea Montanari's article referenced in DOK's answer.
Two things to know:
Not all installation packages for SQL Server 2008 Express Edition include the Management Studio.
You either need to ...
a) ... download the Install package for SQL Server 2008 Express with Tools (named something like SQLEXPRWT_cpu_language.exe: note the WT, short for With Tools) or an installer for an Edition of SQL Server other than Express.
or
b) ...download the Installer specific to Microsoft SQL Management Studio Express (same link as provided by CD Jorgensen). This installer only contains the Management Studio; it has none of the SQL Server per se.
[if you go with an a) install package]
The Management Studio (formerly Enterprise Manager) client remains a stand-alone, independent, component. However its installation is now triggered from a selection made as part of the "Install or Modify SQL Server" track.
It is not found in a separate "Install clients and Tools" menu item from the topmost dialog of the installer (as was the case with SQL 2005 and previous versions).
One should stress that it is stand-alone and the client can indeed be installed on hosts where the SQL Server [engine] is not, and will not be, installed at all. However the initial steps in the Installation Wizard give a strong impression that we will effectively install or re-install SQL Server. It is only on a subsequent step labelled Feature Selection that we have the ability to select Management Tools under Shared Features. On that same Feature Selection dialog we have the option of including or excluding, as desired, the installation of the SQL Server Engine and other Server supporting modules.
These are the two key dialogs of the wizard with regards to this issue:
The first one really appears to put you on track to install or mess with the SQL Server itself, the other dialog finally provides the opportunity of opting for the Client Tools (which include, mainly, the Management Studio). This same dialog also allows checking or un-checking the selection to install the Server per se.
Credits and more info:
The screenshots were taken from Andrea Montanari's article on the Insulin Power web site. This article referenced in DOK's answer provides a step-by-step description of the installation based on the "With Tools" installer.
As said in the introduction, I learned much from CD Jorgensen and DOK's answers; I'm merely making a few things more explicit, here, and correcting a few omissions (e.g. there are some installers which carry both the Server and the client, and it is not necessary to install the server).

SQL Server 2008 Installation

I'm trying to install MS SQL Server 2008 on my Win 7 enabled laptop. I'm facing a problem while selecting the path to install. When I go on choose 'installation' and then when I click on 'New SQL Server stand alone installation or add features to an existing installation' it pops up a browse dialog box to select installation folder. I selected c:/program files/Microsoft SQL Server/ and tried all the folders under this folder. However, it gives me an error message saying
c:/program files/Microsoft SQL Server/ is not a valid installation folder
I tried 1000 times but still I'm getting the same error. I already had SQL Server 2005 and I uninstalled it. After that I'm only trying to install MS SQL Server 2008. What is the problem here? How can I fix this issue?
I recently had the same problem, I did the following:
Lets say you downloaded the SQLServer2008R2SP1-KB2528583-x86-ENU file to get SQL 2008 R2 and it won't accept the folder you choose. It is looking for your installation media AKA files to install your chosen option e.g. Upgrade or install.
Right click on the SQLServer2008R2SP1-KB2528583-x86-ENU file, click on extract files (winrar options). This will extract the install file giving you all the files that was compressed.
When SQL 2008 R2 Install Center ask you to choose the folder, select the extracted folder with all the files... problem solved!
I think the error that you run into is just a case of bad choice of words from Microsoft. When they give the message: "select installation folder" they actually mean the drive that contains your Sql Server installation Dvd. I run into the same problem, and all I had to do was select the dvd drive and it worked.
Durden81 is right - The error really means that it can't find the installation file. This seems to be a bug on versions of SQL Sever downloaded from internet or installed as part of the Visual Web Developer Express 2010 bundle.
I was searching for an answer to the same question and came across this. Unfortunately the other replies did not work for me. What did work was the following:
Go to the control panel and uninstall everything to do with "Microsoft SQL Server 2008" and any other version of SQL Sever you might have.
Restart your computer and go to the Microsoft Download center (http://www.microsoft.com/download/en/default.aspx) and search for: Microsoft® SQL Server® 2008 Express with Tools
Unpack this and run the installation.
Restart your computer before running Visual Studio again
While I don't think this has ever been a requirement, since it's not really clear from your question exactly which component is choking on the path, I suggest trying a simpler path with no spaces, e.g. "C:\MSSQL\" ...
I am agree with Durden81. It's actually the problem regarding the path. It wants you to choose the path where the sql server setup file lies. Give the correct path of the setup file, whether it is in DVD or in a drive.
Give the path of installer, this helped me.
For example if you have the SQL server installer on C:\SQL SERVER\Enterprise Edition\setup.exe
Provide the same path, this will solve the issue.
I got this error because the installation package was located on a network/virtual location. To resolve this, I found the correct path (by asking IT) and ran the .exe as administrator. All is good.
I received this error when clicking on the app in "Add/Remove Programs" to add features to the current install. Yes, you can proceed as #Marc Uberstein's answer, but re-running the ENU with a double click should get you where you need to go, without extracting, bypassing the "Add/Remove Programs" piece altogether. Not sure from your question if that is the route you took to arrive at the error, but this was the issue for me.
It depend on what error prompt you are getting. If it's saying "wrong folder" or something of that nature, then it's the folder that's causing the error. Just delete all the folders of sqlserver on your computer and restart and it should work, or you can go to property of that sqlserver folder and in advanced and un-check the compress and re-run. It should definitely work.

sql server 2008 express setup problem

I previously had sql server 2005 express and uninstalled it.. I also uninstalled any vs related programs and installed visual web developer 2008 express edition with SP1. now that I am trying to install sql server 2008, I am seing error messages like no other and leave that alone without any suggestions..
the latest one which I could not come to a proper solution on the internet is;
consistency validation for sql server registry keys error which suggests
"The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys.
as you might have guessed nothing so informative in the documentation... Also, when I try to delete any sql server related registry key, it does not let me. (yes I stopped all the related services..)
anybody here that can be of any assistance?
You can try with this procedure :
Stop all SQL Server Services
Remove all SQL Server Services with sc delete servicename
Control Panel - Add/Remove Programs - Select and Remove all Microsoft
SQL Server programs
Open regedit and remove all SQL Server folders in this registry key: HKEY_LOCAL_MACHINE/ SOFTWARE/MICROSOFT
Remove SQL Server folders from Program Files directory
Reboot
This procedure should resolve the issue, i've resolved with this procedure ...
i found this to happen if you had an add-in for SSMS installed which hasn't been uninstalled before ssms was uninstalled.
You may need to change the permissions on the relevant registry keys using regedt32 first so that you can then delete the keys via normal regedit
Well actually, I believe, one should not go through such mess in order to accomplish a simple task like this. In the end, I ended up formatting my PC and re-installing SQL Server.
I know this is an old question and you already said in comments that you reformatted the machine. However, I just ran into this exact message and wanted to share my solution because it was so easy, but the error message didn't help at all!
I was using the wrong installation package. I had a 64-bit Intel Windows 7 computer and I was trying to use the x86 version of SQL Server 2008. Once I found the correct version (x64) I did not get this error and the install proceeded normally.
I had a similar problem because I still had some remnants of SQL Server 2005 left - not the services, it was some parts of the IDE. Anyway, to resolve it I used the option to upgrade (sorry, I can't remember the exact option just now). After running the upgrade portion, which took a few minutes, I could then run the full install with no problems.

Resources