i am using the Sharepoint api to return search results which i am getting with Microsoft.SharePoint.Search.Query.KeywordQuery. On my development machine this is working fine. On the Server where Server Express 2010 is installed additionaly, this is not working. I am getting no results although Foundation Search seems to be configured ok.

Is there a way to debug this scenario? I can not find any problems in the Application Event Log or in the Sharepoint Event log. But i am not sure if Foundation Search is even crawling my content.

1 Answer 1


Installing Search Server Express effectively replaces Foundation Search and in fact, enhances it. Check that you have a Service Application created for search and that the service is running. Microsoft TechNet has good information on the subject of configuring Search Server Express: http://technet.microsoft.com/en-us/library/ee808897.aspx

  • Thanks for your help. I get search results on my site from Search Server Express, so this is working. But my application does not create results. I don't know if Search Server is incompatible with the KeywordQuery method or if there is another problem. What is working for sure is Foundation Search in combination with KeywordQuery on my dev machine. So the ideal solution would be to get foundation search running for my site.
    – spoekes
    Commented Feb 10, 2012 at 16:46
  • I think you may have luck if you switch to Microsoft.Office.Server.Search.Query.KeywordQuery. However, in the long run, you'll need your environments to match. I suggest installing Search Server Express on dev if you can because it adds a whole lot to Foundation and is licensed similarly. In other words, in most cases it shouldn't be an additional cost over Foundation.
    – Tom Resing
    Commented Feb 10, 2012 at 19:42
  • 1
    Its is working now with Search Server Express 2010. Except for the assembly reference and the namespace the code stayed the same.
    – spoekes
    Commented Mar 7, 2012 at 9:54
  • Thanks for the feedback! It's always great to see solutions tested and confirmed on this great Q&A site.
    – Tom Resing
    Commented Mar 7, 2012 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.