Wednesday, June 24, 2009

svchost.exe Application Error

Lately one of my critical servers (acting like), keep showing this error:

Symptoms:

The instruction at "0x6f8916e2"referenced memory at "0x02c3005c". The memory could not be "written".

Click on OK to terminate the program
Click on CANCEL to debug the program

OK will hang the server till force the restart.
CANCEL will shutdown major services like computer browser, server, ..etc

After googling and digging the internet i find nothing related to this error particularly i got some tips regarding the memory slot, do some update to windows install hotfixs ... etc.

Nothing worked for me, I did small search in the computer and i reached to malfunctioned svchost it was the one responsible about BITS, Browser,WUAUserv and the mentioned earlier.

The solution:
  • Stop windows Update service from service console (services.msc).
  • register the windows update service dll files with the following command:
regsrv32 WUAPI.DLL\WUAUENG.DLL\WUAUENG1.DLL\ATL.DLL\WUCLTUI.DLL\WUPS.DLL\WUPS2.DLL\WUWEB.DLL

wait until you get the "DllRegisterServer in xxxx.DLL succeeded" after each file.
  • Rename the software distribution folder located under "%windir%\SoftwareDistribution"
  • Start your windows update service as step 1.
  • Reboot your windows.
Since that i didn't face it again.

How i figured out it was the update service who is causing this error, during the investigating i found that server never got any update from my WSUS it was always failing.

I belive this error may accure with diffirent numbers but it could be the same cause.



Post a Comment