brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
171 stars 81 forks source link

Creating Central Admin in SP2016 failure line 1803 in AutoSPInstallerFunctions.ps1 #16

Closed jonimattila closed 6 years ago

jonimattila commented 6 years ago

I had failure when creating central admin it would create databases just fine and accesses but then complain that it could not connect and error creating farm configuration database. Weird thing was that script worked fine in my development but time for production it kept failing.

Added sleep timer after New-SPConfigurationDatabase line 1803 Start-Sleep 10 after that deployment worked fine. There was already existing timer before that line but not after.