Debug Windows Service

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply

Debug Windows Service

Post by randyshoopman » Tue Aug 23, 2011 1:14 am

I keep getting the following Event Log error when trying to debug a windows service. The service is successfully started but the the "Waiting for profiled process to start" never returns.

.NET Runtime version 4.0.30319.235 - Loading profiler failed. COR_ENABLE_PROFILING was set properly, but COR_PROFILER was not. COR_PROFILER must be set to the CLSID of the profiler to load. Process ID (decimal): 4568. Message ID: [0x2500].

The registry Environment value for the service is:



(Default)=C:\Program Files\SciTech\NetMemProfiler4\64Bit\ProfilerCallback.dll

The service is written in .net 4. Any ideas why it won't work?

Andreas Suurkuusk
Posts: 1030
Joined: Wed Mar 02, 2005 7:53 pm

Re: Debug Windows Service

Post by Andreas Suurkuusk » Tue Aug 23, 2011 9:00 pm

Thanks for reporting this problem. It appears like we have introduced a bug related to service profiling when fixing another one in NmpCore. We have managed to reproduce the problem, and we will try to fix it as soon as possible. Hopefully a fix will be available by tomorrow.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 14 guests