#175- Exception when starting profiling ASP.NET application

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=175
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.InvalidOperationException: Cannot stop W3SVC service on computer '.'. ---> System.ComponentModel.Win32Exception: The requested control is not valid for this service
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Stop()
at JetBrains.Profiler.ProfileeRunner.IISAdminRestarter.DoSoftRestart(IProgressIndicator i)
at JetBrains.Profiler.ProfileeRunner.IISAdminRestarter.DoHardRestart(IProgressIndicator i)
at JetBrains.Profiler.Utils.GreateProgressWindow.TaskWrapper(IProgressIndicator progress)
at JetBrains.ReSharper.Shell.Progress.TaskHelper.Run()
at JetBrains.ReSharper.Shell.Progress.AsyncTaskHelper.ThreadFunc()
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean)
at JetBrains.ReSharper.Util.Logger.LogException(Exception)
at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception)
at JetBrains.ReSharper.Shell.UIApplicationShell.CurrentDomain_UnhandledException(Object, UnhandledExceptionEventArgs)
at System.AppDomain.OnUnhandledExceptionEvent(Object, Boolean)
at System.ServiceProcess.ServiceController.Stop()
at JetBrains.Profiler.ProfileeRunner.IISAdminRestarter.DoSoftRestart(IProgressIndicator)
at JetBrains.Profiler.ProfileeRunner.IISAdminRestarter.DoHardRestart(IProgressIndicator)
at JetBrains.Profiler.Utils.GreateProgressWindow.TaskWrapper(IProgressIndicator)
at JetBrains.ReSharper.Shell.Progress.TaskHelper.Run()
at JetBrains.ReSharper.Shell.Progress.AsyncTaskHelper.ThreadFunc()

Please sign in to leave a comment.