Solved

Connecting to SQLexpress 2008R2

Posted on 2011-09-06
5
245 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 59

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 59

Accepted Solution

by:
Kevin Cross earned 500 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 142

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Live Storage Vmotion VMs with shared VMDK 10 59
sql server insert 12 30
optimize stored procedure 6 28
sqlserver get datetime field and create a string 5 18
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

810 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