Failed to connect to configuration database error.

Posted: December 24, 2008 in Errors, SharePoint
Tags: ,

You may have encountered this problem when you want to add a new server ( e.g web front end ) to your existing sharepoint server farm. During  step 2 of configuring server – connecting to configuration database – , it fails and sharepoint gives you this error : 
Failed to connect to the configuration database.


To be honest I don’t know the exact way to solve this issue. but I recommend you doing some checks :

  • Check the version and service pack of each sharepoint. both should be the same. for example both server should have SP1.
  • Check that your databases can see each other !! you’d better to have some database Roles. at least dbcreator,security admin, and sysadmin.
  • Be careful : updatefarmcredentials & updateaccountpassword are different !  UpdateFarmCredentials Updates the Web application pool for the SharePoint Central Administration Web site and the Windows SharePoint Services Timer service (SPTimer). but Updateaccountpassword Updates the Web application pool passwords.
  • On the server with central administration you should use UpdateFarmCredentials. If the problem persists use -local with UpdateFarmCredentials. and then iisreset /noforce .
  • On the front end server use UpdateAccountPassword.

I myself use this way and it solved my problem. may be this way is your way to solve this issue. good luck 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s