Solved

Cannot find Server Name for MS SQL Server 2008 R2

Posted on 2014-01-14
6
663 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

738 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