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. .NET (Core and Framework)
  4. Windows service error [modified]

Windows service error [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpsysadminquestion
5 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
    sonalee2304
    wrote on last edited by
    #1

    Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.

    modified on Thursday, December 2, 2010 7:35 AM

    K A 2 Replies Last reply
    0
    • S sonalee2304

      Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.

      modified on Thursday, December 2, 2010 7:35 AM

      K Offline
      K Offline
      kadaoui el mehdi
      wrote on last edited by
      #2

      Hi, which version of .Net did you develop the Windows Service ? is the same version is installed on Win Server 2008 ?

      1 Reply Last reply
      0
      • S sonalee2304

        Hi, There is a windows service created and I am trying to start the service from service manager. I am getting an error stating that the service stopped unexpectedly after start. This is happening in Win Server 2008.Prior to that service worked fine in Server 2003. Any ideas? Please help. Thanks in advance.

        modified on Thursday, December 2, 2010 7:35 AM

        A Offline
        A Offline
        Ankur m
        wrote on last edited by
        #3

        Do you have error/exception logging implemented in your service? If yes check the logs. I would also suggest you to check the event log for related entry. In most cases, the error will be logged here. You can navigate to event log in Win 2008 Server by clicking Start->Programs->Administrative Tools->Event Viewer. Check entries in Windows Application Log. If you still don't find the problem, the last option will be debugging the service which won't be required if you have proper exception/error logging in your service. Let me know if that helps.

        ..Go Green..

        S 1 Reply Last reply
        0
        • A Ankur m

          Do you have error/exception logging implemented in your service? If yes check the logs. I would also suggest you to check the event log for related entry. In most cases, the error will be logged here. You can navigate to event log in Win 2008 Server by clicking Start->Programs->Administrative Tools->Event Viewer. Check entries in Windows Application Log. If you still don't find the problem, the last option will be debugging the service which won't be required if you have proper exception/error logging in your service. Let me know if that helps.

          ..Go Green..

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

          It was developed in .Net 3.5. I did check the log entries in event viewer and resolved the issue. Thanks. :)

          A 1 Reply Last reply
          0
          • S sonalee2304

            It was developed in .Net 3.5. I did check the log entries in event viewer and resolved the issue. Thanks. :)

            A Offline
            A Offline
            Ankur m
            wrote on last edited by
            #5

            I am glad that it helped you. :)

            ..Go Green..

            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