Solved

stopping W3 service in IIS4

Posted on 1998-09-28
3
456 Views
Last Modified: 2013-12-25
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
Comment
Question by:chekhov
3 Comments
 

Author Comment

by:chekhov
ID: 1855298
Adjusted points to 400
0
 
LVL 28

Accepted Solution

by:
sybe earned 400 total points
ID: 1855299
to stop, type on the command prompt:
stop W3Svc

and to start:

start W3Svc
0
 
LVL 1

Expert Comment

by:quekky
ID: 1855300
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

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question