473,320 Members | 1,848 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,320 software developers and data experts.

.NET C# service error 1053, service could not start in timely fash

3dr
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 message on one server.

I have reduced the code to almost nothing so as to remove almost all the
proper code.

My main function looks like this

static void Main()
{
System.ServiceProcess.ServiceBase[] ServicesToRun;
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new
TigerPrintService() };
System.ServiceProcess.ServiceBase.Run(ServicesToRu n);
}

My OnStart() is blank at the moment.

My TigerPrintService() constructor is currently empty also.

I can install the service but when I go to the service manager to start it I
get the 1053 error.

And since my OnStart() method is now empty I am at a loss as to what might
be causing this problem. As it seems to me it cannot be to do with
permisions.

By the way when I install the service I am currently doing so using the
local system login.

Many thanks for any thoughts or suggestions as to what might be causing this
problem.

--
Many thanks
Derek

de***@3dresourcing.com.au
Nov 18 '05 #1
2 3600
Hi,

check this thread.

http://groups.google.co.in/groups?hl...ublic.dotnet.*

Thanks
Raghavendra

"3dr" <de***@3dresourcing.com.au> wrote in message
news:41**********************************@microsof t.com...
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 message on one server.

I have reduced the code to almost nothing so as to remove almost all the
proper code.

My main function looks like this

static void Main()
{
System.ServiceProcess.ServiceBase[] ServicesToRun;
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new
TigerPrintService() };
System.ServiceProcess.ServiceBase.Run(ServicesToRu n);
}

My OnStart() is blank at the moment.

My TigerPrintService() constructor is currently empty also.

I can install the service but when I go to the service manager to start it I get the 1053 error.

And since my OnStart() method is now empty I am at a loss as to what might
be causing this problem. As it seems to me it cannot be to do with
permisions.

By the way when I install the service I am currently doing so using the
local system login.

Many thanks for any thoughts or suggestions as to what might be causing this problem.

--
Many thanks
Derek

de***@3dresourcing.com.au

Nov 18 '05 #2
Hi Raghavendra,

Any progress on this issue or have you resolved it? If you have any other
problems, please feel free to post here or in the C# or other service
related newsgroups. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #3

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

Similar topics

0
by: Eddy | last post by:
Hi, I have a previously working system (NT4 and sp6a with .net 1.1) that had a Service installed , everything worked ok , I installed 822925 and the Service now fails to start! , if I uninstall...
8
by: matt breedlove | last post by:
(x-posted to microsoft.public.dotnet.general and microsoft.public.dotnet.languages.vb) Hello all. I am currently creating a Windows Service using VB.NET and would like to return an error if...
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...
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...
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...
2
by: NitinSawant | last post by:
Dear sir, I've installed SQL Server 2008 on my machine running on Win XP SP3 I changed startup type of sql server from 'Automatic' to 'manual' from the "SQL Server Configuration Manager", when...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.