Solved

Cannot find Server Name for MS SQL Server 2008 R2

Posted on 2014-01-14
6
614 Views
Last Modified: 2014-01-14
I just finished installing  MS SQL Server 2008 R2. However I get an error when trying to log in to the Database Engine.  I need the server name.  This is a local installation.

How do I find the server name?

Thanks,
0
Comment
Question by:Dovberman
  • 3
  • 2
6 Comments
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 150 total points
ID: 39778978
Several ways (assuming the SQL install was on your machine/server and you are on that at the moment)

Use (localhost)

or put a dot . in the server name

Or open a command prompt and type echo %COMPUTERNAME%

Put the output into the server name box.
0
 

Author Comment

by:Dovberman
ID: 39779063
I am running Windows 8.0.

How do I open the command prompt?

Thanks,
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39779068
"Upgrade to Windows 7"

Sorry, couldn't resist that one :)

http://pcsupport.about.com/od/windows-8/a/command-prompt-windows-8.htm
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 

Author Comment

by:Dovberman
ID: 39779118
It's called the PowerShell now.

Still cannot log on.

Server name is needed.
0
 
LVL 22

Accepted Solution

by:
Steve Wales earned 150 total points
ID: 39779158
Check your list of running services (Window+R, services.msc)

SQL Server service is called "SQL Server".  In Parentheses behind that you should see either (MSSQLSERVER) or (hostname\servername) - depending upon what options you specified during the installation.

I will assume that the service is started (but double check please).

If it's MSSQLSERVER, then any of the options specified by Lee Savidge should work.  If it's hostname\servername put that in as the server name.

Rather than saying "Still cannot log on" can you tell us exactly what you've tried and exactly the error messages you're getting ?
0
 

Author Closing Comment

by:Dovberman
ID: 39780013
It is working now.  I re-installed SQL Server.

Thanks for the suggestions
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now