Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

New Post: Error running AutoSPInstaller and creating Web App

$
0
0
Hi,

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 Site Collection "http://portal.virtualworks.com/"...

  • Script halted!
Exception : System.ArgumentException: The URL
                    '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.SPCmdletNewSite
CategoryInfo : InvalidData:
                    (Microsoft.Share...SPCmdletNewSite:SPCmdletNewSite)
                    [New-SPSite], ArgumentException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails :
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.

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>