Solved

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

Posted on 2014-04-27
9
272 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
  • 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 50 total points
ID: 40026605
First try with "SA" give permission to that user and try again.

It will login for the user.
0
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
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 450 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql query help 15 55
MS SQL Sever Import/export problem 7 52
Returning Message/Value Back to Access from a SQL Server trigger 3 36
SQL Query logic question 14 32
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

696 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