RedGate.AppHost.Client Error when launching ANTS

I have ANTS 9 installed and updated to 9.8, on windows 10 (v 1703, build 15063.726).
Every time I start up ANTS, I get a window saying that "RedGate AppHost has stopped working". Looking at the event log I see two errors, given below. Clicking "Close the program", the ANTS window stays open and I am able to successfully profile. Any assistance in resolving would be appreciated. I have tried to uninstall/reinstall and running as admin, with no effect.

Two errors given are.

Error 1:
Application: RedGate.AppHost.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at RedGate.Profiler.OoPCef.CefControl..ctor()
   at RedGate.Profiler.OoPCef.OutOfProcessEntryPoint..ctor()

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Activator.CreateInstance(System.Type, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at RedGate.AppHost.Client.Program.LoadChildAssembly(System.String)
   at RedGate.AppHost.Client.Program.MainInner(System.String, System.String)
   at RedGate.AppHost.Client.Program.Main(System.String[])

Error 2:
Faulting application name: RedGate.AppHost.Client.exe, version: 0.0.1.127, time stamp: 0x583571b8
Faulting module name: KERNELBASE.dll, version: 10.0.15063.726, time stamp: 0x32774c02
Exception code: 0xe0434352
Fault offset: 0x000ecbb2
Faulting process id: 0x2354
Faulting application start time: 0x01d3780e9808f972
Faulting application path: C:\Program Files\Red Gate\ANTS Performance Profiler 9\RedGate.AppHost.Client.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: a7234f4e-4edb-4fd0-8d44-6c58a36cfe6a
Faulting package full name: 
Faulting package-relative application ID: 
Tagged:

Answers

  • Hi @stanley123,

    We've seen this error once before and the issue was due to a missing file that should have been included with the Visual C++ Redistributable.

    The latest version of the profiler requires the Microsoft Visual C++ 2015 Redistributable or later - can you kindly try repairing this or installing it (both x96 and x64 versions) from here if it's missing?

    (Note: the Redgate.AppHost.Client.exe process is used to show you query execution plans, so you do not need the dll if you don't plan on using that feature, but we are happy to continue troubleshooting this either way!)

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.