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

New Post: Error while trying to create User Profile Service Application

$
0
0
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
  • $newProfileServiceApp = New-SPProfileServiceApplication -Name "User Profile Serv ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:SPCmdletNewProfileServiceApplication) [New-SPProfileServiceApp
      lication], SPCmdletPipeBindException
    • FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletNewProfileServiceApplication
C:\Users\sp_admin\AppData\Local\Temp\2\AutoSPInstaller-ScriptBlock.ps1 : - Failed to create User Profile Service Application
+ 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
Add-SPShellAdmin :
"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
Add-SPShellAdmin :
"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

Viewing all articles
Browse latest Browse all 2279

Trending Articles



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