PDA

View Full Version : Error 1053



aamer4yu
16th May 2008, 05:28
Hi All,
I have stuck at a problem in starting services.
I have an application and had installed it as a service. It gets installed, but when I try to start it from the Admin Tools->Services, I get the following error -

"Error 1053: The service did not respond to the start or control request in a timely fashion".
I dont get this problem on a collegues computer.

I have searched the net and none of the methods mentioned worked for me. I am not sure if its right to post such prob here. But I coudnt think of something better. I know a lot of experts are here.

FYI :-
1) I had installed the service with my account which has Admin rights.
2) The system is Windows XP SP2
3) .NET FrameWork 2.0 Service Pack 1 is installed.

I had looked for the following solutions till now -
1) Upgrade .NET framework to 1.1 ( I have 2.0 with SP1)
2) Clear application log
3) Set SchedLgU.Txt to write mode if its Read Only.
4) Make release version of the service and tried
5) Also set check on "Allow Interaction with Desktop" in the log On column


Anybody have solution to this prob ?? :( I never took so much time to solve a issue :D

Regards
Aamer

aamer4yu
20th May 2008, 08:36
Hi All,,,
The problem got solved. This was because some of the dlls were missing from the application directory.
The dlls / other files required by the service should be present in the directory where the service is present.
This happens because of the following reason -
Services run under .\LocalSystem account which is not same as the Current User account. Hence the service is not able to find files in standard paths.

Hope this solution might help someone else too.... it ate my brain too much.
:crying: