I am running this on a SharePoint 2013 farm install, one SharePoint server, and one sql server. The script keeps halting on this error as shown below. I cannot seem to figure out why. This is about the fifth time I have ran it, it did make it through the software install, and this server is "offline" from the internet due to location... Any help is greatly appreciated.
--------------------------------------------------------------
- Creating web applications...
- Creating Web App "EMPCS-SHAREPOINTDEV"
--------------------------------------------------------------
- Script halted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletException: ApplicationPoolAccount is not found.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord
errorRecord)
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication
CategoryInfo : InvalidArgument: (Microsoft.Share...PWebApplication:SPCmdletNewSPWebApplication)
[New-SPWebApplication], SPCmdletException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2679
at CreateWebApplications, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2575
at Setup-Farm, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 209
at <ScriptBlock>, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 408
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails :
-----------------------------------
| Automated SP2013 install script |
| Started on: 10/20/2015 11:19:53 AM |
| Aborted: 10/20/2015 11:22:12 AM |
--------------------------------------------------------------
- Creating web applications...
- Creating Web App "EMPCS-SHAREPOINTDEV"
--------------------------------------------------------------
- Script halted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletException: ApplicationPoolAccount is not found.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord
errorRecord)
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication
CategoryInfo : InvalidArgument: (Microsoft.Share...PWebApplication:SPCmdletNewSPWebApplication)
[New-SPWebApplication], SPCmdletException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2679
at CreateWebApplications, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2575
at Setup-Farm, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 209
at <ScriptBlock>, D:\Temp\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 408
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails :
-----------------------------------
| Automated SP2013 install script |
| Started on: 10/20/2015 11:19:53 AM |
| Aborted: 10/20/2015 11:22:12 AM |