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
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
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon

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


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!

  • seems the sql browser service was not started – john Gu Aug 22 '13 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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