Hello,
I am having an issue with the new version of the autoinspinstaller. I can run the script without an issue on the first webserver, however when I run it on a second server it fails with the below message. When I browse to the inetmgr the portal app is setup and it has a binding to the first server in the farm where it was the initial install. I have two WFE (WEBSPW01, WEBSPW02) and one APP server (WEBSPW03). I have included my spinstallerinput file for review. Please Help!
--------------------------------------------------------------
- Creating web applications...
- Web app "Portal Home" already provisioned.
- Creating Site Collection "http://WEBSPW02"...
--------------------------------------------------------------
Script aborted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletPipeBindExcepti
on: Cannot find an SPWebApplication object that contain
s the following Name, Id, or Url: http://WEBSPW02.
at Microsoft.SharePoint.PowerShell.SPWebApplicationP
ipeBind.Read(Boolean exactUrl)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSite.I
nternalValidate()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessR
ecord()
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdle
tNewSite) [New-SPSite], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {0, 1, 0}
PSMessageDetails :
Comments: ** Comment from web user: brianlala **
I am having an issue with the new version of the autoinspinstaller. I can run the script without an issue on the first webserver, however when I run it on a second server it fails with the below message. When I browse to the inetmgr the portal app is setup and it has a binding to the first server in the farm where it was the initial install. I have two WFE (WEBSPW01, WEBSPW02) and one APP server (WEBSPW03). I have included my spinstallerinput file for review. Please Help!
--------------------------------------------------------------
- Creating web applications...
- Web app "Portal Home" already provisioned.
- Creating Site Collection "http://WEBSPW02"...
--------------------------------------------------------------
Script aborted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletPipeBindExcepti
on: Cannot find an SPWebApplication object that contain
s the following Name, Id, or Url: http://WEBSPW02.
at Microsoft.SharePoint.PowerShell.SPWebApplicationP
ipeBind.Read(Boolean exactUrl)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSite.I
nternalValidate()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessR
ecord()
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdle
tNewSite) [New-SPSite], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {0, 1, 0}
PSMessageDetails :
Comments: ** Comment from web user: brianlala **
You likely have one or more syntax errors / typos in your XML - can you re-post this as a new Discussion item (not an Issue), as it doesn't appear to be directly related to the original issue, nor does it appear to be an issue with the script itself.
We should separate them for clarity.
Thanks,
Brian