Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have installed sql server 2008 r2 sp1 and share-point 2013. then i type the following inside the SharePoint 2013 management shell to configure SharePoint to use sql server :-

**cmdlet New-SPConfigurationDatabase at command pipeline position 1
Supply values for the following parameters:

DatabaseName: SharePointDev
DatabaseServer: SharePoint_Config
FarmCredentials
Passphrase: *******************

New-SPConfigurationDatabase : Cannot connect to database master at SQL server
at SharePoint_Config. The database might not exist, or the current user does
not have permission to connect to it.
At line:1 char:1

+ New-SPConfigurationDatabase
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...urationDatabase:
   SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], SPExcep
  tion
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
   figurationDatabase.**

So what might be causing this issue. although i have successfully login to the sql server management studio using the username and password i provided inside the sp2013 management shell.?

and when i tried to configure the DB using the configuration wizard i got the following error :- enter image description here

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This is a common issue and has various resolutions.

More often than not it is a firewall issue on the SQL server so check that OR it's that SQL server has not been enabled for remote connections.

I would recommend you follow all the steps and options in this TechNet thread and this blog article.

Hope this helps!

share|improve this answer
    
seems the sql browser service was not started –  john G Aug 22 '13 at 15:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.