script halts when creating new content database
Hello,
First off, this project is fantastic - this is my 4th test stab at creating SharePoint, and I am sure this will make the installation process EASILY recreate-able. I have a little problem though. My script runs through all the way to creating a new content database, and this is the output I am getting:
-
Creating new content database "PROD_MySiteHost"...
Get-SPWebApplication : Cannot find an SPWebApplication object with Name, Id, or Url: http://VM-SPWEB.
At C:\SP\Autoinstaller\AutoSPInstallerFunctions.ps1:2635 char:80
-
New-SPContentDatabase -Name $siteDatabase -WebApplication (G ...
- CategoryInfo : InvalidData: (Microsoft.Share...tWebApplication:SpCmdletGetWebApplication) [Get-SPWebApplication], SPCmdletPipeBindException
- FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetWebApplication
- Script halted!
Please let me know if there is anything more I should post, but if there is anything simple I ought to be checking. Thanks!