PERFLIB #2003 Errors

I see a lot of customer servers sporting PerfLib #2003 messages in their event logs:

What happens here seems to be updates (or reloads, or phase-changes of the moon) cause the following message:

EVT-Perflib-2003This means that the referenced DLL fileĀ sqlctr90.dll is not marked as trusted in the registry for the service namedĀ MSSQL$SBSMONITORING. This happens a lot on SBS boxes and is quite annoying.

The solution to this is to set the library to trusted using the lodctr.exe command. However, you’ll need to do this for the 32- and 64-bit subsystems as applicable:

c:\windows\system32\lodctr.exe /t:MSSQL$SBSMONITORING
c:\windows\syswow64\lodctr.exe /t:MSSQL$SBSMONITORING

Unfortunately, I can’t tell you how the 32- and 64-bit performance counter libraries work together, but I have noticed that for certain counter libraries, you need to set it as trusted using both 32/64-but versions of LODCTR.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>