Just tried profileing my Localhost Web Site Project, and got the following error....


The service 'W3SVC' cannot be stopped, as it is currently unable to accept control messages. Please close any other applications that might currently be attempting to control this service and try again.
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at bJ.Launch()
at RedGate.Profiler.Session.ProfilerSession.j()

Caused by:

The service 'W3SVC' cannot be stopped, as it is currently unable to accept control messages. Please close any other applications that might currently be attempting to control this service and try again.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at bQ.PerformLaunch()
at bJ.Launch()

Caused by:

The service 'W3SVC' cannot be stopped, as it is currently unable to accept control messages. Please close any other applications that might currently be attempting to control this service and try again.
RedGate.Profiler.Engine.Startup.IIS.IISException
stack trace:
at bA.b(String )
at bo.b()
at bo.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
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)
digiguru
0

Comments

1 comment

  • Alex D
    Hi digiguru,
    That error happens sometimes when your IIS service hasn't finished starting or stopping when it's asked to start or stop again. If it doesn't resolve itself on its own after a minute or two, try restarting the computer.

    If it continues to happen after a restart, let me know.

    Cheers,
    Alex
    Alex D
    0

Add comment

Please sign in to leave a comment.