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. General Programming
  3. C#
  4. Windows service

Windows service

Scheduled Pinned Locked Moved C#
csharpvisual-studiohelpquestion
4 Posts 3 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.
  • S Offline
    S Offline
    scharnier
    wrote on last edited by
    #1

    Hi, I have created a windows service (in vs.net 2005 for windows 2000 pro) and set the startup type to automatic. But when I reboot my computer, I have to restart the service manually. Does somebody know what the problem is here??? Thanx

    J M S 3 Replies Last reply
    0
    • S scharnier

      Hi, I have created a windows service (in vs.net 2005 for windows 2000 pro) and set the startup type to automatic. But when I reboot my computer, I have to restart the service manually. Does somebody know what the problem is here??? Thanx

      J Offline
      J Offline
      Jonathan van de Veen
      wrote on last edited by
      #2

      Could this be a setting in one of the standard service objects?

      1 Reply Last reply
      0
      • S scharnier

        Hi, I have created a windows service (in vs.net 2005 for windows 2000 pro) and set the startup type to automatic. But when I reboot my computer, I have to restart the service manually. Does somebody know what the problem is here??? Thanx

        M Offline
        M Offline
        mav northwind
        wrote on last edited by
        #3

        Hi! Must have something to do with your code, for example: Your service _is_ being started automatically, but shuts down afterwards. But without code it's impossible to say...

        Regards, mav -- Black holes are the places where God divided by 0...

        1 Reply Last reply
        0
        • S scharnier

          Hi, I have created a windows service (in vs.net 2005 for windows 2000 pro) and set the startup type to automatic. But when I reboot my computer, I have to restart the service manually. Does somebody know what the problem is here??? Thanx

          S Offline
          S Offline
          scharnier
          wrote on last edited by
          #4

          Thanks to everyone for looking at my problem, but I found a solution. Because my computer is not one of the fastest, I had to set the ServicesPipeTimeout to 60000 (standard value 30000) and create a dependency on the Eventlog service for my windows service. Thanx! Tom

          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