Friday, August 20, 2010

Sync Performance Counters

I’m a huge fan of the Perfmon counters and it has always irked me that they fail sometimes.  This is the error I sometimes get when ILM starts:

The server encountered an unexpected error creating performance counters for management agent "HoofHearted".
Performance counters will not be available for this management agent.

This command line tries to install them again, which I have had good luck with recently:

lodctr.exe "C:\Program Files\Microsoft Identity Integration Server\Bin\mmsperf.ini"

It works on my lab boxes but I haven’t been able to get a good repro of the failure so unfortunately can’t say if this will work all the time.

2 comments:

Chris Clayton said...

Should that .ini file already exist? I installed ILM 2007 on a Server 2008 (x86) box and didn't get the errors, but I do get the errors on my DR server where I restored a backup copy of the metaverse to and reinstalled.

Craig Martin said...

Yup, the file should be there. If not then I think it is safe to copy it from another ILM server since it is static.