Thursday, October 6, 2011

How to Fix Error 126


1. Go to 'Start.' Select 'Run' and type 'regedit.'
2. Go to the registry key labeled 'HKLM\System\CurrentControlSet\Services\%ServiceName%\Parameters.'
3. Check the corresponding DLL file name value for ServiceDLL.
4. Check the location that is mentioned in the key ServiceDLL and make sure that the file is there.
5. Copy the file from a working server with the same operating system and service pack level if you do not find the information in the location mentioned in the registry key HKLM\System\CurrentControlSet\Services\%ServiceName%\Parameters\serviceDLL.
6. Start the service or program you were trying to use when you originally received the error message; it should run successfully without any more errors.