Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Restarting a Web Service without restating the IIS

Restarting a Web Service without restating the IIS

Scheduled Pinned Locked Moved Web Development
questionasp-netwcfwindows-admin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gilad Kapelushnik
    wrote on last edited by
    #1

    Hi Is there a way to restart a single Web Service without restarting the whole IIS ? At the moment the way this is done by manualy killing the process aspnet_wp.exe. By killing aspnet_wp.exe the webservices are restarted, is there are way to restart a single webservice even if there are other web services running under the same aspnet_wp.exe ? How do I run a webservice under it own aspnet_wp.exe ? Thanks Gilad.

    G 1 Reply Last reply
    0
    • G Gilad Kapelushnik

      Hi Is there a way to restart a single Web Service without restarting the whole IIS ? At the moment the way this is done by manualy killing the process aspnet_wp.exe. By killing aspnet_wp.exe the webservices are restarted, is there are way to restart a single webservice even if there are other web services running under the same aspnet_wp.exe ? How do I run a webservice under it own aspnet_wp.exe ? Thanks Gilad.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Why do you want to restart it? If you don't want to restart the process, what is it that you want to restart, really?

      GiladKapel wrote:

      How do I run a webservice under it own aspnet_wp.exe ?

      That depends a bit on what version of IIS you are using. Basically, though, you just set the application to run as an isolated process, e.g. setting the application protection level to the highest setting. --- b { font-weight: normal; }

      G 1 Reply Last reply
      0
      • G Guffa

        Why do you want to restart it? If you don't want to restart the process, what is it that you want to restart, really?

        GiladKapel wrote:

        How do I run a webservice under it own aspnet_wp.exe ?

        That depends a bit on what version of IIS you are using. Basically, though, you just set the application to run as an isolated process, e.g. setting the application protection level to the highest setting. --- b { font-weight: normal; }

        G Offline
        G Offline
        Gilad Kapelushnik
        wrote on last edited by
        #3

        Guffa wrote:

        Why do you want to restart it? If you don't want to restart the process, what is it that you want to restart, really?

        Other than the web service I'm also running a "Watch Dog" service that monitors the web service and restarts it if the web service failes to replay\function for any unknown reason. I need the watch dog service to progrematicly restart the service. The watch dog is a very simple app and its chances of failing are very low. Gilad.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups