Cannot stop IIS services

We have a Win2K server where we cannot stop the "World Wide Web Publishing Service" (IIS). It's been this way since I started working here, so I can't pinpoint anything that was done to cause it. The box is fully patched.

When you try and stop the service, it goes into the "stopping" status and just hangs. The only way to bring it back is to restart the box.

Any idea what could cause this?
jebsilverAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sreeraoCommented:
Hi Jebsilver,
Can you go into the services and see if there are any "Dependencies" for this service? If someone has configured it that way, it might be waiting for the other services to stop.
Also, you can use Processexplorer from http://www.sysinternals.com/Utilities/ProcessExplorer.html to kill the process. It will give you a good view of what is causing it to freeze up!

-Sree
jebsilverAuthor Commented:
It depends on IIS Admin, and STMP depends on W3SVC.

This is on a production server, so I'll try to kill it this weekend. What should I be looking for in procexp to tell me? Will it highlight what is causing the hang?
meverestCommented:
are there any isapi filters on any of the web sites?  sometimes these things can crash if they don't shut down properly and cause IIS to get stuck on stopping.

Cheers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

r-kCommented:
How are you trying to stop IIS?

Try to use IISRESET instead:

 http://support.microsoft.com/default.aspx?scid=kb;en-us;202013

nurbekCommented:
you may try with command promt

net stop w3svc
net stop iisadmin

net start w3svc
net start iisadmin
Dave_DietzCommented:
A likely cause is a hung thread in the W3SVC service.

When you try to stop the IISADMIN service it asks the other services it hosts to shut down.

If there is a hung ASP thread or, as meverest suggested, a problematic ISAPI filter or extension the services may not stop properly.

Best way to handle this is tao capture a hang dump of the IIS processes and see what's hung.

Dave Dietz
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.