/home

Icon

Informations, tips and technics.

The Open procedure for service Service in .dll DllPath failed.

This error message appear sometimes on some Windows 2000 or 2003 servers. How to fix this stuff?

Well in my case, I have located in the registry what is the name of the service whoch perfomance DLL seems to have some issue to register.

  • Open regedit and navigate in HKLM\System\CurrentControlSet\Services and try to find the name of the service. (in my case, I have some troubles with IAS and the DLL iasperf.ddl, the service name here is IAS)
  • Next, go in C:\Windows\system32 (or winnt if you are with Windows 2000)
  • unlodctr IAS
    (unlodctr <name of the service>)
  • findstr drivername *.ini
    Which list all file that have the string ‘drivername’ in it
  • Locate the ini file for your service
  • lodctr <name of the ini file>.ini
    in my case it was iasperf.ini

And the error message whould disappear.

Thanks to : http://support.microsoft.com/?id=299059

There is also a more complexe procedure wich involve rebuilding the performance counters. You can find the procedure here : http://support.microsoft.com/kb/300956/en-us

I had to use this procedure because of the same issue with perfomance counters and .NET Framework. Note that sometimes the ini file are not located in the %systemroot%\system32 but in the folder where the application is installed (like C:\windows\Framework\<the version>\). Then use the lodctr program with the ini file, like aspnet_perf.ini or sometimes directly with the dll aspnet_perf.dll.

Advertisements

Filed under: Uncategorized

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: