?
Solved

MS Search Server Express 2010 "Internal server error exception"

Posted on 2013-06-03
14
Medium Priority
?
464 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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
 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

752 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