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
  1. Home
  2. General Programming
  3. C#
  4. Windows service cannot able to start

Windows service cannot able to start

Scheduled Pinned Locked Moved C#
helptutorialvisual-studioperformance
3 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
    sekannak
    wrote on last edited by
    #1

    Hi, I created windows service applcation in vs 2005. And registed the application sucessfully. The problem is i cannot able to start up the serice, while doing this am facing problem , which is as follows, Note: "service on local computer started and then stopped. some services stop automatically if they have no work to da, for example , the performance log and alerts logs" So how to resolve this error from my end. Please can u clear me this problem. regards, kannak.........

    kannak

    OriginalGriffO P 2 Replies Last reply
    0
    • S sekannak

      Hi, I created windows service applcation in vs 2005. And registed the application sucessfully. The problem is i cannot able to start up the serice, while doing this am facing problem , which is as follows, Note: "service on local computer started and then stopped. some services stop automatically if they have no work to da, for example , the performance log and alerts logs" So how to resolve this error from my end. Please can u clear me this problem. regards, kannak.........

      kannak

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      No chance without better information. I know it is difficult to post relevant code fragments for a problem like this, but without something more it could be anything! Have you tried logging activity in the service so you can see what it thinks it is doing?

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • S sekannak

        Hi, I created windows service applcation in vs 2005. And registed the application sucessfully. The problem is i cannot able to start up the serice, while doing this am facing problem , which is as follows, Note: "service on local computer started and then stopped. some services stop automatically if they have no work to da, for example , the performance log and alerts logs" So how to resolve this error from my end. Please can u clear me this problem. regards, kannak.........

        kannak

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        We'd need to see the code.

        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