Page 1 of 1

taking time to start profiling

Posted: Mon Jun 09, 2008 9:36 am
by nilesh.tantarpale
trial version :- service is taking time to start profiling.
message "Starting Session , please wait......Waiting for profiled process to start"

platform :- windows xp sp2 , VS 2005 (team edition) ,VC++
database :- oracle xe 10g

solution tried :- .net profiler installed as an administrator access.

thanks in advance.

Posted: Mon Jun 09, 2008 7:37 pm
by Andreas Suurkuusk
You mention that you have a VC++ service. Is this a managed C++ application or a mixed mode application? The "Waiting for profiled process to start" message will not disappear until the .NET runtime has been loaded (by running managed .NET code) and the profiler library has been loaded by the runtime. If the runtime fails to load the profiler library it might add an event in the Event log. Do you see any error messages in the Application event log?

Also, if more than one service is running in the same process, the profiler will also fail to connect to the service unless all services are restarted. The profiler will restart all dependent services, but if you have other services in the process you will need to manually stop them.

Re: taking time to start profiling

Posted: Fri Jul 22, 2011 11:25 am
by kLvin72
I have the same problem. This service is only C + +, and has not more services in the same process. Is there any way to get to launch the profiler?