SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When trying to add a new WFE server to the farm. I get the following error.

Connect-SPConfigurationDatabase : Value cannot be null.
Parameter name: service
At C:\Users\svcIMSSP2010Setup\Desktop\JoinServertoSPFarm.ps1:35 char:32
+ Connect-SPConfigurationDatabase <<<<  -DatabaseServer $DBServer -DatabaseName
 $DBName -Passphrase (ConvertTo-SecureString $PassPhrase -AsPlainText -Force )
    + CategoryInfo          : InvalidData: (Microsoft.Share...urationDatabase:
   SPCmdletConnectSPConfigurationDatabase) [Connect-SPConfigurationDatabase],
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS

This when running the command

Connect-SPConfigurationDatabase -DatabaseServer $DBServer -DatabaseName $DBName -Passphrase (ConvertTo-SecureString $PassPhrase -AsPlainText -Force )
share|improve this question
If you output $DBServer, $DBName, $PassPhrase, are they outputting what you expect? – shufler Dec 16 '11 at 23:29
Yes. The parameter are correct. – omar Dec 19 '11 at 15:56

Your Answer


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

Browse other questions tagged or ask your own question.