Thursday, May 1, 2008

iisreset error

When I started my new job I ran into an issue with running iisreset on Windows XP SP2. If I tried to run iisreset I would get a message saying "class not registered". I was able to get it fixed after searching for a while. This was a few months ago, and today a coworker ran into the same error. It took me a while to find the solution again but this is how we fixed it:

Run each of the following in a command window:
1. regsvr32 c:\windows\system32\atl.dll
2. regsvr32 c:\windows\system32\inetsrv\appconf.dll
3. c:\windows\system32\inetsrv\iisrstas /RegServer


Nazreen Hassan said...

I've been Googling for the past 4 hours to try and fix this and your fix is the only oe that worked!

Thank you!!