MS Search Server Express 2010 "Internal server error exception"

I am pretty new to Sharepoint and to MS Search Server Express.  All searching in Sharepoint was working previous to when I installed MS Search Server Express the other day.  Now I cannot search using Search Server Express and also cannot search using the "Search this site" box in Sharepoint.  In either case I get "Error"  "Internal server error exception".   This is on a Windows Server 2008 R2 Standard and we are using Sharepoint Foundation 2010.

In the ULS logs I get (all for Process w3wp.exe):

Name=Request (GET:http://sharepoint.townofpittsford.local:80/_layouts/OSSSearchResults.aspx?k=joy&cs=This%20Site&u=http%3A%2F%2Fsharepoint.townofpittsford.local)

Site=/

'Search Service App1', location cache:  Refreshing location cache

CoreResultsWebPart::OnInit: Exception initializing: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)

Internal server error exception: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)

Watson bucket parameters: SharePoint Server 2010, ULSException14, 06175311 "sharepoint server search", 0e00129b "14.0.4763.0", 17853a8f "microsoft.office.server.search", 0e00129a "14.0.4762.0", 4bad937d "sat mar 27 01:11:25 2010", 0000320d "0000320d", 0000002d "0000002d", 4a6d3421 "nullreferenceexception", 67316a39 "g1j9"

Leaving Monitored Scope (Request (GET:http://sharepoint.townofpittsford.local:80/_layouts/OSSSearchResults.aspx?k=joy&cs=This%20Site&u=http%3A%2F%2Fsharepoint.townofpittsford.local)). Execution Time=16.7911835704385

Any suggestions?
PittsfordAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
PittsfordConnect With a Mentor Author Commented:
I ended up paying for a Microsoft Support call.  I haven't been able to locate all of my notes on this, but here is their summary of the resolution:

Issue :  MS Search Server Express 2010 "Internal server error exception"

Resolution :

-Found that the STS was not activated.

-Associated the app pool correctly to the STS. We were able to browse it.

-Then we searched and it worked fine.
0
 
vaderjCommented:
When you go into Central Admin, under Application Management and in the Service Applications section - do you see a Server Search service application?
Are you able to configure it?
If not, delete the Server Search service application and recreate
If yes, is it configured to use a service account? if yes, can you login to the server with the service account? Does the service account have Read privileges under the Web Application Policy?
That should get you started - let us know what you find out
0
 
PittsfordAuthor Commented:
Do you see a Server Search service application?  Yes, mine is called "Search Service App1".

Are you able to configure it?  It appears to be doing the crawl (with no errors) and I can change settings on this screen and also click on "Modify" to edit the Topology.  The categories Admin, Crawl and Index Partition all show a status of "online".  It does not say "online" for a status to the right of the Databases category however.

If yes, is it configured to use a service account? Yes, with an account called "SearchSvc"

If yes, can you login to the server with the service account?  Yes, just did that successfully on the server.

Does the service account have Read privileges under the Web Application Policy?  Not quite sure how to check this..can you give me more detail on this one?

Thanks for your help...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
PittsfordAuthor Commented:
Does the service account have Read privileges under the Web Application Policy?  Just found this I believe...under CA, App Mgt, Manage Web Apps, I highlighted the site and clicked User Policy...the account SearchSvc has Full Read permissions...
0
 
vaderjCommented:
Back in the search service application configuration, do you have at least one search scope (look for scopes on the left hand menu) with all your URLs?
0
 
PittsfordAuthor Commented:
When I click "Scope", under the "Title" column, it lists "Shared (1)" and under that it says "All Sites", update status is "Ready", Items list 260.   When I click on "All Sites", I don't see that it specifically lists our URL, however.
0
 
vaderjCommented:
Does your site have only 260 items? If not, add your site url to the score, give it a few minutes, then test out
0
 
PittsfordAuthor Commented:
This is a brand new site that we just started to put content on, so it probably does just have 260 items at the moment.  I added this to the scope anyway, but still getting same errors when searching.
0
 
vaderjCommented:
Have you attempted to delete the service application and create a new one?
I think that would be my next move, and when you create the new one, in the dialog it will allow to either reuse an existing web application or create a new one - I would create a new one.
Then you can get your crawl going again and see if you still see the same errors
0
 
vaderjCommented:
Excuse my - it will allow you to reuse the existing application pool or create a new one - I suggest creating a new application pool
0
 
PittsfordAuthor Commented:
I deleted the search service application and the application pool I was using and created a new ones, but same bad result.  I am off the next 4 days, but when I return I will try this again but create a new application pool with a new name.
0
 
CityofDelrayBeachCommented:
Having the same issue. Did you ever get a resolution Pittsford?
0
 
PittsfordAuthor Commented:
I ended up paying for a Microsoft Support call and this was their solution.
0
 
CityofDelrayBeachCommented:
Thanks Pittsford.  I ended up recreating my Search Service App.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.