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. Problems starting a WindowsService on win2k Server.

Problems starting a WindowsService on win2k Server.

Scheduled Pinned Locked Moved C#
csharpsysadminhelpquestion
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.
  • K Offline
    K Offline
    Knappen
    wrote on last edited by
    #1

    Hello I have a Windows Service developed in C#. On startup it gets a Instance of a simple Gatewayobject. And make it available on the TCP port 13101. On a WinXP Professional maschine there are no problems starting it but on win2k it only starts in 2 out of 10 times. I have a WindowsForm app that do the same thing as the WindowsService and there are never a problem with that app on win2k or winXP. What can be the problem?:confused:

    H 1 Reply Last reply
    0
    • K Knappen

      Hello I have a Windows Service developed in C#. On startup it gets a Instance of a simple Gatewayobject. And make it available on the TCP port 13101. On a WinXP Professional maschine there are no problems starting it but on win2k it only starts in 2 out of 10 times. I have a WindowsForm app that do the same thing as the WindowsService and there are never a problem with that app on win2k or winXP. What can be the problem?:confused:

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Do you get any exceptions? Also try setting AutoLog to true and check the event logs for any errors that might have occured. Without knowing what the Gatewayobject is and what it attempts to do, I can't really offer you anything more than that.

      Microsoft MVP, Visual C# My Articles

      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