?
Solved

Connecting to SQLexpress 2008R2

Posted on 2011-09-06
5
Medium Priority
?
309 Views
Last Modified: 2012-05-12
I have an Ms SQL express 2008R2 server running on a server 2008R2 virtual box.

I can connect to the server via server managment studio using a domain administrator account. However I do not have suitable permissions to make any changes (e.g. password changes)

How can I give the domain admin account the correct permission?

I'm pretty sure I have never given the sa account a new password but I am unable to logon using "sa" and a blank password.

0
Comment
Question by:ITSMEPJB
  • 2
  • 2
5 Comments
 
LVL 61

Expert Comment

by:Kevin Cross
ID: 36489824
What account did you use to install SQL Server with in the first place? If you don't recall setting an sa password, it is likely logging in using SQL credentials or specifically the sa Login was left disabled and the original installation account (e.g., Local Administrator) was made the sysadmin. Try that. As for granting additional permissions to domain administrator or other accounts, you can just add them to proper roles or use GRANT specific rights.
0
 

Author Comment

by:ITSMEPJB
ID: 36493796
OK, I can't log on using any of the in built users ie "incorrect password".

I would only have used a local or the domain admin to install.

Where do I change the windows credentials to logon? The area to change the windows username is greyed out so I can't change from domain to local admin credentials?
0
 
LVL 61

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 36496252
You have to Login with those credentials OR try launching SSMS using RunAs. It is a digest of credentials so you can't change manually.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 36511699
you may want to read this article to start troubleshooting :
http://www.experts-exchange.com/A_1881.html
0
 

Author Comment

by:ITSMEPJB
ID: 36512149
Cool, "run as" learned it! Thanks, im in to the databases with the right credentials.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

579 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