wilhol
Joined: 16 Jun 2008 Posts: 3
|
Posted: Tue Nov 23, 2010 11:02 am Post subject: Couldn't open the SC manager |
|
|
Hi,
I am trying to profile an ASP.NET 2 application on IIS 6 / Windows Server 2003 SP2 Enterprise Edition, using ANTS Performance Profiler 6.1.0.119.
The application must run under a named identity and on the original IIS port.
When I attempt to start the profiler, I get the following error:
| Code: |
Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at ..Launch()
at RedGate.Profiler.Session.ProfilerSession.?()
Caused by:
Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at ..()
at ..Launch()
Caused by:
Error stopping W3SVC
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at ?.?.??()
at ..??( )
at ..()
Caused by:
Error stopping W3SVC
RedGate.Profiler.Engine.Startup.IIS.IISException
stack trace:
at .?.()
at .?.StartProfilingIIS(String , String )
at RedGate.Profiler.Engine.Startup.IIS.IISStarter`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Profiler.Engine.Startup.IIISActuator`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
at ?.?.??()
Caused by:
Couldn't open the SC manager (5)
RedGate.Profiler.Engine.Startup.IIS.ServiceUtilitiesException
at .?.(String )
at .?.()
|
I have set up the ANTS profiling services to run under the named identity I require, and both I and the named identity are members of the local Administrators group. The named identity is a domain user (and we do not own the domain, as this is at a customer site).
I assume there is a permissions problem somewhere, but I cannot find anything on your website / documentation about what permissions are required.
Can you shed any light on this? |
|