Cant restart web services more than once with command: net start w3svc 
Author Message
 Cant restart web services more than once with command: net start w3svc

Biggger and better:  someone here once helped me by showing that if you
encapsulate the DLL into a transaction in transaction server, you'll fix the
problem of updating DLLs.  It's great because you can even FTP new DLLs to
the server after the transaction times out.   Test something via FTPing the
DLL, and then moments later you can FTP a new copy of the DLL if you wish.
It works great.  You might find me asking about updating DLLs via FTP in
dejanews.com and there you'll find the exact code you'll need to put into
your VB and what you'll want to do with Transaction Server.

Sorry, this doesn't help your net stop and net start, but it addresses the
bigger problem.


Quote:
> Hi

> I want to restart my IIS web services with the commands

> net stop iisadmin /y  (for stop)

> ...and

> net start w3svc  (for start)

> Thats because this will cure the problem I had earlier on with updating
> DLL-files. The problem is that when I have restarted the web services one
> (sometimes twice) I cant restart the services again using the command:
> net start w3svc

> When I have stopped the services and issuing the command net start w3svc
> nothing happens. I just get a black command window that is doing
absolutely
> nothing. The only way to make the services running again is to restart NT
> server. Does anyone have any suggestions why this happen??? In that
> case...please reply

> Best regards
> Jonas



Thu, 17 Jan 2002 03:00:00 GMT  
 Cant restart web services more than once with command: net start w3svc
Hi

I want to restart my IIS web services with the commands

net stop iisadmin /y  (for stop)

...and

net start w3svc  (for start)

Thats because this will cure the problem I had earlier on with updating
DLL-files. The problem is that when I have restarted the web services one
(sometimes twice) I cant restart the services again using the command:
net start w3svc

When I have stopped the services and issuing the command net start w3svc
nothing happens. I just get a black command window that is doing absolutely
nothing. The only way to make the services running again is to restart NT
server. Does anyone have any suggestions why this happen??? In that
case...please reply

Best regards
Jonas



Fri, 18 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Windows Service in VB.NET - Failed to process service command

2. Using WMI to obtain dependent services (restarting services and all dependent services)

3. how can i use net stop / net start for a server service from my local app

4. web service and updating web reference with vb.net design time vs run time

5. web service and updating web reference with vb.net design time vs run time

6. Problems Starting Windows Service From Web Application...

7. web sites start charging for services

8. VB.Net Service Qustion: Detecting Program Start/Stop

9. Problem starting a VB.NET Service Application

10. Error starting VB.NET Service Application

11. Web Service and Command Line (Shell)

12. communicate data from web service vb.net

 

 
Powered by phpBB® Forum Software