This project has moved and is read-only. For the latest updates, please go here.

New bug in CreateEnterpriseSearchServiceApp

Apr 12, 2011 at 7:51 AM

Hi Brian,

I have picked up a bug with the latest version of this function. Within the code (starting line 1962), you have introduced the logic:

If (($appConfig.DatabaseServer -ne "") -and ($appConfig.DatabaseServer -ne $null))
  $DBServer = $appConfig.DatabaseServer
  $DBServer = $xmlinput.Configuration.Farm.Database.DBServer

The problem is that this piece of code is used too early, in fact it is used before $appConfig is even assigned (at line 1989).  Therefore the Database Server specified in the 'EnterpriseSearchServiceApplication' will be ignored.

In my environment I had separated all of the search dbs to a separate SQL instance.


Alan Coulter.

May 8, 2011 at 2:46 AM

You're correct, and this was fixed in changeset 72193.