instance servername sql server 2012 - sql-server-2008-r2

Hello I have installed management studio 2005(x64) alse I have microsoft sql server 2012 in my pc. But cant connect server due to dont know server name. (if sql server 2008 express were in my pc, default servername would be "./sqlexpress")
How can I connect server in my own pc ? And also I wanted to know;
Should I use another management studio ? can there be a problem use ms2005 with sqlserver 2012 ? Do you recemmond other studio ? (with exp. reason please)
Thank you anyone who just feel to help.

At least one of them must be a named instance. So, open the SQL Server 2012 version of SQL Server Configuration Manager, and see what the services say (and make sure the one you want to connect to is started - you can right-click to do so). Mine are all named instances:
So, if I wanted to connect to the SQL Server 2008 SP3 instance, I would use any of the following to connect:
.\SQL2008SP3
LOCALHOST\SQL2008SP3
(local)\SQL2008SP3
YOURMACHINENAME\SQL2008SP3
127.0.0.1\SQL2008SP3
The exception is if the subtext has (MSSQLSERVER) - this is a default instance rather than a named instance. In that case you would just connect to YOURMACHINENAME or ..
Also, no, you should not use Management Studio 2005 to manage SQL Server 2012 instances. In fact I think the above Configuration Manager won't show your 2012 instance. So before you do anything, you should uninstall the 2005 version of Management Studio, and go get the 2012 SP2 version here:
http://www.microsoft.com/en-us/download/details.aspx?id=43351
Click Download, the file you want is SQLManagementStudio_x64_ENU.exe. The nice thing about this version in 2012 SP1 is that it's the first version of SSMS Express that is actually fully functional and license free. Previously you had to live with limitations like no SQL Server Agent management, well those restrictions are now all gone.
(When you instal the client tools, this should also give you a new version of Configuration Manager, if your previous installation of SQL Server 2012 did not provide that for some reason.)

Related

SQL Server 2008 R2 Express: Management Tools Missing from Feature Selection

I am trying to install SQL Server 2008 R2 Express with the SQL Server Management Studio.
However, the Management Tools feature does not seem to be selectable. The screen-shot below shows which Features are available for me to select:
I have made sure that the SQL Server 2008 R2 Management Objects was installed!
I have tried both answered methods at Can't install SQL Server 2008 R2 management tool (complete) and they both do not seem to work for me, I still do not see Management Tools. Upgrading the Edition under the Maintenance section and Uninstalling/Re-installing the SQL Server had no additional effects. The files I am trying to work with to get this to work are:
SQLEXPR_x64_ENU.exe - This is Service Pack 3
SQLManagementStudio_x64_ENU.exe - The file name fooled me, since there is no management studio feature selection!
The question is, why does Microsoft makes it so difficult?
I am using a Windows 7, 64-bit machine. Any help would be greatly appreciated.
You should separately download Microsoft® SQL Server® 2008 Management Studio Express from Microsoft at
http://www.microsoft.com/en-us/download/details.aspx?id=7593
SQLEXPRADV_x64_ENU.exe contains everything and is the best choice for new installs.

How to create instance while installing SQL server 2008

I have installed VS 2012 Professional, and later SQL Server 2008 SP1. After that I am trying to install SQLManagementStudio_x64_Enu. But I did get the option to set instance name [Database Engine Service]. Properly I have to the set option like in the image. But I have options like :
Instance Feature
Shared features
1. Management Tools-Basic
2. SQL Client Connectivity SDK
Redistributable Feature
If I select all checkboxes under Shared Feature, SQL Server installed successfully.
But while opening SQL Server Management Studio in server name list is empty.

Running SQL Server CE 4 Queries with Visual Studio 2012 and SQL Server Management Studio 2012

I have recently upgraded to Visual Studio 2012 and SQL Server Management Studio 2012, however I cannot seem to see how to execute SQL scripts (created by Entity framework) on a SQL Server CE 4.0 database. With VS2010 + SSMS 2008 the Transact-SQL editor would ask for a connection and you could browse to the object, however this option is not available in SSMS 2012.
I have tried to execute the script via the Server Explorer -> New Query window, but I get parse errors. Any clues?
Microsoft got rid of that for SSMS 2012, and suggested to use the integrated tools in WebMatrix instead (from memory, can't find a link for that sorry).
As suggested in that Microsoft Answers post, however, you could use the SQL Server Compact Toolbox, it's pretty effective.
Try using the SQL Server Object Explorer instead of the Server Explorer. That should allow you to do what you wish.

Unable to upgrade to Microsoft SQL Server2008 R2 RTM - Express with Advanced Services

I am trying to upgrade my current Express edition to Express with Advanced Services for supporting full-text search.
The current system setup is:
OS version: Windows server 2008 R2 web server 64 bit
SQL Server 2008 R2 Express, SP1, v10.50.2500.0
I have downloaded the SQL Server with Advanced Services. I am unable to upgrade the edition. The installation step goes without any issues and even getting Edition upgrade completed page. But once I click the close this page, an error will pop up.
SQL Server Setup has encountered the following error: Invoke or
BeginInvoke cannot be called on a control until the window handle has
been created.
Can some please assist me here to the right direction?
I could see that the version of SQL Server Express with Advanced Services is 10.50.1600.1. Is this the cause? So should I downgrade the sp1 to normal Express r2 edition before upgrading?
Downloaded link for the Express with advanced services http://www.microsoft.com/download/en/details.aspx?id=25174
I got it working finally!!
I was getting the below error previously. It is a bug and is related to UI. So i have upgraded using the command line that too in QUIET mode to prevent any UI intervention.
"SQL Server Setup has encountered the following error:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created."
Following are the steps i used:-
Downloaded the latest sp1 for SQL Server 2008 r2 with Advanced Services (SQLEXPRADV_x64_ENU.exe) from http://www.microsoft.com/download/en/details.aspx?id=26729
Extracted the SQLEXPRADV_x64_ENU.exe to D:\SQL2008
Open command prompt as "Administrator"
Executed the following commands
D:\sql2008\setup.exe /ACTION=editionupgrade /INSTANCENAME=MyInstance /IACCEPTSQLSERVERLICENSETERMS /FEATURES=SQL,RS /INDICATEPROGRESS /Q
*MyInstance is your sql server instance name
*/INDICATEPROGRESS will show the setup progress to command prompt(For a confirmation :) )
You can follow this doc for more setup parameters
http://msdn.microsoft.com/en-us/library/ms144259(v=sql.105).aspx
Verified the upgrade has been successful.
Unfortunately FULL-TEXT Search feature was not enabled.
So Run the setup.exe as normall(double click) and added "FULL-TEXT Search" feature to the existing instance.
Everything works fine now. Thank you all.
I can verify that this bug and the same resolution also apply to SQL Server 2008 R2 Express SP2 v10.50.4000.0

Migration from SQL Server 2008 R2 Express to SQL Server 2008 R2 Developers Edition

I've done some reading on the installation but it's not clear to me whether I will be UPGRADED to the SQL Server Developers edition or whether the install will create another instance. I want to get rid of SQL Server Express. Will the install give me that option?
If the install does not provide that option
What files must be deleted?
Are there any configuration items I need to gather before the install?
Anything else to be aware of?
You definitely can install a separate instance.
Don't even try to delete or replace sql server files manually - use standard windows instrumentation instead - uninstall it as regular application.
As far as I know - there were no any options to upgrade from express edt. to developer, if you need so - just keep your db in safe place, uninstall express, install developer, attach the db. And be aware of developer license restrictions!