Solved

SCCM2012 Setup SQL Error

Posted on 2016-08-29
19
103 Views
Last Modified: 2016-09-22
Hi,

I am installing SCCM2012 on Windows 2012 server, during the installation when I have to define the SQL server name and DB name, if I choose our SQL server which is running SQL 2014 on a separate server, it gives the error attached.
I am using my admin account to install, anything I have to do different here?

Thanks.
0
Comment
Question by:Leo
[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
  • 10
  • 8
19 Comments
 
LVL 41

Expert Comment

by:Adam Brown
ID: 41775670
There is no attachment. That said, does your admin account have admin permissions on the SQL Server instance you're trying to install to? Local Admin privileges on the SQL server aren't enough to be able to create new databases in SQL Server. Your account has to be granted privileges in SQL server to create DBs.
0
 
LVL 8

Author Comment

by:Leo
ID: 41775715
so would this command will give me the permissions on SQL to create DBs?

EXECUTE sys.sp_addsrvrolemember
    @loginame = N'Domain\username',
    @rolename = N'dbcreator';
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41776514
I think SCCM requires an user account to be sysadmin of the SQL Server instance. Did you create the necessary login in the SQL Server instance side?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 8

Author Comment

by:Leo
ID: 41777405
I have created sysadmin account, and on SQL server i have run this command  to give it permissions;

EXECUTE sys.sp_addsrvrolemember
    @loginame = N'Domain\username',
    @rolename = N'dbcreator';

would that do the job?
0
 
LVL 8

Author Comment

by:Leo
ID: 41777467
this is the error message
"Either the user account running Configuration Manager Setup does not have sysadmin SQL Server role permissions on the SQL Server instance selected for site database installation, or the SQL Server instance could not be contacted to verify permissions. Setup cannot continue."
0
 
LVL 51

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41777642
I have created sysadmin account, and on SQL server i have run this command  to give it permissions;
Sorry, that's not clear to me.
If you created the sysadmin account that mean you already gave it the sysadmin privileges, right?
So why to you need to run another command to give the permissions?
If you didn't give the sysadmin role then the correct command is:
EXEC sp_addsrvrolemember 'Domain\username', 'sysadmin'; 

Open in new window

0
 
LVL 8

Author Comment

by:Leo
ID: 41777654
I gave sysadmin account domain admin privileges.
I will run the command you suggested, do i have to run that in powershell?
0
 
LVL 51

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 41777656
I gave sysadmin account domain admin privileges
I will run the command you suggested, do i have to run that in powershell?
This is all SQL Server. Do not make confusion with other things.

"Either the user account running Configuration Manager Setup does not have sysadmin SQL Server role permissions on the SQL Server instance selected for site database installation, or the SQL Server instance could not be contacted to verify permissions. Setup cannot continue."

With that said you'll need to run the command inside the SQL Server Management Studio.
0
 
LVL 8

Author Comment

by:Leo
ID: 41797201
Apologies for late reply, got really busy with one critical project.

I have run the command under SQL which you suggested, didn't make any difference, do I have to run it against particular DB?

I have attached a screenshot for SQL errors.
SQLErrors.jpg
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41797381
The command I posted it says to provide a domain user ('Domain\username'). Which user did you use when you ran the command?
0
 
LVL 8

Author Comment

by:Leo
ID: 41797383
I used  sysadmin or should I use sccmadmin?
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41797386
sysadmin is correct because it's the server role.
What did you use for 'Domain\username'?
0
 
LVL 8

Author Comment

by:Leo
ID: 41797397
you mean to log in to SQL Server?
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41797402
I have run the command under SQL which you suggested
Can you post the entire command that you ran?
0
 
LVL 8

Author Comment

by:Leo
ID: 41797991
EXEC sp_addsrvrolemember 'SQL01\sysadmin', 'sysadmin';
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41798012
So you have a domain called SQL01 and an AD user called sysadmin?
0
 
LVL 8

Author Comment

by:Leo
ID: 41798945
Domain Server name is AUSSQL01 and user is sysadmin
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41799264
Can you provide a screenshot of that user definition in the Active Directory?
0
 
LVL 8

Author Comment

by:Leo
ID: 41811738
Had to install full version of SQL, only that made it work.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Troubleshooting common task sequence error codes
Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Viewers will learn how the fundamental information of how to create a table.

628 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