Friday, November 13, 2009

Migrate or Move you SPD Workflow

The need came up to move one of my workflows to a different server, this workflow was running on a Form Library based created from publishing an InfoPath form. I tried to migrate the whole site using stsadm however when I tried running the workflow it was broken. I tried to to fix the broken steps but it became a pain.

I few Google searches later and I found this:

http://vspug.com/andynoon/2007/09/18/reparenting-a-workflow-to-a-different-list/

It worked like a charm, there was still some clean up to be done, but the clean up proved to be easier than when I migrated the whole site. Actually, the clean up that needed to happen was due to the fact that I missed some columns when I recreated the Form Library in my destination site. If you prepare your destination site to match your original site, this should work without a problem.

Thursday, November 12, 2009

The search service is currently offline

Woke up one day and I had the following error when accessing my MOSS Search Settings.

"The search service is currently offline. Visit the Services on Server page in Share Point Central Administration to verify whether the service is enabled. The might also be because an indexer move is in progress."

The error was popping up in two places.

1. Like I mentioned above when going into SSP then Search Settings
2. When going into User Profiles and Properties then View import log

I found a solution in the following link.

http://blog.sallarp.com/the-search-service-is-currently-offline/

The solution I used was in the first comment and not the blog post itself.

I had to open the command prompt, then navigate to Bin folder and last, I ran the following command.

psconfig -cmd upgrade -inplace b2b -wait

It will bring down your site for a moment, I assume while restarting IIS, so you might want to run it off hours or notify your users that the site will be down for maintenance.

Sigh! crisis averted!