| Author |
Message |
sicknote
Joined: 12 Oct 2011 Posts: 2
|
Posted: Wed Oct 12, 2011 11:46 pm Post subject: Memory Profiler Crash |
|
|
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 ??...ctor()
at ??...ctor()
at ..get_Processes()
at RedGate.Memory.Engine.Factory.SessionFactoryFactory.GetAttachEnumerator(Boolean elevated)
at .??..ctor()
at .?..ctor(? )
at ?.?..ctor( , ? , ? )
at ?..??()
When I try to launch directly from explorer it fails with the exception 'Unable to create mutex. (Exception from HRESULT: 0x80131464)' with the following stack trace, which is again fairly garbled:
Unable to create mutex. (Exception from HRESULT: 0x80131464)
System.IO.IsolatedStorage.IsolatedStorageException
at System.IO.IsolatedStorage.IsolatedStorageFile.nOpen(String infoFile, String syncName)
at System.IO.IsolatedStorage.IsolatedStorageFile.Lock()
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf)
at ???.???.?()
at ???.???.()
at ???.???.?(UInt32 )
at ???.??.??(UInt32 )
at ?.?.?(String )
at ?.?.(Object , EventArgs )
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnTextChanged(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnEditValueChanged()
at DevExpress.XtraEditors.PopupBaseAutoSearchEdit.OnEditValueChanged()
at DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e)
at DevExpress.XtraEditors.ComboBoxEdit.set_EditValue(Object value)
at ?.?..ctor()
at ..?()
at ...ctor()
at ..?()
at ...ctor()
at ?.?.?()
at ?.?..ctor()
at .??.?()
at .??..ctor()
at ..?()
at ...ctor()
at ..()
at ?..??()
Have tried various searches to fix this, and wondered if anyone had seen something similar. With a fix...
Also, there is nothing in event viewer, and log files in the app date folder are much the same as the stack traces above.
Cheers,
sicknote |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Thu Oct 13, 2011 11:29 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
sicknote
Joined: 12 Oct 2011 Posts: 2
|
Posted: Thu Oct 13, 2011 12:19 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Thu Oct 13, 2011 12:52 pm Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
develax
Joined: 16 Jul 2012 Posts: 1
|
Posted: Mon Jul 16, 2012 7:55 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
|