This project has moved and is read-only. For the latest updates, please go here.

Unrecognized User Error

Jun 17, 2013 at 11:10 PM
Edited Jun 17, 2013 at 11:11 PM
When running the script, I have the following error hit
Exception             : Microsoft.SharePoint.SPException: User cannot be found.
                           at Microsoft.SharePoint.Administration.SPSiteCollection.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.CreateDataObject()
                           at Microsoft.SharePoint.PowerShell.SPNewCmdletBase`1.InternalProcessRecord()
                           at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
TargetObject          : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
CategoryInfo          : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdletNewSite) [New-SPSite], SPException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails          : 
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at CreateWebApp, C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2220
                        at CreateWebApplications, C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2074
                        at Setup-Farm, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 190
                        at <ScriptBlock>, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 358
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails      : 
I checked to make sure all the user accounts are registered on the DNS server, and can't seem to find anything amiss in the XML files. Anywhere else I should be looking?

here's the script that runs right before the error
 - Web app "My BI Site" already provisioned.
 - Setting up managed paths for "http://SLMSHPNTSVR:8080"
 - Setting up managed path "personal" at "http://SLMSHPNTSVR:8080"
 - Done setting up managed paths at "http://SLMSHPNTSVR:8080"
 - Granting CORP\SP_Services rights to "My BI Site"...Done.
 - Creating Site Collection "http://SLMSHPNTSVR:8080"...
  • Script halted!

Dan Maycock
Jun 18, 2013 at 12:47 AM
Can you post the webapplications node out of your Input XML?