Exception while loading PerformanceProfilerSettings.xml

Need help with the issues where new profiling session reports lots of errors and fails to restart IIS too.

Log details below.

04 Jul 2015 12:17:56.790 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Performance Profiler 9 session
04 Jul 2015 12:17:56.821 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 9.0.0.168
04 Jul 2015 12:18:02.508 [1] WARN RedGate.Profiler.Settings.PerformanceProfilerSettings - Exception while loading PerformanceProfilerSettings.xml...
04 Jul 2015 12:18:02.508 [1] WARN RedGate.Profiler.Settings.PerformanceProfilerSettings - Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9PerformanceProfilerSettings.xml'.
04 Jul 2015 12:18:02.508 [1] WARN RedGate.Profiler.Settings.PerformanceProfilerSettings - System.IO.FileNotFoundException
04 Jul 2015 12:18:02.508 [1] WARN RedGate.Profiler.Settings.PerformanceProfilerSettings - at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Settings.PerformanceProfilerSettings.()
04 Jul 2015 12:18:06.727 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Requesting registered installed browsers from reader.
04 Jul 2015 12:18:06.743 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Collating all registered installed browsers on the local machine.
04 Jul 2015 12:18:06.868 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Found registered browser 'Firefox'.
04 Jul 2015 12:18:06.868 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Found registered browser 'Internet Explorer'.
04 Jul 2015 12:18:06.868 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Local machine is 64bit; will check for any additional distinct browsers in the WOW6432Node.
04 Jul 2015 12:18:06.946 [1] WARN RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser'.
04 Jul 2015 12:18:06.946 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Default browser's install name found. Value: 'IEXPLORE.EXE'.
04 Jul 2015 12:18:07.946 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Unknown Windows Datacenter (6.3 64-bit Server)
04 Jul 2015 12:18:07.946 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
04 Jul 2015 12:18:07.977 [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.Process.get_MainModule()
at ?.?.()
04 Jul 2015 12:18:07.977 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running:
04 Jul 2015 12:18:08.009 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if W3SVC running: True
04 Jul 2015 12:18:08.024 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is running.
04 Jul 2015 12:18:08.024 [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.Process.get_MainModule()
at ?.?.()
04 Jul 2015 12:18:08.024 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running:
04 Jul 2015 12:18:08.024 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if W3SVC running: True
04 Jul 2015 12:18:08.024 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is enabled.
04 Jul 2015 12:18:08.040 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 7 (Auto-detected)
04 Jul 2015 12:18:08.040 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is installed.
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.415 [7] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects651b7ab4-2aaf-497a-8acc-81170f03b2f1.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects651b7ab4-2aaf-497a-8acc-81170f03b2f1.xml' because an I/O error occurred: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects651b7ab4-2aaf-497a-8acc-81170f03b2f1.xml'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects651b7ab4-2aaf-497a-8acc-81170f03b2f1.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:18:09.634 [26] WARN RedGate.Profiler.IISSupport.SharePointHelper - SharePoint version: none found (looking for 2013, 2010 or 2007 using registry keys)
04 Jul 2015 12:18:09.837 [25] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Starting trigger process E:Program FilesRed GateANTS Performance Profiler 9RedGate.Profiler.Trigger_x86.exe
04 Jul 2015 12:18:09.852 [27] ERROR RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities - The profiler tried to run "C:Windowssystem32inetsrvappcmd.exe list apppools " but got the error: "<?xml version="1.0" encoding="UTF-8"?>

<appcmd>

<ERROR message="Configuration error Filename: redirection.config Line Number: 0 Description: Cannot read configuration file due to insufficient permissions ." />

</appcmd>
" and exit code: 5
04 Jul 2015 12:18:10.055 [27] ERROR RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities - The profiler tried to run "C:Windowssystem32inetsrvappcmd.exe list sites" but got the error: "<?xml version="1.0" encoding="UTF-8"?>

<appcmd>

<ERROR message="Configuration error Filename: redirection.config Line Number: 0 Description: Cannot read configuration file due to insufficient permissions ." />

</appcmd>
" and exit code: 5
04 Jul 2015 12:18:10.219 [25] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Trigger process has connected
04 Jul 2015 12:18:10.223 [25] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - A suitable trigger process is now available
04 Jul 2015 12:18:10.441 [27] ERROR RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities - The profiler tried to run "C:Windowssystem32inetsrvappcmd.exe list apps" but got the error: "<?xml version="1.0" encoding="UTF-8"?>

<appcmd>

<ERROR message="Configuration error Filename: redirection.config Line Number: 0 Description: Cannot read configuration file due to insufficient permissions ." />

</appcmd>
" and exit code: 5
04 Jul 2015 12:18:10.771 [1] WARN RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser'.
04 Jul 2015 12:18:10.771 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Default browser's install name found. Value: 'IEXPLORE.EXE'.
04 Jul 2015 12:18:39.944 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.IisRunner - Initializing ASP.NET session, running on IIS
04 Jul 2015 12:18:39.944 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.IisRunner - Initializing IIS 7/7.5 session
04 Jul 2015 12:18:39.960 [34] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Starting elevated trigger process E:Program FilesRed GateANTS Performance Profiler 9RedGate.Profiler.Trigger_x64.exe
04 Jul 2015 12:18:40.491 [34] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - Trigger process has connected
04 Jul 2015 12:18:40.491 [34] INFO RedGate.Profiler.Engine.Startup.Trigger.TriggerServer - A suitable trigger process is now available
04 Jul 2015 12:18:40.678 [34] INFO RedGate.Profiler.Engine.Logger - ANTS Performance Profiler Engine has started.
04 Jul 2015 12:18:40.678 [34] INFO RedGate.Profiler.Engine.Logger - Version: 9.0.0.168.
04 Jul 2015 12:18:40.678 [34] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Listening for connections on \.pipeANTSProfiler7.
04 Jul 2015 12:18:40.725 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.IisRunner - IIS: Profiling application at https://127.0.0.1:443/funtoot
04 Jul 2015 12:18:40.725 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.IisRunner - IIS: Port is 8013
04 Jul 2015 12:18:41.397 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - Line-level blacklist alwaysApply="true"; applying blacklist
04 Jul 2015 12:18:41.397 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - Newtonsoft.Json is in the line-level blacklist file; excluding from line-level timing
04 Jul 2015 12:18:41.397 [34] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - log4net is in the line-level blacklist file; excluding from line-level timing
04 Jul 2015 12:18:41.428 [7] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - Launching session
04 Jul 2015 12:18:41.428 [7] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - Launch: Will request elevation
04 Jul 2015 12:18:41.428 [7] INFO RedGate.Profiler.Logic.Controllers.Session.Type.BaseRunner - Options: IL timings turned on
04 Jul 2015 12:18:41.600 [10] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - ANTS is running under a 64-bit version of Windows. 32-bit binaries were found in C:WindowsSysWOW64.
04 Jul 2015 12:18:41.663 [4] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - InetSrv directory is C:Windowssystem32inetsrv
04 Jul 2015 12:18:41.679 [10] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - InetSrv WOW64 directory is C:WindowsSysWOW64inetsrv
04 Jul 2015 12:18:41.694 [27] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - Trying to start the IIS profiler service
04 Jul 2015 12:18:41.710 [27] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - The IIS service appears to be registered; requesting that it start now
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects33cb144-8940-479b-8cba-43fcbc48aa70.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects7f789a35-206f-4df0-a905-8d3ddcffa5b3.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects508e866-9100-4b5c-a86a-449e38204e87.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects44f1ef5a-f72e-496a-84ce-2798159f793f.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjects243e670d-f6bc-451b-a6a1-5ce7fdbb5907.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.410 [33] ERROR RedGate.Profiler.Logic.Controllers.History.ProjectHistoryController - Could not load project from history C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml
RedGate.Profiler.Project.ProjectLoadException: Could not load project to 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml' because an I/O error occurred: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml'. ---> System.IO.FileNotFoundException: Could not find file 'C:UsersqauserAppDataLocalRed GateANTS Performance Profiler 9LastProjectsa0f9d21c-fae3-48a1-bd9a-74e0c3e08cff.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RedGate.Profiler.XmlPersist.XmlObjectLoader.Load(String filename)
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
--- End of inner exception stack trace ---
at RedGate.Profiler.Project.ProjectPersistenceHelper.LoadProject(String filename)
at ?.???.Refresh()
04 Jul 2015 12:19:20.582 [1] WARN RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserRegistryReader - Failed to find default browser install name in registry hive: 'CurrentUser'.
04 Jul 2015 12:19:20.582 [1] INFO RedGate.Profiler.Logic.Controllers.Session.FrontEnd.BrowserProvider - Default browser's install name found. Value: 'IEXPLORE.EXE'.

Comments

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi Prashant,

    Thanks for your posts and sorry to hear you're running into some issues with the profiler!

    Can I just make sure--does the profiler still start up despite the "could not find file" errors, and it is the IIS profiling that is unusable?

    It looks like the problem with IIS is likely permissions related-- can you kindly first try running the profiler explicitly as administrator (you need to press shift as you right-click to get the "Run as admin" option) to see if that allows the profiler to run "C:Windowssystem32inetsrvappcmd.exe list apps" successfully? Hopefully that may also resolve the "could not find file" errors as well, but please let me know how you get on!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.