Hi Yvanh,
Is there another solution for the Problem? The executing for the "C:\Users\SP_Admin\AppData\Local\Temp folder and open the AutoSPInstaller-ScriptBlock.ps1 file" dont work because it giving other Errors in Powershell. Thank you in advance
New-SPProfileServiceApplication : Cannot find an SPPrefix object with Name: people/sites.
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:3 char:25
Exception calling "ReadKey" with "1" argument(s): "The method or operation is not implemented."
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:4 char:122
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:6 char:1
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:8 char:1
Is there another solution for the Problem? The executing for the "C:\Users\SP_Admin\AppData\Local\Temp folder and open the AutoSPInstaller-ScriptBlock.ps1 file" dont work because it giving other Errors in Powershell. Thank you in advance
New-SPProfileServiceApplication : Cannot find an SPPrefix object with Name: people/sites.
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:3 char:25
- $newProfileServiceApp = New-SPProfileServiceApplication -Name "User Profile Serv ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:SPCmdletNewProfileServiceApplication) [New-SPProfileServiceApp
lication], SPCmdletPipeBindException -
FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletNewProfileServiceApplication
- CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:SPCmdletNewProfileServiceApplication) [New-SPProfileServiceApp
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,AutoSPInstaller-ScriptBlock.ps1
Press any key to exit...Exception calling "ReadKey" with "1" argument(s): "The method or operation is not implemented."
At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:4 char:122
- ... y to exit..."; $null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")}
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
-
FullyQualifiedErrorId : NotImplementedException
"Cannot add CONTOSO\sp_admin to the SharePoint_Shell_Access role of the database SP_Config. 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."At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:6 char:1
- Add-SPShellAdmin -UserName "CONTOSO\sp_admin" -database $profileDBId
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...AddSPShellAdmin:SPCmdletAddSPShellAdmin) [Add-SPShellAdmin], ArgumentException
-
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin
"Cannot add CONTOSO\sp_admin to the SharePoint_Shell_Access role of the database SP_Config. 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."At C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1:8 char:1
- Add-SPShellAdmin -UserName "CONTOSO\sp_admin" -database $socialDBId
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...AddSPShellAdmin:SPCmdletAddSPShellAdmin) [Add-SPShellAdmin], ArgumentException
- FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin