Options

Can't start ANTS Performance Profiler 9.8 (BadImageFormatException)

When starting ANTS Performance Profiler i'm getting this exception (found in the log files) and the application closes right after starting up.

28 May 2018 14:29:12.449 [15] ERROR RedGate.Profiler.Dispatch.TaskDispatch - Unhandled exception in 'Parallel queue'
System.BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
   at RedGate.Profiler.Engine.Startup.Attach.Attacher.ICLRMetaHost.EnumerateLoadedRuntimes(IntPtr hndProcess, IEnumUnknown& enumerator)
   at RedGate.Profiler.Engine.Startup.Attach.Attacher.StateForProcess(Int32 pid, IEnumerable`1& clrVersions)
   at RedGate.Profiler.Engine.Startup.Attach.ProcessEnumerator.<get_Processes>d__10.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at RedGate.Profiler.Engine.Startup.Attach.RemotableProcessEnumerator.get_Processes()
   at RedGate.Profiler.Logic.Controllers.Setup.ProjectType.AttachSource..ctor(IAttachProcessEnumerator processEnum, Boolean allProcesses)
   at RedGate.Profiler.Logic.Controllers.Setup.ProjectType.AttachSettingsController.<Initialize>b__4_0(IDispatchTask t)
   at RedGate.Profiler.Logic.Controllers.Setup.ProjectType.LongRunningOperationManager.<>c__DisplayClass7_0.<RunOperation>b__0(IDispatchTask t)
   at RedGate.Profiler.Dispatch.ParallelQueue.Do(Action`1 task, Task taskDefinition)

Answers

  • Options
    ErikPErikP Posts: 2 New member
    I want to profile at this moment and I'm very curious how to fix this.
  • Options
    vishnu4vishnu4 Posts: 4 New member
    Same here.

    An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) Type = System.BadImageFormatException Source = CoBRACommon at _ANTS_Managed_Begin_Async() at ....
Sign In or Register to comment.