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

Created Unassigned: Deploy Enterprise Search Service without Portal Webapplication [22545]

$
0
0
I want to deploy the enterprise search service, but I don't want to deploy the portal webapplication with AutoSPInstaller.
In this case the script gives the error, that
$xmlinput.Configuration.WebApplications.WebApplication
is empty.

Fix:
In function CreateEnterpriseSearchServiceApp, remove the three lines
> $portalWebApp = $xmlinput.Configuration.WebApplications.WebApplication | Where {$_.Type -eq "Portal"} | Select-Object -First 1
> $portalURL = ($portalWebApp.URL).TrimEnd("/")
> $portalPort = $portalWebApp.Port

Therefore it is working. (After all you don't even need these variables in this function.)

Viewing all articles
Browse latest Browse all 2279


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