Forum Discussion

pete_weilnau's avatar
Occasional Visitor
11 years ago

Trouble profiling a .NET Service because of timeout

I am using AQtime 7.30. When attempting to profile a .NET based Windows service, I get the following message: Restart service error: The service ... did not respond to control request in a timely fashion.

The service does take about 20 seconds to shutdown and about 20 seconds to start. The error above occurs in less than 30 seconds.

The manual says AQTime can't handle a service that takes longer than 60 seconds to start, but this one is well within that range.

What do I do?

1 Reply

  • TanyaYatskovska's avatar
    SmartBear Alumni (Retired)

    Hi Pete,


    Have you tried increasing the system’s default timeout to make AQtime wait for the service a bit longer? The steps are listed here:


    1. Open the Registry editor.


    2. Add a new value of the DWORD type to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control key.


    3. Name the value ServicesPipeTimeout. The value data specifies the number of seconds the Service Control Manager should wait for the service response during the service startup.



    If it doesn't help, I suggest that you contact our AQtime Customer Care team.