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. Database & SysAdmin
  3. System Admin
  4. running windows services on Win2003 Server

running windows services on Win2003 Server

Scheduled Pinned Locked Moved System Admin
questionsysadmin
2 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.
  • M Offline
    M Offline
    Matthew Bache
    wrote on last edited by
    #1

    A client has recently upgraded from Windows 2000 Server (on single processor) to Windows 2003 Server (on dual processor). A windows service that I had written worked fine on 2000, but since the upgrade the service has been hanging and crashing. I cannot figure out why. The service in question is a simple thing: it polls a directory regularly and if it finds the file it is looking for then it system calls a bat file to process the file. The bat file process is simple also and takes ~ 1 second to run. On Win2003 Server, the service hangs at the point of calling the bat file. Any suggestions? Is Win2003 inherently different to Win2000 in the way it runs services? Does the dual processor cause any issues? Matt Bache

    L 1 Reply Last reply
    0
    • M Matthew Bache

      A client has recently upgraded from Windows 2000 Server (on single processor) to Windows 2003 Server (on dual processor). A windows service that I had written worked fine on 2000, but since the upgrade the service has been hanging and crashing. I cannot figure out why. The service in question is a simple thing: it polls a directory regularly and if it finds the file it is looking for then it system calls a bat file to process the file. The bat file process is simple also and takes ~ 1 second to run. On Win2003 Server, the service hangs at the point of calling the bat file. Any suggestions? Is Win2003 inherently different to Win2000 in the way it runs services? Does the dual processor cause any issues? Matt Bache

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Matt Bache wrote:

      A client has recently upgraded from Windows 2000 Server (on single processor) to Windows 2003 Server (on dual processor). A windows service that I had written worked fine on 2000, but since the upgrade the service has been hanging and crashing. I cannot figure out why. The service in question is a simple thing: it polls a directory regularly and if it finds the file it is looking for then it system calls a bat file to process the file. The bat file process is simple also and takes ~ 1 second to run. On Win2003 Server, the service hangs at the point of calling the bat file. Any suggestions? Is Win2003 inherently different to Win2000 in the way it runs services? Does the dual processor cause any issues?

      In my opinion, you should use Event viewer to check the status of your system and what is the cause of the problem that cause your service could not run properly.

      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