Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

New Post: Section of Code to remove DB Guids?

$
0
0
The reason seems to be this.
Login failed for user 'Contoso\SP_Farm'. Reason: Failed to open the explicitly specified database 'SP2013_Config'. [CLIENT: 192.168.168.63]

Which would mean the autospinstaller is trying to access a db it hasnt created yet. Do I have to configuration wizard first?

Please excuse my ignorance, im no expert at SP2013 yet


Edit:
Modifying and running this script from Here
Add-PSSnapin Microsoft.SharePoint.PowerShell
$FarmCredential = Get-Credential -credential mikefrobbins\spExtranetFarm
$Passphrase = Read-Host -assecurestring "SP PassPhrase"
$DbName = "SP_Extranet_Config"
$DbServer = "sql01.mikefrobbins.com"
$AdminContentDb = "SP_Extranet_AdminContent"
New-SPConfigurationDatabase -DatabaseName $DbName -DatabaseServer $DbServer -AdministrationContentDatabaseName $AdminContentDb -FarmCredentials $FarmCredential -Passphrase $Passphrase
Install-SPHelpCollection -All
Initialize-SPResourceSecurity
Install-SPService
Install-SPFeature -AllExistingFeatures
New-SPCentralAdministration -Port 55000 -WindowsAuthProvider "NTLM"
Install-SPApplicationContent
``` and then returning to my custom autoSPinstall fixed made it all go smooth.

Thanks for your input Brian

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>