I'm running the autospinstaller script on a new SP2013 farm, running on a new build of Server 2008 R2. I'm using the GUI to configure the XML, and I've been making necessary changes along the way. I've gotten to the point where its trying to configure the User Profile Service Application, but it's running into an error. Any help would be greatly appreciated! I get a pop-up window, and here's what it says:
Creating User Profile Service Application as xxxxxx\stgsp2013setup...
New-SPProfileServiceApplication : Cannot find an SPSite object with Id or Url:
http://servername:8080.
At
C:\Users\stgsp2013setup\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:3
char:25
EDIT: So I noticed that when I hit any key, a new blob of Red text would display, but the pop-up would close before I could read it. I snagged a screenshot of it. Here's a transcript:
Add-SPShellAdmin :
C:\Users\stgsp2013setup\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:6char:1
Creating User Profile Service Application as xxxxxx\stgsp2013setup...
New-SPProfileServiceApplication : Cannot find an SPSite object with Id or Url:
http://servername:8080.
At
C:\Users\stgsp2013setup\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:3
char:25
- $newProfileServiceApp = New-SPProfileServiceApplication -Name "User Profile
Serv ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~- CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:
SPCmdletNewProfileServiceApplication) [New-SPProfileServiceApplication], S
PCmdletPipeBindException -
FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.
SPCmdletNewProfileServiceApplication
- CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:
- Failed to create User Profile Service Application
At line:1 char:1 - C:\Users\STGSP2~1\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion -
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,AutoSPInstaller-ScriptBlock.ps1
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
EDIT: So I noticed that when I hit any key, a new blob of Red text would display, but the pop-up would close before I could read it. I snagged a screenshot of it. Here's a transcript:
Add-SPShellAdmin :
"Cannot add xxxxx\stgsp2013setup to the SharePoint_Shell_Access role of the database WSS_Test_Farm. A possible cause of this error is that the account name was already added to the database as a login using a different user name than the account name."
AtC:\Users\stgsp2013setup\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:6char:1
- Add-SPShellAdmin -UserName "xxxx\stgsp2013setup" -database $profileDBId
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+CategoryInfo : InvalidData: (Microsoft.Share...AddSPShellAdmin:
SPCmdletAddSPShellAdmin) [Add-SPShellAdmin], ArgumentException- FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin