Having trouble performance profiling a windows service app
Gonzo
Posts: 2
Hello all,
I am running windows XP sp3 with 3 gigs of ram and 3.0 ghz processor. The app is written in VS2005 on the 2.0 framework. It seems to be some kind of resource issue or conflict even though I have plenty of resources available. I have 4 other applications open and if I close some of them then it will work. I still have plenty of resources available even with the 4 other apps open at the same time. (Outlook, VS2005, IE, and EXTRA!). I would paste and image to show you my task manager, but I don't know how. It is stil showing 1.7 gigs of available memory and processor at 9%.
Any help would be greatly appreciated, because I need the other 4 apps running while I am trying to profile.
Here is the error message that I get:
Could not start the service 'Grange SocketServer'
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at bu.Launch()
at RedGate.Profiler.Session.ProfilerSession.h()
Caused by:
Cannot start service Grange SocketServer on computer '.'.
System.InvalidOperationException
at System.ServiceProcess.ServiceController.Start(String[] args)
at bu.Launch()
Caused by:
The service did not respond to the start or control request in a timely fashion
System.ComponentModel.Win32Exception
[img][/img]
I am running windows XP sp3 with 3 gigs of ram and 3.0 ghz processor. The app is written in VS2005 on the 2.0 framework. It seems to be some kind of resource issue or conflict even though I have plenty of resources available. I have 4 other applications open and if I close some of them then it will work. I still have plenty of resources available even with the 4 other apps open at the same time. (Outlook, VS2005, IE, and EXTRA!). I would paste and image to show you my task manager, but I don't know how. It is stil showing 1.7 gigs of available memory and processor at 9%.
Any help would be greatly appreciated, because I need the other 4 apps running while I am trying to profile.
Here is the error message that I get:
Could not start the service 'Grange SocketServer'
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at bu.Launch()
at RedGate.Profiler.Session.ProfilerSession.h()
Caused by:
Cannot start service Grange SocketServer on computer '.'.
System.InvalidOperationException
at System.ServiceProcess.ServiceController.Start(String[] args)
at bu.Launch()
Caused by:
The service did not respond to the start or control request in a timely fashion
System.ComponentModel.Win32Exception
[img][/img]
Comments
You could try starting the profiler in its lowest overhead mode as this may reduce the time it takes for the service to start and allow profiling to continue although there won't be line level timings.
Select the option: Method Level Timings (only methods with source code)
from the project setup dialog and try profiling again.
Let me know how you get on,
Thanks,
Stephen