I am hacking the Advanced Search Form, so I realize each scope has an id. I want to get the id that corresponds to my scopes in a drop down list (later on a drop down list checkbox perhaps). So I add the proper assemblies to my test asp .net page and all works well. Then I copy my control into my SharePoint Test Site User Controls area...It states that I am missing an assembly when I load the page...I check the web .config and sure enough it is missing this reference tag in the <assemblies> section:
<add assembly="Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/>
So for anyone working with search you may want to check your web .config prior to working with the search object model.