Options

This session has invalid settings error when try to take memory snapshot

Currently deployed our application on  OS - Windows Server 2019 Datacenter. Trying to attach w3p.exe using ants and keeping getting "This session has invalid settings". Running the both ants and my application has admin.

 09 Feb 2022 20:29:43.927 [1] WARN  RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows Server 2019 Datacenter (10.0 64-bit Server)
09 Feb 2022 20:29:43.927 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
09 Feb 2022 20:29:43.942 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Exception occurred while trying to determine whether or not IIS admin service is running: Access is denied
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
   at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
   at System.Diagnostics.Process.get_MainModule()
   at RedGate.Profiler.IISSupport.Local.LocalIisInspector.IsInetInfoRunning()
09 Feb 2022 20:29:43.974 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: 
09 Feb 2022 20:29:43.989 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if W3SVC running: True
09 Feb 2022 20:29:43.989 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is running.
09 Feb 2022 20:29:44.005 [1] WARN  RedGate.Profiler.IISSupport.Local.LocalIisInspector - Exception occurred while trying to determine whether or not IIS admin service is running: Access is denied
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
   at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
   at System.Diagnostics.Process.get_MainModule()


Sign In or Register to comment.