Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

PerfLib 2.0 counter removal failed with exit code 2. Command line: C:\WINDOWS\system32\unlodctr.exe /m:hkengperfctr.xml from directory C:\Program Files\Microsoft SQL Server\120\Shared\.

$
0
0

This has been frustrating me for weeks. I have had sql 2014 on my machine since I installed it over a year ago. Why does it now blow up on me. I cannot reinstall it. Every time the Dabase Engine Services and SQL Server Replication fails. Everything else installs.  How do I get this to work?   How can I show you the detail.txt file ? I don't think I can paste it into there. I tried already. Will it work?

TITLE: Microsoft SQL Server 2014 Setup
------------------------------

The following error has occurred:

PerfLib 2.0 counter removal failed with exit code 2. Command line: C:\WINDOWS\system32\unlodctr.exe /m:hkengperfctr.xml from directory C:\Program Files\Microsoft SQL Server\120\Shared\.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x590D6427%25400x24BDAA65%25401260%25401

------------------------------
BUTTONS:

OK
------------------------------

(01) 2019-12-18 23:28:34 Slp:     HResult : 0x84ec0001
(01) 2019-12-18 23:28:34 Slp:         FacilityCode : 1260 (4ec)
(01) 2019-12-18 23:28:34 Slp:         ErrorCode : 1 (0001)
(01) 2019-12-18 23:28:34 Slp:     Data:
(01) 2019-12-18 23:28:34 Slp:       Action = removal
(01) 2019-12-18 23:28:34 Slp:       ReturnCode = 2
(01) 2019-12-18 23:28:34 Slp:       ProcessName = C:\WINDOWS\system32\unlodctr.exe
(01) 2019-12-18 23:28:34 Slp:       ProcessArgs = /m:hkengperfctr.xml
(01) 2019-12-18 23:28:34 Slp:       WorkingDir = C:\Program Files\Microsoft SQL Server\120\Shared\
(01) 2019-12-18 23:28:34 Slp:       WatsonData = Microsoft.SqlServer.Configuration.XTP.LodCtrFailedException@1
(01) 2019-12-18 23:28:34 Slp:       SQL.Setup.FailureCategory = ConfigurationFailure
(01) 2019-12-18 23:28:34 Slp:       WatsonConfigActionData = REPAIR@CONFIGNONRC@SQL_ENGINE_CORE_CNS
(01) 2019-12-18 23:28:34 Slp:       WatsonExceptionFeatureIdsActionData = System.String[]
(01) 2019-12-18 23:28:34 Slp:     Stack:
(01) 2019-12-18 23:28:34 Slp:         at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.AddRemovePerfLib2Counters(Boolean register, Boolean shouldThrow)
(01) 2019-12-18 23:28:34 Slp:         at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.Repair(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2019-12-18 23:28:34 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2019-12-18 23:28:34 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2019-12-18 23:28:34 Slp: Watson Bucket 2







Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>