I've been updating a couple of SCSM2012 SP1 installations to UR2 and everytime time I run into the same problem - the installation fails.
The installations fails with: error occured while executing custom action: "_Installhealthserviceperfcountersforpatching"
Looking at the SCSM2012_CU_KB2802159_AMD64_7.5.2905.125.msp.0.log I can see the following errors:
InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070002. momv3 "D:\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070002. MOMConnectorInstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070002. InstallPerfCountersLib: Retry Count : . InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070002. The arguments are: -2147024894, The system cannot find the file specified.,
It turns out that the environments were missing a registry entry for the MOMConnector Performance counters and this caused the error. The key missing is: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MOMConnector
I created the reg entry (found on a SCSM DW MS) and reran the installation of UR2 with success. The reg-file to created the entry is added to this post. Before importing the Reg-File, make sure the path of where SCSM is installed is correct, if not change this linie in the reg-file: ""Library"="C:\\Program Files\\Microsoft System Center 2012\\Service Manager\MOMConnectorPerformance.dll" and then do the import.
You may also need to copy the DLLs and biniaries to the folder, for different reasons I will not be sharing these on the this blog.
Note: After the failed installation of the update, all the workflows stopped running and as soon as the updated completed successfully, they started to be processed again.
Hi, I'm having exactly the same issue installing this update against my test DW server. However, I cant locate the MOMConnectorPerformance.dll on the DW server or the installation software.
I can see MOMConnector.dll and MOMConnectorMessages.dll but no MOMConnectorPerformance.dll.
Any ideas where I could find it?
I've updated the ZIP file with the relevant DLL files as well.
Let me know if that works out for you.
Thanks Thomas, all fixed for me. You should mention that your files are for SCOM 2007 though, people with SCOM 2012 will need some different files and you should also mention that we need to edit the regfile if we installed SCSM to another drive other than C:, but just basic stuff, I'm sure most people can figure that out anyway.
Works like a charm! Thanks
Thanks Trana, I've updated the text.
Thank you!! works for me too.
Darren.McMullen@Fluor dot com
I do not see the .dll in the zip.
I was able to install without the .dll
I am experiencing the errors described above. I imported the MOMConnector.reg key in the attached zip file, but still no luck. The installer says: "The error code is 25211. The arguments are: -2147024809, The parameter is incorrect.
Errors in my log begin at "InstallHSPerfCounters".