#SharePoint 2010 setup error: Cannot connect to database master at #sp2010 #ps2010 #sp2013
The issue occurred while running SharePoint 2010 setup, after installing pre-requisites, and following first few initial screens of setup wizard. Once reached to the point where you can enter SharePoint database server name, and credentials which can be used to talk to database server. You may see this error:
Cannot connect to database master at SQL Server at <server_name>. The database might not exist, or the current user does not have permission to connect to it.
Now if you have followed the recommended technet article to setup service accounts and permission, this error might be little misleading at the start. But root cause of the issue is completely valid.
There is already a very detailed and helpful blog is available for you to follow to start troubleshooting:
http://blogs.technet.com/b/tothesharepoint/archive/2011/01/12/troubleshooting-sharepoint-configuration-error-cannot-connect-to-database-master-at-server-name.aspx
The possible causes of that error are as follows, first 2 are available in this blog, and the 3rd is the one i found and is the reason of this post:
- Permissions of the account used to configure has correct permission within SQL based on technet article.
- SQL Server in windows firewall required port, by default its 1433, is allowed to receive traffic from SharePoint application server.
- Verify that user through which you are running setup has got permissions to login to SQL Server. Yes, its very common in production or customer environments that you use different credentials to login to server than to the one you use to for deployment. Now either allow that user login permission to SQL Server by going to SQL Server and adding that user under logins within security of SQL Server. Or, run the setup as an administrator. In fact a good practice, is to always run the setup as an administrator to avoid such glitches.
Have a good day at work.
via All about Enterprise Project Management (EPM) http://khurramjamshed.blogspot.com/2014/01/sharepoint-2010-setup-error-cannot.html
The author of the blog has an extensive experience of working as an EPM Consultant. Currently he is located in Dubai, UAE and working for Microsoft partner organization as Project Server specialist. He has a thorough experience of providing Project Management technical/functional consultancy to all sort of organizations. He is a certified PMP, a Project Server MCITP, and also received a MS community contributor award 2011.
This article has been cross posted from khurramjamshed.blogspot.com/ (original article) |