2

I've a PowerShell script file to create results source. It works well on staging, but has some problems on UAT. First of all is the trouble with Get-SPSite. I've managed to resolve it. However, when I was trying running Get-SPEnterpriseSearchResutlItemType,

It threw an error: Attempted to perform an unauthorized operation.

I couldn't found more information other than that error.

I then tried going to Search Result Sources in Site Settings and encounter error. From log,

Application error when access /_layouts/15/manageresultsources.aspx, Error=There was an exception in the Database. Please retry your operation and if the problem presists, contact an administrator.
Microsoft.Office.Server.Search.Query.Pipeline.SearchObjectDatabaseException: There was an exception in the Database. Please retry your operation and if the problem presists, contact an administrator.
Getting Error Message for Exception Microsoft.Office.Server.Search.Query.Pipeline.SearchObjectDatabaseException: There was an exception in the Database. Please retry your operation and if the problem presists, contact an administrator.

Can you narrow where the problem is?

3
  • 1
    are you administrator of the search service? – Nk SP Apr 25 '15 at 17:55
  • Are you running elevated? – Matthew McDermott Apr 27 '15 at 6:21
  • @Nk SP, Matthew: We now only have problem when accessing Search Setting in general, like Search Result Sources or Search Result Types. The log only tells me "there was an exception in the Database" as posted above. Please advise. – hoanvd1210 Apr 27 '15 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.