?
Solved

Sql Server 2012 Error --- can not connect.....

Posted on 2014-04-27
9
Medium Priority
?
275 Views
Last Modified: 2014-05-24
I just installed Sql Server 2012 and when I tried to access it via sql management studio, i get the following error:

Error
Any ideas?
0
Comment
Question by:Isaac
[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
  • 4
  • 4
9 Comments
 
LVL 16

Expert Comment

by:DcpKing
ID: 40026504
On the same box? Add this to your hosts file (in C:\WINDOWS\system32\drivers\etc) :

127.0.0.1 localhost

Otherwise, is your server in the SOGUNRO domain? Trying to get in from another domain may well give you this problem. Check your Active Directory settings, and also check that your id is a valid logon for the instance of SQL Server.

hth

Mike
0
 
LVL 5

Author Comment

by:Isaac
ID: 40026518
Before I saw your message, I restarted the server and now when sql server comes up, it says this

Login failed for user 'Sogunro\Administrator'
0
 
LVL 21

Assisted Solution

by:Alpesh Patel
Alpesh Patel earned 200 total points
ID: 40026605
First try with "SA" give permission to that user and try again.

It will login for the user.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 5

Author Comment

by:Isaac
ID: 40060072
Not sure how to do that.  It's my first time installing SQL Server
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 40060382
There's a point in the setup where you have to decide on the Authentication method - Windows, SQL Server, or combined ("Mixed-Mode").  Which did you choose? Hopefully the latter, which allows you to use Windows logons and also allows you to get in using the SA identity (for which you'll have been asked for a password.

Have you tried logging in using the sa identity yet?

Mike
0
 
LVL 5

Author Comment

by:Isaac
ID: 40060697
I chose Mixed-Mode...
Not sure I remember coming across anything about SA identity.

So, I uninstalled it and will try installing it all over again
Hopefully, I do it right this time.
0
 
LVL 16

Accepted Solution

by:
DcpKing earned 1800 total points
ID: 40061872
If you install with Mixed Mode you'll be asked for a password for the sa login. Remember it!!!!!  :)

Then you can use that to log in and to create Windows Logins for users - yourself, for one - and grant them permissions as you see fit.

hth


Mike
0
 
LVL 5

Author Comment

by:Isaac
ID: 40086224
Sorry for the late response.  I've been busy with a project.
I plan on taking care of this during the 3 day weekend.
I will give an update.

Thanks again!
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 40087153
ok - I'll be watching out for cries for help!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

764 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