Hi,
CategoryInfo : InvalidData:
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, C:\SP\2013\AutoSPInstaller\AutoSPInsta
| Started on: 4/14/2013 3:39:37 PM |
I am running SPInstaller to set up a multi tier farm but the script keeps failing with the follow error message. I have tried to change the site collection but i am still running into the error and not sure what i need to change in the script to get past this point.
- Creating web applications...
- Web app "SharePoint - Portal Sites" already provisioned.
- Setting up managed paths for "http://portal.virtualworks.com:80"
- Setting up explicit managed path "portal" at "http://portal.virtualworks.c
om:80" - Done setting up managed paths at "http://portal.virtualworks.com:80"
- Granting VIRTUALWORKS\sys-D-Farm rights to "SharePoint - Portal Sites"...D
one.
- Creating Site Collection "http://portal.virtualworks.com/"...
-
Script halted!
'http://portal.virtualworks.com/' is in use as an
alternate access URL or as the URL of a host header
site. Please choose a different URL and try again.
at Microsoft.SharePoint.Administration.SPSiteCollect
ion.ValidateSiteUrlEx(SPWebApplication application,
SPUrlZone zone, String& siteUrl, Boolean
useHostHeaderAsSiteName, Uri& fullUri, String&
strFullUrl)
at Microsoft.SharePoint.Administration.SPSiteCollect
ion.Add(SPContentDatabase database, SPSiteSubscription
siteSubscription, String siteUrl, String title, String
description, UInt32 nLCID, Int32 compatibilityLevel,
String webTemplate, String ownerLogin, String
ownerName, String ownerEmail, String
secondaryContactLogin, String secondaryContactName,
String secondaryContactEmail, String quotaTemplate,
String sscRootWebUrl, Boolean useHostHeaderAsSiteName,
Boolean overrideCompatibilityRestriction)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSite.C
reateDataObject()
at Microsoft.SharePoint.PowerShell.SPNewCmdletBase`1
.InternalProcessRecord()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessR
ecord()
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSiteCategoryInfo : InvalidData:
(Microsoft.Share...SPCmdletNewSite:SPCmdletNewSite)
[New-SPSite], ArgumentException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSiteErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, C:\SP\2013\AutoSPInstaller\AutoSPInsta
llerFunctions.ps1: line 2111
at CreateWebApplications, C:\SP\2013\AutoSPInstaller\Au
toSPInstallerFunctions.ps1: line 1966
at Setup-Farm,
C:\SP\2013\AutoSPInstaller\AutoSPInstallerMain.ps1:
line 189
at <ScriptBlock>,
C:\SP\2013\AutoSPInstaller\AutoSPInstallerMain.ps1:
line 357
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}PSMessageDetails :
| Automated SP2013 install script || Started on: 4/14/2013 3:39:37 PM |
| Aborted: 4/14/2013 3:41:29 PM |
<WebApplication type="Portal"
name="SharePoint - Portal Sites"
applicationPool="SP-Portal"
applicationPoolAccount="VIRTUALWORKS\sys-D-Portal"
url="http://portal.virtualworks.com"
port="80"
UseHostHeader="true"
AddURLToLocalIntranetZone="true"
databaseName="Content_Portal"
useClaims="true"
useBasicAuthentication="false"
useOnlineWebPartCatalog="false">
<Database>
<DBServer>AGSQL1\SPDBSERVER</DBServer>
<DBAlias Create="false"
DBInstance="SERVER\INSTANCE"
DBPort="" />
</Database>
<ManagedPaths>
<ManagedPath relativeUrl="help" explicit="true" />
</ManagedPaths>
<SiteCollections>
<SiteCollection siteUrl="http://portal.virtualworks.com/"
HostNamedSiteCollection="true"
owner="VIRTUALWORKS\webmaster"
name="Portal"
description="Portal Home"
SearchUrl="http://portal.virtualworks.com/search"
CustomTemplate="false"
Template="SPSPORTAL#0"
LCID="1033"
Locale="en-gb"
Time24="false">
</SiteCollection>
</SiteCollections>
</WebApplication>
<WebApplication type="MySiteHost"
name="SharePoint - My Sites"
applicationPool="SP-MySites"
applicationPoolAccount="VIRTUALWORKS\sys-D-MySite"
url="http://mysite.virtualworks.com"
port="8080"
UseHostHeader="true"
AddURLToLocalIntranetZone="true"
databaseName="Content_MySites"
useClaims="true"
useBasicAuthentication="false"
useOnlineWebPartCatalog="false">
Any help would be aprreciated.