Running Sharepoint 2013. I removed the Search Service Application which was broken. I set it up manually through Central Administration and Powershell but I get the same result when I go to manage the Search Service Application:
System Status:
Administrative status The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'cb7d26ed-8075-48ed-9f2f-39a44ecbf419' in search application 'Search Service Application 2' is in
a good state and try again.
Search Application Topology:
Unable to retrieve topology component health states. This may be because the admin component is not up and running.
I tried the following:
- changed the app pool from SharePoint Web Services Default to SharePoint Web Services System
- deleted and recreated Search Service Application
- The service account does have access to the search databases
- one account is used, domain\spadmin, has all necessary permissions that I can see
Also, upon checking the Application Event Log on the Sharepoint server I see errors that indicate that Sharepoint is trying to access a deleted Search Database. The database is not listed in SQL, Get-SPDatabase, or CA\UpgradeAndMigration\ReviewDatabaseDtatus.
A database error occurred. Source: .Net SqlClient Data Provider Code: 4060 occurred 0 time(s) Description: Error ordinal: 1 Message: Cannot open database "Search_Service_Application_DB_deleted" requested by the login. The login failed.
________________________
A database error occurred. Source: .Net SqlClient Data Provider Code: 18456 occurred 0 time(s) Description: Error ordinal: 2 Message: Login failed for user 'domain\user'., Class: 14, Number: 18456, State: 1 at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection, Action`1 wrapCloseInAction)
________________________
Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
Context: Application '127eeac5-2939-4fae-8dba-15feae0a7307'
Details:
(0x80131904)
I'm fairly new to Sharepoint and at this point I'm ready to rebuild it. No users yet, it's still in development, but I don't want to lose any of the site collections. Any suggestions?