Skip to main content

Cloud

SharePoint 2010 Search-Method failed with unexpected error code 3

I run into very interesting problem when trying to modify the topology of my search service application. I was basically trying to move my administration component and index role to another server in the same farm, but the wizard kept crashing with TimerJob timeout error.

When looking at my target server (where I was trying to place my admin and index role), the search service would be in status Error Staring and the application server log would show

Search Method failed with unexpected error code 3.

I then tried out old friend

stsadm.exe -o osearch -action start but to no avail. Same error message. Off course, no amount of reboots and timer service restarts helped either.

Finally, I found this blog that talked about the underlying file structure and the share that’s being configured. Sure enough, my folder structure under D:Index_Files was missing, even though the share still existed.

The fix:

  1. Copy folders from working index server under D:Index_files, or wherever you are pointing your index files on your particular search service application (namely Config and Office Server folders)
  1. On command line, run psconfig -cmd secureresources (this will apply security on these folders automatically)
  2. On command line, run stsadm -o osearch -action start (your search service should now be able to start)
  3. Finally apply your topology changes

Moral of the story: when all else fails, look at the simple stuff first 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Teo Nedev

Teo Nedev is a senior consultant for Perficient. He has more than eight years of progressive IT experience in various industries, and has worked for small, mid-size, and Fortune 500 companies. During his career he has deployed and maintained large SharePoint environments with emphasis on infrastructure, scalability and disaster recovery. He is also experienced in Active Directory, SQL and virtualization solutions. Teo holds a Bachelor’s Degree in business administration as well as Master’s of Computer Science degree from the Illinois Institute of Technology in Chicago. He is a certified MCITP SharePoint Administrator 2010, MCSE, CCNA and VCP. He currently resides in Chicago’s north suburbs. Teo enjoys theatre and comedy and spends his free time reading, biking, cooking and entertaining friends and family.

More from this Author

Follow Us