Showing posts with label Search. Show all posts
Showing posts with label Search. Show all posts

Friday, April 16, 2010

Error in Site Data WebService

Just recently I was trying to track down an indexer issue on MOSS 2007 in the Shared Services Provider (SSP). The error was "Error in the Site Data Web Service" in the location of http://<ssp web host>/ssp/admin/Content.


After digging around in the logs I found an error to the call: GetWebDefaultPage. After pointing SharePoint Designer at this Content sub site (which hosts the BDC entity display template pages) in the SSP host, I found out that there is no default page (default.aspx).


You can do 4 things to solve this problem.



  1. Ignore it

  2. Create a crawl rule to skip this site completely

  3. Create an empty Default.aspx in the site

  4. Remove the SSP host from the Local SharePoint Sites Content source.


I am not convinced Option 2 is a good idea as it could lead to strange searhc behaviour especially with BDC applications.


In our environment, we decided on Option 4 as we had no need to index the SSP at the moment.


I hope this helps.


Nate


Friday, August 22, 2008

SSP Shared Scopes in Microsoft Search Server 2008

The Microsoft Search Server 2008 Search administration pages offered a central and easy administration to the search services in SharePoint.  The only thing it missed was the SSP Level Shared Scopes.  It appeared though that only the link was missing as the ASPX pages were still located on the disk.

To navigate to the SSP Shared Scopes from the Search Administration Pages navigate to /_layouts/ViewScopesssp.aspx?Mode=ssp from the SSP host.  eg. http://MyMSS2008Server-SSPWebApplication/ssp/admin/_layouts/ViewScopesSSP.aspx?Mode=ssp.

You can add this as a link to the Search Administration page (links section) to allow quick access to the SSP.

As a matter of note, the Infrastructure Update for MOSS 2007 fixes this and adds the Scopes to the left hand action menu of the updated Search Administration pages.

Friday, July 18, 2008

The Elusive Crawl Rule

I have been working on this rather large Enterprise Search project for a little while now. For some background, we are using Microsoft Search Server 2008 to index content where the meta data is contained in databases and the full text content is contained on network shares.

The project is at the point we we are bringing on extra content sources such as the traditional file share content. In order for this content to be indexed, our default content account will need to be granted read access to the file shares. At this point, my customer asked me where the password was stored for the content account.

Hmm, interesting question I thought. So we began hunting down where this information is stored.

Step 1: SQL Profiler. Create a crawl rule with a custom account and see what is logged. Lo and behold - nothing.

Step 2: Registry. Success. It turns out that the crawl rules, content sources and basically everything related to the index process is located in the registry.

Registry Root:HKLM\Software\Microsoft\Office Server\12.0\Search\Applications\<SSP GUID>\
Content Sources:...\Gather\Portal_Content\Content Sources
Crawl Rules:...\Gather\Portal_Content\Sites\...
Credential Cache:...\Gathering Manager\Secrets\...

So initially I thought, why the registry? In fact the answer makes quite a lot of sense. As you can only have a single indexer for a SSP, it makes sense to place this information in the registry where it can be locked down. So from a security point of view, you must compromise the server first to get access to the registry, then you would need to try and decrypt the secrets. Also performance would be increased as it is a local registry read.