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

Created Unassigned: Using SQL Server named instance and port cause User Profile Service creation to fail [22034]

$
0
0
If you use a named instance for SQL as well as a custom port (i.e., MYSERVER\SP,14331) the generated script block AutoSPInstaller-ScriptBlock.ps1 contains an invalid command to create a new Profile Service Application.

To fix, modify the following line to include quotes around the DBServer parameters:

AutoSpInstallerFunctions.ps1, Line 3444:
```
Write-Output "`$newProfileServiceApp = New-SPProfileServiceApplication -Name `"$userProfileServiceName`" -ApplicationPool `"$($applicationPool.Name)`" -ProfileDBServer `"$($profileDBServer)`" -ProfileDBName $profileDB -ProfileSyncDBServer `"$($syncDBServer)`" -ProfileSyncDBName $syncDB -SocialDBServer `"$($socialDBServer)`" -SocialDBName $socialDB -MySiteHostLocation $mySiteHostLocation $mySiteManagedPathSwitch" | Out-File $scriptFile -Width 400 -Append
```

Viewing all articles
Browse latest Browse all 2279

Trending Articles



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