When starting a new exe - Profiler crashes with error of missing shcore.dll

When starting Profiler 9, it crashes with error of missing shcore.dll.
This is the log:
--------------------------o---------------------
18 Feb 2019 11:21:36.994 [1] INFO  RedGate.Profiler.Logging.LogService - Starting new ANTS Performance Profiler 9 session
18 Feb 2019 11:21:37.010 [1] INFO  RedGate.Profiler.Logging.LogService - Assembly version: 9.8.0.272
18 Feb 2019 11:21:37.728 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__0()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.728 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__0()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.728 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__1()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.743 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__1()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.743 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__2()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.759 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__2()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.759 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__0()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.759 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__0()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.774 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__1()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.774 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__1()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.774 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__2()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:37.790 [SessionStartedUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.DllNotFoundException: Unable to load DLL 'Shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpiForMonitor(IntPtr hmonitor, Int32 dpiType, Int32& dpiX, Int32& dpiY)
   at RedGate.Usage.Client.Payload.SessionStarted.MonitorDpiInfoHelper.GetDpi(Screen screen, MonitorDpiType dpiType)
   at RedGate.Usage.Client.Payload.SessionStarted.DisplayDataSource.<>c__DisplayClass3_0.<GetDisplay>b__2()
   at RedGate.Usage.Client.Payload.PayloadDataSourceBase.GetDataSafely[T](Func`1 getData)
18 Feb 2019 11:21:41.394 [Redgate.Usage.AsynchronousUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.CreateRequest(String postBody)
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.PostJson(String body)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEventsAndGetResponse(IEnumerable`1 usageEvents)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEvents(IEnumerable`1 usageEvents)
18 Feb 2019 11:21:44.036 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Requesting registered installed browsers from reader.
18 Feb 2019 11:21:44.042 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Collating all registered installed browsers on the local machine.
18 Feb 2019 11:21:44.071 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Found registered browser 'Chrome'.
18 Feb 2019 11:21:44.079 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Found registered browser 'Internet Explorer'.
18 Feb 2019 11:21:44.082 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Local machine is 64bit; will check for any additional distinct browsers in the WOW6432Node.
18 Feb 2019 11:21:44.103 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser' via URL associations.
18 Feb 2019 11:21:44.105 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser'.
18 Feb 2019 11:21:44.107 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'LocalMachine' via URL associations.
18 Feb 2019 11:21:44.108 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Default browser's install name found. Value: 'IEXPLORE.EXE'.
18 Feb 2019 11:21:44.271 [1] WARN  RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows 7 Enterprise (6.1 64-bit)
18 Feb 2019 11:21:44.273 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
18 Feb 2019 11:21:44.296 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: False
18 Feb 2019 11:21:44.334 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if W3SVC running: False
18 Feb 2019 11:21:44.349 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks suggest that IIS does not appear to be running.
18 Feb 2019 11:21:44.349 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checking for existence of inetinfo.exe at 'C:\WINDOWS\system32\inetsrv\inetinfo.exe'
18 Feb 2019 11:21:44.349 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Unable to find inetinfo.exe
18 Feb 2019 11:21:44.349 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if W3SVC running: False
18 Feb 2019 11:21:44.349 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is not enabled.
18 Feb 2019 11:21:44.365 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 7 (Auto-detected) (Not verified) (Disabled)
18 Feb 2019 11:21:44.365 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is not installed.
18 Feb 2019 11:21:45.956 [Redgate.Usage.AsynchronousUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.CreateRequest(String postBody)
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.PostJson(String body)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEventsAndGetResponse(IEnumerable`1 usageEvents)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEvents(IEnumerable`1 usageEvents)
18 Feb 2019 11:21:49.727 [12] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Not launching trigger process
18 Feb 2019 11:21:49.743 [12] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Starting trigger process C:\Program Files (x86)\Red Gate\ANTS Performance Profiler 9\RedGate.Profiler.Trigger_x86.exe
18 Feb 2019 11:21:49.762 [10] WARN  RedGate.Profiler.Engine.Startup.IIS.IISUtilities - ENGINE - Guessing inetsrv path as C:\WINDOWS\system32\inetsrv
18 Feb 2019 11:21:49.792 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser' via URL associations.
18 Feb 2019 11:21:49.794 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser'.
18 Feb 2019 11:21:49.808 [1] WARN  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'LocalMachine' via URL associations.
18 Feb 2019 11:21:49.809 [1] INFO  RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Default browser's install name found. Value: 'IEXPLORE.EXE'.
18 Feb 2019 11:21:49.867 [14] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Previous trigger killed for flags ElevationDontCare, Bitness32, ElevationHigh
18 Feb 2019 11:21:49.869 [14] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Starting trigger process C:\Program Files (x86)\Red Gate\ANTS Performance Profiler 9\RedGate.Profiler.Trigger_x86.exe
18 Feb 2019 11:21:49.935 [13] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Previous trigger killed for flags ElevationDontCare, Bitness32, ElevationHigh
18 Feb 2019 11:21:49.937 [13] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Starting trigger process C:\Program Files (x86)\Red Gate\ANTS Performance Profiler 9\RedGate.Profiler.Trigger_x86.exe
18 Feb 2019 11:21:51.588 [12] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Trigger process has connected
18 Feb 2019 11:21:51.588 [12] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - A suitable trigger process is now available
18 Feb 2019 11:21:51.588 [14] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Trigger process has connected
18 Feb 2019 11:21:51.588 [14] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - A suitable trigger process is now available
18 Feb 2019 11:21:51.588 [13] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Trigger process has connected
18 Feb 2019 11:21:51.588 [13] INFO  RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - A suitable trigger process is now available
18 Feb 2019 11:21:55.363 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.363 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.379 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.550 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.550 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.566 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.659 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.659 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:55.675 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.361 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.361 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.361 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.455 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.455 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.471 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.658 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.689 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:56.689 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:57.671 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:57.694 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:57.695 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:58.818 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:58.849 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:58.865 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:59.146 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:59.146 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:21:59.177 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.316 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.347 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.363 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.519 [12] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.565 [14] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:00.597 [13] INFO  RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
18 Feb 2019 11:22:18.807 [15] INFO  RedGate.Profiler.Logic.Controllers.Session.Type.ExeSessionRunner - Initalizing exe session, profiling 'C:\Git_Work\tercelgui\bin\debug\BarCap.FXD.Tercel.Shell.exe'
18 Feb 2019 11:22:18.815 [Redgate.Usage.AsynchronousUsageApiClient] ERROR RedGate.Profiler.UI.RedGate.Usage - System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.CreateRequest(String postBody)
   at RedGate.Usage.Client.UsageApiClient.HttpClient.SimpleHttpClient.PostJson(String body)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEventsAndGetResponse(IEnumerable`1 usageEvents)
   at RedGate.Usage.Client.UsageApiClient.RetryingUsageApiClient.PostEvents(IEnumerable`1 usageEvents)
18 Feb 2019 11:22:18.844 [15] INFO  RedGate.Profiler.Engine.Logger - ANTS Performance Profiler Engine has started.
18 Feb 2019 11:22:18.846 [15] INFO  RedGate.Profiler.Engine.Logger - Version: 9.8.0.272.
18 Feb 2019 11:22:18.848 [15] ERROR RedGate.Profiler.Engine.Util.CoreHelper - Could not open the core DLL registry key.
18 Feb 2019 11:22:18.855 [15] ERROR RedGate.Profiler.Dispatch.TaskDispatch - Unhandled exception in 'Desktop session queue'
RedGate.Profiler.Engine.Exceptions.CoreDllNotRegisteredException: The profiler core DLL is not registered.
   at RedGate.Profiler.Engine.Util.CoreHelper.CheckCoreIsRegistered(CoreType coreType, Boolean failOnNetworkShare)
   at RedGate.Profiler.Engine.Startup.Trigger.RemoteFactory.CreateExeSession()
   at RedGate.Profiler.Logic.Controllers.Session.Type.ExeSessionRunner.CreateSession(ProjectSettings settings)
   at RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner.StartSession(ProjectSettings settings, IEngineDesktopSessionView view, ProfilerEdition edition)
   at RedGate.Profiler.Logic.Controllers.Session.DesktopSessionController.StartProfiling(ProjectSettings settings, Boolean userConfirmed)
   at RedGate.Profiler.Dispatch.SequentialQueue.Dispatch(QueueItem item)

Tagged:

Answers

  • Eddie DEddie D Posts: 1,803 Rose Gold 5
    Hi,  thank you for your forum post.

    The error you are experiencing indicates a missing shcore.dll, which is a Windows dll located on my test system in the following directories:
    C:\Windows\SysWOW64
    C:\Windows\System32

    Does the shcore.dll exist on the machine you are running Ants Performance Profiler upon?

    Many Thanks
    Eddie
    Eddie Davis
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
  • kps2681kps2681 Posts: 2 New member

    I don't have these dll's on my machine in these directories. Is that something that I can just copy this dll and the issue will be resolved or are there any dependent dll's for shcore.dll.


Sign In or Register to comment.