Red Gate forums :: View topic - Access denied when connecting to w3wp process
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

Access denied when connecting to w3wp process

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
glenn1179



Joined: 01 Oct 2013
Posts: 2

PostPosted: Tue Oct 01, 2013 7:40 pm    Post subject: Access denied when connecting to w3wp process Reply with quote

Server 2003 attempting to connect to .NET 4 IIS worker process. I am running the exe as a local admin user. Below is the error log. How should I proceed?

01 Oct 2013 13:07:14.960 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Memory Profiler 7 session
01 Oct 2013 13:07:14.960 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 7.4.0.44
01 Oct 2013 13:07:21.257 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows Server 2003 Enterprise (5.2 32-bit Server)
01 Oct 2013 13:07:21.257 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
01 Oct 2013 13:07:21.507 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: True
01 Oct 2013 13:07:21.507 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is running.
01 Oct 2013 13:07:21.507 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is enabled.
01 Oct 2013 13:07:21.523 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 6 (Auto-detected)
01 Oct 2013 13:07:21.523 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Checks confirm that IIS is installed.
01 Oct 2013 13:07:31.227 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:31.399 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:31.414 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:31.461 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:31.477 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:31.492 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.430 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v2.0.50727
01 Oct 2013 13:07:33.446 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.477 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.524 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.539 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.711 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.727 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.743 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.805 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.821 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.868 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.899 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v2.0.50727
01 Oct 2013 13:07:33.930 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.961 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:33.993 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.008 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.555 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.586 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.602 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.649 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.680 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.696 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.727 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v2.0.50727
01 Oct 2013 13:07:34.743 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.774 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.805 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:07:34.821 [1] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Found runtime version v4.0.30319
01 Oct 2013 13:08:20.231 [8] WARN RedGate.Profiler.IISSupport.SharePointHelper - SharePoint version: none found (looking for 2010 or 2007 using registry keys)
01 Oct 2013 13:08:20.715 [6] INFO RedGate.Profiler.Engine.Logger - ANTS Memory Profiler Engine has started.
01 Oct 2013 13:08:20.715 [6] INFO RedGate.Profiler.Engine.Logger - Version: 7.4.0.44
01 Oct 2013 13:08:20.746 [6] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Listening for connections on \\.\pipe\AMP7.
01 Oct 2013 13:08:21.402 [29] INFO RedGate.Profiler.Engine.Startup.Basic.Attacher - Starting to attach to process ID 0x2e90
01 Oct 2013 13:08:21.465 [29] WARN RedGate.Profiler.Engine.Startup.Basic.Attacher - This process does not have the debug privilege
01 Oct 2013 13:08:21.481 [29] ERROR RedGate.Profiler.Engine.Startup.Basic.Attacher - Could not open target process
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
01 Oct 2013 13:08:21.574 [29] ERROR RedGate.Profiler.Engine.Startup.Sessions.BaseSession - Unhandled exception from session
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at ??.?.??(Int32 , IEnumerable`1 )
at ?.?.?()
01 Oct 2013 13:08:21.590 [29] ERROR RedGate.Memory.Controller.Session.ProfilerSession - Unexpected error occurred during profiling:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at ??.?.??(Int32 , IEnumerable`1 )
at ?.?.?()
01 Oct 2013 13:08:21.668 [6] FATAL RedGate.Memory.Controller.UIControllers.Error.ErrorController - Unhandled exception occurred in controller worker thread: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at ??.?.??(Int32 , IEnumerable`1 )
at ?.?.?()
--- End of inner exception stack trace ---
at ?.?.?(Object , ProfilerErrorEventArgs )
at RedGate.Profiler.Dispatch.EventExtn.?.??(IDispatchTask )
at ??.??.Dispatch(? )
01 Oct 2013 13:08:21.746 [1] ERROR RedGate.Memory.UI.TheUI - Exception has been thrown by the target of an invocation.
01 Oct 2013 13:08:21.746 [1] ERROR RedGate.Memory.UI.TheUI - Exception has been thrown by the target of an invocation.
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - System.Reflection.TargetInvocationException
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - at ?.?.?(Object , ProfilerErrorEventArgs )
at RedGate.Profiler.Dispatch.EventExtn.?.??(IDispatchTask )
at ??.??.Dispatch(? )
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - Caused by:
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - System.UnauthorizedAccessException
01 Oct 2013 13:08:21.762 [1] ERROR RedGate.Memory.UI.TheUI - at ??.?.??(Int32 , IEnumerable`1 )
at ?.?.?()
Back to top
View user's profile Send private message
glenn1179



Joined: 01 Oct 2013
Posts: 2

PostPosted: Tue Oct 01, 2013 8:05 pm    Post subject: Reply with quote

This process does not have the debug privilege.

That was the key to finding the fix. The admin user I was using didn't have debug right explicitly defined in the Local Security Policy. I found another user that did and this is now working.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 215

PostPosted: Wed Oct 02, 2013 8:33 pm    Post subject: Reply with quote

That's great to hear you were able to sort out the problem! And many thanks for posting your solution. Very Happy
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group