Click here to Skip to main content
15,886,720 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how kill process of iis when i close webpage ?
Posted

You can't. IIS is a web server and remains active. Otherwise you couldn't have reached the webpage in the first place.

Good luck1
 
Share this answer
 
Comments
snicee 17-Oct-14 5:53am    
ok so iis still process and process and if iis is hanging can reset by itself like ?
i know iisreset ok is reset iis but i want iis check it self and if not response to any page that when rest it self automatically.

maybe my code has problem that sometimes i need resetiis ...
please help me
E.F. Nijboer 17-Oct-14 8:49am    
There are monitoring options in IIS (http://technet.microsoft.com/en-us/library/cc725918%28v=ws.10%29.aspx) but another option would be a load balancer (http://technet.microsoft.com/en-us/library/cc725691.aspx). The loadbalancer can monitor failed requests and uses heartbeats to check if the server is still up and running. It might be an idea to check it out.
snicee 17-Oct-14 9:09am    
thanks
but i use iis locally and run my webapplication in local network
how must i do with no internet now?
E.F. Nijboer 17-Oct-14 10:30am    
For local use AppCmd might be usefull for you:
http://technet.microsoft.com/nl-nl/library/cc772200%28v=ws.10%29.aspx
I don't think there is a kill process for IIS. There is Start, Stop and Restart processes for IIS.
See the link: http://technet.microsoft.com/en-us/library/jj635851.aspx[^]
 
Share this answer
 
Comments
snicee 17-Oct-14 8:14am    
thanks
but it's not helpfull
iSahilSharma 17-Oct-14 8:39am    
Could you elaborate your problem in detail so that I can help you?
snicee 18-Oct-14 16:35pm    
i want iis check page activity and if page not response reset it's self automatically
my project some times hanging and i must reset iis with iisreset from run in my server and i can create windows service to check every 5 second to check my webapplication activities and if not reset iis with iisreset but
i want to know iis has this ability to reset it's self or not?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900