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

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],
   ArgumentNullException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS
   PConfigurationDatabase

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

 
discard

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

Browse other questions tagged or ask your own question.