Command line recycling of aspnet.

  • Thread starter Thread starter DP
  • Start date Start date
D

DP

Hello. I'm looking for some way of automatically
restarting asp.net (aspnet_wp.exe) from a command line or
simple program.

Thank you!
 
search groups.google.com for ".vbs kill application" or ".vbs terminate process"

you can make a vbs script that will do it with just a click then
 
DP said:
Hello. I'm looking for some way of automatically
restarting asp.net (aspnet_wp.exe) from a command line or
simple program.


You can do
NET STOP servicename
NET START servicename

So, to stop and start IIS use,
NET STOP "World Wide Web Publishing Service"
NET START "World Wide Web Publishing Service"

-- Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top