Object reference not set to an instance of an object – SharePoint 2007 Search Error

Today, I installed MOSS 2007 on a machine, which is not in the domain. Everything worked well, but when I tried search I got this error:

Object reference not set to an instance of an object.   at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
moss 2007 search error

So, What is the resolution? Simple. just set the AAM Entry

sharepoint AAM

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

One thought on “Object reference not set to an instance of an object – SharePoint 2007 Search Error

  • February 10, 2011 at 3:27 PM

    Very Nice.Useful article

    Reply

Leave a Reply