473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Error 1053 when making a service

DeV
Hi,

I'm running into a problem which I cannot seem to get solved. When I
make my own service I have the following code:

Protected Overrides Sub OnStart(ByVal args() As String)
Dim t As New System.Threading.Thread(New
System.Threading.ThreadStart(AddressOf Worker.DoWork))
t.Start()
End Sub

Protected Overrides Sub OnStop()
Worker.StopWork()
End Sub

I have a Worker class which tells the application what to do, both
stop and dowork are empty at the moment. When I rightclick the
service and select Start in the service it immediatly throws the 1053
error. I have an empty Shared Sub Main() too, which it wants to have
because else it won't compile at all. I think it might have something
to do with me renaming a classname, but I have no clue what it is.

Hope someone can help,

-DeV

Jun 5 '07 #1
0 1210

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: 3dr | last post by:
I am developing a service which I install and run on a number of servers. It works on most machines I have installed it on, but I always get a 1053, service will not start in a timely fashion...
1
by: mtc | last post by:
I'm able to install and run a service I built on two machines - the one I built it on and another that has visual studio installed. I've installed it without problems on 3 other machines that...
6
by: Ashwin Kambli | last post by:
Hi, I am trying to write a Windows Service application using C#. I wrote a very trivial example (logs messages during Start and Stop events to the evenlog). I have no problem installing it (using...
5
by: Richard Steele | last post by:
I have created a WinForm application that needs to be run as a windows service (the PC is inaccesible by any user) i have successfully installed the application as a windows service. When i start...
2
by: 3dr | last post by:
I am developing a service which I install and run on a number of servers. It works on most machines I have installed it on, but I always get a 1053, service will not start in a timely fashion...
0
by: niclarke | last post by:
I have created a windows service based on a walkthrough in the MSDN library (ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_radcon/html/e24d8a3d-edc6-485c-b6e0-5672d91fb607.htm - ...
1
by: magnus.s.olsson | last post by:
I have got a Windows Service application from a customer that I try to start. The customer can start it with no problem, but when I try to start it I get: "Could not start the GateWay service on...
0
by: daniel kumar | last post by:
Hi this is Daniel Kumar, I installed oracle apps11i in my system on windows enterprise 2003 edition about one week back, at that time it working properly. today when i start my computer...
7
by: =?Utf-8?B?Sm9obi5ORVQ=?= | last post by:
Hi I have written a windows service in C# / .NET I have installed it and it's working fine on a couple boxes but on my XP box I get this error when I try to start it: Error 1053: The service did...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.