Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • Last Modified:

stopping W3 service in IIS4

I'm using NT4 w/SP3, IIS 4. I'm developing some ASP pages, which make calls to a DLL. Previously when I was using IIS 3, when I needed to recompile the DLL, I would go to Internet Service Manager, stop the WWW service, recompile the DLL, and then Start the WWW service again. If I didn't stop the WWW service it would give me an error "Permission denied. File sharing violation" when I tried to recompile the DLL (I create the DLL with VB4).

Now that I upgraded to IIS4, this doesn't work anymore. If I stop the WWW service, I still can't recompile the DLL, it still gives me the error message "Permission denied. File sharing violation"

This seems like a bug to me, so I tried removing and reinstalling IIS4, it still doesn't work.

The way I'm stopping the WWW service is by going to Microsoft Management Console (version 1.0), right-clicking on the Web Site name, and selecting Stop.

So there is no way that I can recompile a DLL, except by rebooting the machine, not too convenient.

Any suggestions?
0
chekhov
Asked:
chekhov
1 Solution
 
chekhovAuthor Commented:
Adjusted points to 400
0
 
sybeCommented:
to stop, type on the command prompt:
stop W3Svc

and to start:

start W3Svc
0
 
quekkyCommented:
u forget the net program
"net stop w3svc" to stop
"net start w3svc" to start
also u can go to services in control panel to stop/start/status of web service
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now