Archive for the 'Performance Monitor' Category

The "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly" saga… Part 2

We’ve looked into this in much detail… this is a continuation of a previous blog entry

If you are having similar issues, it worth looking at:

We’ve done all of the above…. hopefully today we’ll do a test and check to see if it has been resolved

SpittingCAML



And the winner of must un-useful error message of the day goes to "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly"

An interesting one that has just reared its head on our K2 [blackpearl] production server.

It only seems to happen when you start a freshly deployed workflow for the first time… the events in the order they happen seem to be

  1. Create, or modify an existing workflow
  2. Deploy
  3. Start the new workflow
  4. … nothing happens
  5. … still nothing happens
  6. Check error log - "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly" in the K2 [blackpearl] management console error log (Shown in Figure 1 below)
  7. Scratch head…. and investigate some more…
  8. … give up investigating
  9. Start the new workflow (again)
  10. … IT WORKS.. no errors in the log…

and repeat for every new instance of a workflow deployed… It doesn’t seem to matter if it’s a brand new one or an update of an existing one.

Performance Counter Issue
Figure 1: A picture of the error

Have anyone seen this before? I think I will log it with the K2 support team…

Some preliminary investigation points to the fact that it is not very descriptive about the error, and it really means is that the Performance Object Category does not exist.

I’m referencing R. Engberg’s blog by the way :-)

Interesting one… if you have any advice, do leave a comment as it is an unwanted feature of our production server!

SpittingCAML




You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.