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. Visual Basic
  4. Windows service Error:1053

Windows service Error:1053

Scheduled Pinned Locked Moved Visual Basic
helpcsharp
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.
  • S Offline
    S Offline
    samsonx
    wrote on last edited by
    #1

    Hi, I am new to this vb.net, my problem is i have created the windows service in vb.net c#. I deployed it in my system when i am try to start that service it showing the error as Error:1053 could not start the service on Local system The service didnot respond to the start ro control request in a timely fashion I have tried to resolve it, but i could not... Please help me to solve this problem. Thanks in advance.

    With Regards, Samson

    D 1 Reply Last reply
    0
    • S samsonx

      Hi, I am new to this vb.net, my problem is i have created the windows service in vb.net c#. I deployed it in my system when i am try to start that service it showing the error as Error:1053 could not start the service on Local system The service didnot respond to the start ro control request in a timely fashion I have tried to resolve it, but i could not... Please help me to solve this problem. Thanks in advance.

      With Regards, Samson

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Does the deployment machine have the correct .NET Framework installed on it?? In the OnStart method of your service, did you create an instance of your worker class on a seperate thread?? You don't just put all of your code in OnStart and never let that method return. This is exactly the error you get when you do this. Your worker code should be running under it's own thread, that you create in the OnStart event of your service.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      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