Hello All,
I am trying to connect a sharepoint wfe to another Sql server 2008 and getting error. This is what I am trying to do.
#Disconnecting present database serer
Disconnect-SPConfigurationDatabase
#Connecting to another database server
Connect-SPConfigurationDatabase -DatabaseServer "ServerName" -DatabaseName "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase
Getteing below error
Connect-SPConfigurationDatabase : Cannot open database "SharePoint_Config_nameabcd" requested by the login. The login failed.
Login failed for user 'domain\username'.
At line:1 char:32
+ Connect-SPConfigurationDatabase <<<< -DatabaseServer "ServerName" -Database
Name "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase + CategoryInfo : InvalidData:(Microsoft.Share... urationDatabase:SPCmdletConnectSPConfigurationDatabase) [Connect-SPConfigurationDatabase], SqlException+ FullyQualifiedErrorId
: Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabaffsadss FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabase
Please advise to resolve the error.









