The service did not respond to the start or control request in a t

  • Thread starter Thread starter mahadev.1984
  • Start date Start date
M

mahadev.1984

Hi All,
I got a very strange problem. I have a service(Windows service
specific to our product) getting installed as part of our product
installation. We are using InstallShield 12. And the custom service is
configured using "NT Services 4.00" Merge Module. All the properties of the
service are properly defined. I tried installing the product on Windows XP
and Window 2003 and that is successful.
When I tried to install the product on Windows 2000 machine, I got
the error "The service did not respond to the start or control request in a
timely fashion " as the service trys to start automatically as part of
installation. I went through many of the websites and found no relevant
reference for this problem. This is my last resort.
On Windows 2000, we don't have sc.exe available. So I got it from
Windows 2003 and manually configures the service on Windows 2000 machine.
Still it failed.
There is no limitation over the OS version, with in the service's code.
The mergemodule used is supported on Win 2000...even on Win NT.
:( Please help me in this regard. Do Win 2000 is having any limitation or
constraint in the services regard ?

Please Please Please ......provide a solution. I have rest of all the doors
closed.

Regards,
Mahadev
 
Thank You...Dave. I went through the links you sent and they are helpful

I finally able to find out the culprit. Though the reason seems to be some
what weird. On Windows 2000, After creating the my custom service , some
delay should be there. Creating Service, Starting the service and Finding
Status of Service ...all these operations need some delay in between.

May be this delay is very much specific to my custom Windows service. It may
not be needed for all other services. But this minute thing needs to be taken
care.

Regards,
Mahadev.

Dave Patrick said:
After you try starting you might use sc.exe to query the error code.

An example try;
sc query "service name"

to see what win32 exit code is generated.

These may help if you haven't seen them.

http://support.microsoft.com/kb/839174
http://www.google.com/search?q=serv...ashion+site:microsoft.com&hl=en&start=20&sa=N



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


mahadev.1984 said:
Hi All,
I got a very strange problem. I have a service(Windows service
specific to our product) getting installed as part of our product
installation. We are using InstallShield 12. And the custom service is
configured using "NT Services 4.00" Merge Module. All the properties of
the
service are properly defined. I tried installing the product on Windows XP
and Window 2003 and that is successful.
When I tried to install the product on Windows 2000 machine, I
got
the error "The service did not respond to the start or control request in
a
timely fashion " as the service trys to start automatically as part of
installation. I went through many of the websites and found no relevant
reference for this problem. This is my last resort.
On Windows 2000, we don't have sc.exe available. So I got it from
Windows 2003 and manually configures the service on Windows 2000 machine.
Still it failed.
There is no limitation over the OS version, with in the service's code.
The mergemodule used is supported on Win 2000...even on Win NT.
:( Please help me in this regard. Do Win 2000 is having any limitation or
constraint in the services regard ?

Please Please Please ......provide a solution. I have rest of all the
doors
closed.

Regards,
Mahadev
 
Back
Top