Memory Profiler Crash

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

Memory Profiler Crash

Postby sicknote » Wed Oct 12, 2011 11:46 pm

Hi,

I'm trying to open ANTS Memory profiler and it fails to start. When trying to launch from Visual studio i get "Cannot find the trigger process executable" with the following stack trace:

The stack trace is ultimately garbage. Very little actual information is visible.

RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at .?.(TriggerFlags )
at ??.
sicknote
 
Posts: 2
Joined: Wed Oct 12, 2011 11:39 pm

Postby Brian Donahue » Thu Oct 13, 2011 11:29 am

Hello,

Yes, sorry the product does such a poor job of telling you what's wrong with it. The last time this happened, we just had the user run ANTS Memory Profiler "as administrator". The error message, as it exists, points you totally in the wrong direction. It's actually a problem accessing the isolated storage.

This should be in your user profile so should not require elevation, but we have had dozens of reports of Windows malfunctioning like this where it worked after applying an administrator SACL.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby sicknote » Thu Oct 13, 2011 12:19 pm

Hi,

Thanks for responding.

I have tried running the application as administrator, but receive the same [Cannot find the trigger process executable] exception.

What is the isolated storage, so I can locate it?

Any other potential solutions?

sicknote
sicknote
 
Posts: 2
Joined: Wed Oct 12, 2011 11:39 pm

Postby Brian Donahue » Thu Oct 13, 2011 12:52 pm

Isolated Storage is built into the OS. You're not going to be able to "fix" it.

The trigger process is a separate executable in the ANTS Profiler program folder that's designed to prevent you from having to run as administrator (which doesn't appear to be working anyway).

Maybe you need to reinstall, or maybe the same rights defect in Windows is preventing you from having access to the ANTS Memory Profiler program folder.

Anyway, if you can get it running by launching from Explorer and running as administrator, I'm willing to bet the process enumeration is failing because ANTS Memory Profiler assumes that the process handles are accessible to everybody, but in reality, some security programs (Kaspersky in particular) change the ACL on the process handle so only SYSTEM can access it. So you may want to try disabling Kaspersky or whatever anitvirus you use and try again.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby develax » Mon Jul 16, 2012 7:55 pm

I run into the same problem these days. To solve the problem go to c:\\Program Files\\Red Gate\\ANTS Memory Profiler 7\\ and run RedGate.MemoryProfiler.UI.exe as administrator. Running the shortcut the same way didn't help.
develax
 
Posts: 1
Joined: Mon Jul 16, 2012 7:52 pm


Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 1 guest