ANTS Profiler

Latest version: 4.3

ANTS Profiler

Knowledge Base

Unable to coCreate Profiler error profiling any application

Category: Troubleshooting & error messages
Date: 28 Dec 2009
Product: ANTS Profiler
Versions: 5.1,5.2

When profiling a managed .NET application, the following error may appear in the application event log:
NET Runtime version 2.0.50727.4005 - Failed to CoCreate profiler.

Followed by an error similar to this in the System log:

Generate Activation Context failed for C:\Program Files\Red Gate\ANTS Performance Profiler 5\ProfilerCore.dll. Reference error message: The operation completed successfully.

In order to rule out other causes of this error, you should first try profiling the example applications that ship with the profiler (Mandelbrot, for example). If the samples do not profile, then the error may be caused by an improperly-installed Visual C++ Runtime, which is a prerequisite of the Performance and Memory Profilers.

To solve this problem, please reinstall the Visual Studio 2005 C++ runtime and the required ATL update:

32-bit Windows: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647
64-bit Windows: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=eb4ebe2d-33c0-4a47-9dd4-b9a6d7bd44da
The ATL update for both 32 and 64-bit systems is available from:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=766a6af7-ec73-40ff-b072-9112bab119c2

Document ID: KB200912000449 Keywords: Memory,profiler,performance,coCreate

Was this article helpful?

Search support
Forums
Visit the ANTS Profiler forum.

ANTS Profiler

all products