Programatically Re-starting the web server

S

Steve Caliendo

Hi,

I would like to know if it is possible to re-start the web server from
within asp.net. Maybe a DLL could kill the aspnet_wp ?

Thanks,

Steve
 
A

Alvin Bruney [MVP]

I'm not sure if you there is a namespace for it, but you can always shell
out from your code to a dos prompt and call iisreset assuming you have the
relevant permissions and your environment variables are appropriately set.
 

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top