RSS

Monthly Archives: January 2011

Workflow failed (Retrying) – MOSS 2007

We’re running MOSS 2007 on Server 2003 Enterprise R2 but I’m not sure a lot of that matters in this case. We have several workflows set up and one day they just stopped working. Not just on one site collection but all site collections.  When ran it would simply say the workflow failed to start or failed to run.

Here are the event viewer errors we were getting:

Source: Windows SharePoint Services 3

Event ID: 5289

Description: Registry error reading Perfmon configuration.

Source: W3CTRS

Event ID: 2002

Description: Setting up Web Service counters failed, please make sure your Web Service counters are registered correctly.

Source: Perflib

Event ID: 1023

Description: Windows cannot load extensible counter DLL TermService, the first DWORD in data section is the Windows error code.

Source: IISInfoCtrs

Event ID: 1001

Description: Unable to read the first counter index value from the registry. The error code returned by registry is data DWORD 0.

The first thing you should check is to see if the SharePoint and Windows Workflow Foundation performance counters are available in perfmon. To do this simply open a run prompt and type in perfmon. Then drop down “Performance Logs and Alerts” and click on “Counter Logs”. Right Click on “System Overview” and go to Properties. (see image below)

Once you’ve got that screen open click on the “Add Counters” button and drop down the “Performance Object” list. Your list should resemble the list below, having SharePoint objects as well as the last one, Windows Workflow Foundation.

If they are not there it could be several things. I would try reloading the performance counters first by doing the following:

1. Open a command prompt and navigate to C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation

2. type in lodctr perfcounters.ini and press enter (you can also try lodctr /r)

If you get any messages like “Unable to open driver SYSTEM\CurrentControlSet\Services\w3ctrs.ini. Status: 2 then we’ll have to try the next step. This usually means .NET Framework could possibly be corrupted. Next I would try the .NET hotfix located here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6096ce0f-d21e-47ac-afe2-d4e1c2fce670&displaylang=en

Download the appropriate one for your system and try it out. You will have to reboot when finished.

If this doesn’t fix it you will most likely have to reinstall .NET Framework. I personally didn’t want to do that so I reverted my web front end server to an earlier image of the machine. This will work fine if you have a complete image and the SQL installation is on a separate machine. You will not lose any data since everything except newly created site collections are stored in SQL. If SQL is on the same box you will lose any data from the date of the image.

If you decide to reinstall .NET then once you have it reinstalled you should be able to do an iisreset and see if your sites are back up. Once you have reinstalled .NET install the same hotfix referenced above:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6096ce0f-d21e-47ac-afe2-d4e1c2fce670&displaylang=en

Next you’ll want to perform the lodctr from the directory mentioned above (C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation) and run lodctr perfcounters.ini.

Go back into perfmon and make sure your counters are there and your workflows are functioning properly.

Hope this helps!

 
2 Comments

Posted by on January 21, 2011 in SharePoint Common Issues

 

2010 in review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads This blog is doing awesome!.

Crunchy numbers

Featured image

A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 5,200 times in 2010. That’s about 13 full 747s.

In 2010, there were 6 new posts, growing the total archive of this blog to 24 posts. There were 5 pictures uploaded, taking up a total of 406kb.

The busiest day of the year was October 20th with 52 views. The most popular post that day was Event ID: 6482 Source: Office SharePoint Server.

Where did they come from?

The top referring sites in 2010 were google.com, google.co.in, social.msdn.microsoft.com, yandex.ru, and google.co.uk.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

Event ID: 6482 Source: Office SharePoint Server July 2010

2

An unexpected error has occurred – SharePoint June 2009
1 comment

3

Unable to Load Workbook – MOSS 2007 October 2009

4

Explorer View requires Internet Explorer 5.0 or greater and Web Folders or Your client does not support opening this list with Windows Explorer. February 2010

5

Resource Cannot Be Found or File Not Found Error in MOSS May 2009
4 comments

 
Leave a comment

Posted by on January 2, 2011 in SharePoint Common Issues