
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