Solved

MS Search Server Express 2010 "Internal server error exception"

Posted on 2013-06-03
14
439 Views
Last Modified: 2014-09-11
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?
0
Comment
Question by:Pittsford
  • 7
  • 5
  • 2
14 Comments
 
LVL 8

Expert Comment

by:vaderj
ID: 39239076
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
 

Author Comment

by:Pittsford
ID: 39241016
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
 

Author Comment

by:Pittsford
ID: 39241028
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
 
LVL 8

Expert Comment

by:vaderj
ID: 39241247
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
 

Author Comment

by:Pittsford
ID: 39241328
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
 
LVL 8

Expert Comment

by:vaderj
ID: 39241347
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
 

Author Comment

by:Pittsford
ID: 39241406
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 8

Expert Comment

by:vaderj
ID: 39241548
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
 
LVL 8

Expert Comment

by:vaderj
ID: 39242179
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
 

Author Comment

by:Pittsford
ID: 39253996
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
 

Expert Comment

by:CityofDelrayBeach
ID: 40290671
Having the same issue. Did you ever get a resolution Pittsford?
0
 

Accepted Solution

by:
Pittsford earned 0 total points
ID: 40299066
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
 

Author Closing Comment

by:Pittsford
ID: 40308377
I ended up paying for a Microsoft Support call and this was their solution.
0
 

Expert Comment

by:CityofDelrayBeach
ID: 40318037
Thanks Pittsford.  I ended up recreating my Search Service App.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now