Red Gate forums :: View topic - Failed to launch trigger process on startup on 2008 x64
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

Failed to launch trigger process on startup on 2008 x64

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jacobtbj



Joined: 27 Aug 2010
Posts: 2

PostPosted: Fri Aug 27, 2010 1:41 pm    Post subject: Failed to launch trigger process on startup on 2008 x64 Reply with quote

Hi,

I'm trying to start the ants memory profiler 6 on a windows 2008 x64 box and get the following error message after waiting a looong time (3-4 minutes)

Failed to launch trigger process.
System.InvalidOperationException
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 ?..??()

The machine is not connected to the internet so I can't use the 'Send to Red Gate...' button.

Any help is appreciated.

Thanks,

Jacob
Back to top
View user's profile Send private message
jacobtbj



Joined: 27 Aug 2010
Posts: 2

PostPosted: Tue Sep 07, 2010 1:48 pm    Post subject: Reply with quote

Just tried it on a different and completely clean 2008 x64 box and got the same error.

I guess the conclusion is that ANTS memory profiler doesn't work on this configuration? Sad

Regards,

Jacob
Back to top
View user's profile Send private message
AndrewH



Joined: 17 Aug 2006
Posts: 137

PostPosted: Thu Sep 09, 2010 3:15 pm    Post subject: Reply with quote

This configuration is supported: it's very similar to Windows Vista as far as the profiler is concerned.

I've just tried this on one of our VMs running 2008 x64 and I can't reproduce the problem you are having, either by running the profiler as an administrator or a restricted user. We're using the Enterprise edition, but it's not clear if that could make a difference here.

The trigger process is used for running tasks as different users and for attaching to processes running in WOW64. It's started automatically on 64-bit systems that have .NET 4 installed for this reason. The error you see occurs if it fails to contact the main UI after 30 seconds. It has been known to occur in our VMs if they are very heavily overloaded (as the process was taking more than 30 seconds to start)

The trigger process is not run if you don't have .NET 4 and don't perform any actions that require elevation. It communicates with the UI via an IPC pipe.

I'm assuming from your description that this problem is occurring before the 'start profiling' dialog is displayed (it's likely to be an elevation failure of some kind if it's happening later)

Are you running ANTS as an administrator or a restricted user?
If you're running as an administrator, is UAC turned on?
If you have task manager running while you're starting the profiler, do you see the RedGate.Profiler.Trigger process starting? Has it quit or is it still running at the point that ANTS displays the error?
If it's the _x86 variety of the trigger process, is it actually running as a 32-bit process? (This is a long shot, but if this was running 64-bit for some reason then you'd see this error)
_________________
Andrew Hunter
Software Developer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group