Error in Search Service Provisioning

Feb 22, 2011 at 5:43 PM

I am getting this strange error on the search provisioning, Here is my XML segment and the errors:

You cannot call a method on a null-valued expression.
At F:\SP2010\AutoSPInstaller\AutoSPInstallerFunctions.ps1:1913 char:204
+ $crawlComponent = New-SPEnterpriseSearchCrawlComponent -Searc
hServiceInstance $searchSvc -SearchApplication $searchApp -CrawlTopology $crawl
Topology -CrawlDatabase $crawlStore.Id.ToString <<<< () -IndexLocation $appConfig.IndexLocation
+ CategoryInfo : InvalidOperation: (ToString:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At F:\SP2010\AutoSPInstaller\AutoSPInstallerFunctions.ps1:1937 char:111
+ $partition | Set-SPEnterpriseSearchIndexPartition -PropertyDatabase $propertyStore.Id.ToString <<<< ()
+ CategoryInfo : InvalidOperation: (ToString:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

<EnterpriseSearchService Provision="True" ContactEmail="spfarm.test@usaa.com" ConnectionTimeout="60" AcknowledgementTimeout="60" ProxyType="Default" IgnoreSSLWarnings="false"
      InternetIdentity="Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)" IndexLocation="F:\INDEX" PerformanceLevel="PartlyReduced"
      Account="DOMAIN\service.account" Password="********"
      ShareName="SearchShare">
<EnterpriseSearchServiceApplications>
 <EnterpriseSearchServiceApplication Name="Enterprise Search Service Application"
          DatabaseServer="LOCALHOST"
          DatabaseName="enterprisesearch"
          FailoverDatabaseServer=""
          Partitioned="false"
          Partitions="1"
          SearchServiceApplicationType="Regular"
          ContentAccessAccount="DOMAIN\service.account"
          ContentAccessAccountPWD="********">
  <ApplicationPool Name="SharePoint Enterprise Search Application Pool" Account="DOMAIN\service.account" Password="********" />
  <CrawlServers>
   <Server Name="LOCALHOST" />
  </CrawlServers>
  <QueryServers>
   <Server Name="LOCALHOST" />
  </QueryServers>
  <SearchQueryAndSiteSettingsServers>
   <Server Name="LOCALHOST" />
  </SearchQueryAndSiteSettingsServers>
  <AdminComponent>
   <Server Name="LOCALHOST" />
   <ApplicationPool Name="enterprisesearchadmin" Account="DOMAIN\service.account" />
  </AdminComponent>
  <Proxy Name="Enterprise Search Service Application Proxy" Partitioned="false">
   <ProxyGroup Name="Default" />
  </Proxy>
 </EnterpriseSearchServiceApplication>
</EnterpriseSearchServiceApplications>
</EnterpriseSearchService>

Feb 23, 2011 at 7:05 PM

Disregard, I had an error in the XML.