How to start the WSS Search Service via Central Administrator

When you stop and start the WSS Search Service in Central Administrator (Operations=>Services on server=>Windows SharePoint Services Search), you may get the following error:

Database_name contains user-defined schema.  Databases must be empty before they can be used.  Delete all of the tables, stored procedures and other objects or use a different database.

Follow below steps to fix this issue:

Step 1 – Stop SQL Server service

Step 2 – Delete files WSS_Search_ Servername.mdf  and WSS_Search_ Servername_log.LDF

Step 3 – Start SQL Server service

Step 4 – Restart the WSS Search Service again (Provide new name for search database, old database name might not work.)

Advertisements

About Rajan
I am Rajan Garg working as a Senior Software Engineer in a company. I am working on the Microsoft technologies.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: